Questions tagged [runtime]
Runtime is the time during which a program is running (executing)
runtime
7,855
questions
-4
votes
0
answers
94
views
Python set is faster than cpp set
Working with cpp std::unordered_set, I noticed running time is much longer than I expected. Comparing it to Python brings those suprising results:
C++:
#include <iostream>
#include <chrono>...
0
votes
0
answers
5
views
(runtime error 424)a macro that that can solve this
when I run this it keeps on showing (runtime error 424 object required). please help me correct this.
Sub Nextmonth()
If ActiveSheet.Range("A3").Value = 12 Then
Exit Sub
Else:
Range(&...
0
votes
1
answer
55
views
Why doesn't enqueueing messages in Erlang require a lock?
The Erlang runtime does attempt to take the lock of another running process if it is available, but it seems perfectly able to manipulate parts of the recieving process without taking the process's ...
0
votes
0
answers
13
views
getting the jacoco.exec file as 0kb , nothing capture in the exec file . Nothing capture in jacoco.exec
I started my application with jacocoagent like this
start.sh file :(start.sh & jacocoagent & application.jar present in same location)
export JAVA_OPTS="-javaagent:jacocoagent.jar=...
0
votes
0
answers
16
views
How do I call Windows functions from EDK2?
I made a DXE_RUNTIME_DRIVER in EDK2. It hooks the gRT->Setvariable function, which I use to communicate with the driver from Windows (by setting a NVRAM variable, which sends data to the hooked ...
0
votes
0
answers
59
views
Microsoft.AspNetCore.Server.Kestrel.Core vulnerability issue - fix
what is the latest version of "Microsoft.AspNetCore.Server.Kestrel.Core" in the series of 6 like Version="6. * . *" In nuget gallery it is not available any thing later than v2.2.0
...
-2
votes
1
answer
61
views
Java check the return type of a function in runtime [closed]
Is there a way in Java for us to know what the return type of a function is in runtime? I need to write a piece of code that is goig to modify certain statements in a java source file and wrap them in ...
0
votes
0
answers
9
views
Fortran runtime error: Bad value value during integer read
Error is:
At line 124 of file calib3.f (unit = 17, file = './temp.clean')
Fortran runtime error: Bad value during integer read
Error termination. Backtrace:
Could not print backtrace: libbacktrace ...
0
votes
0
answers
71
views
Classes created at runtime suddenly missing properties. Using VB.net in Visual Studio
Something bazzar just happened while I was working on a project.
Some of the classes I declare at runtime started to error. In my case, the TextBox and the ComboBox.
It is not a coding error for sure,...
2
votes
0
answers
78
views
What is the Time Complexity of a function if there is an upper limit to the variable
I have the following piece of code.
void foo(int n){
n=n*n;
for (int i=0;i<n;i++){
if(n<10)
cout << i;
else
break;
}
}
Now I wanted to ask if the time complexity ...
0
votes
0
answers
22
views
Writing to memory in Windows with DXE_RUNTIME_DRIVER gives bluescreen
I want to make a DXE_RUNTIME_DRIVER with EDK2 that hooks gRT->SetVariable so I can write stuff to memory by setting NVRAM variables through Windows (NtSetSystemEnvironmentValueEx). It always gives ...
1
vote
1
answer
60
views
Java/Kotlin Heap Size
I'm trying to understand the space objects take up in memory in the heap when initialized, but I can't find definitive information on this, so my question is given these 2 examples, with 3 classes ...
0
votes
0
answers
85
views
Call aws bedrock agent
There are converse and converse_stream in boto3 bedrockruntime, but why is there only invoke_agent in bedrock-agent-runtime? Should I just use this? Or is there another way to call the agent? I would ...
0
votes
1
answer
22
views
Disabling/Archiving a specific python file from executing when I run Flask
So lets say I have multiple python files in the src directory for my Flask application, say
src/
file1.py
file2.py
file3.py
file4.py
My application uses some optional Machine learning ...
1
vote
1
answer
33
views
How to implement ordered fan-in (proper message passing for my language)?
I'm the creator of https://github.com/nevalang/neva
It's a dataflow programming where you have nodes that do message passing through ports. I use go channels to implement that. However, I faced an ...