这就是递归函数是如何保证其他活动函数调用中的变量值不受影响的。
This is how recursive functions keep from trashing the values of the variables in other, active function calls.
在碰到退出函数时,当前的活动函数就会返回,并释放栈顶元素。
When an exit address is encountered, the current active function has returned and the top element on the stack is discarded.
当进行调试时,当前处于调用堆栈上的任何函数都是活动函数。
When you are debugging, any function currently on the call stack is an active function.
栈顶的地址就代表最后一次被调用的函数(也就是当前的活动函数)。
The address at the top of the stack represents the function that was last called (that is, the active function).
取样是一种分析方法,它定期对相关进程进行轮询,以确定活动函数。
Sampling is a profiling method by which the process in question is periodically polled to determine the active function.
获取一个由COR_ACTIVE_FUNCTION实例构成的数组,这些实例包含有关线程帧中的活动函数的数据。
Gets an array of COR_ACTIVE_FUNCTION instances that contain data about the active functions in a thread's frames.
活动记录包含了这个函数的所有与调用有关的数据,包括参数和本地变量。
The activation record contains all of the call-specific data for the function, including parameters and local variables.
这对函数了解自己的活动记录在什么地方提供了方便——它们可以使用堆栈指针的形式简单地进行定义。
This makes it easy for functions to know where their activation record is — they are simply defined in terms of the stack pointer.
直到函数调用彻底完成 时,活动记录使用的空间才会被释放以便重用(更多信息请参看后面的介绍)。
Only when the function call is completely finished is the space for the activation record released for reuse (more on this later).
这个Python活动创建两个方法,第一个是click,它是一个回调函数,在按钮被单击时调用。
This Python activity creates two methods. The first, click, is a callback function that is called when the button is clicked.
我们将讨论其他的性能监控和调优技术、Design Advisor的使用、活动监控器、表快照函数和其他工具。
We will discuss other performance monitoring and tuning techniques, and the use of the Design Advisor, the activity monitor, table snapshot functions, and other tools.
该活动的 onCreate方法可以引用SensorManager,其中包含所有与传感器有关的函数。
The onCreate method of the activity gets a reference to the SensorManager, where all sensor-related functions take place.
成功连接上链接后,db 2将返回一个连接处理资源,该资源一直处于活动状态直至使用db2_close函数将其关闭。
Once the link is successfully connected, db2 returns a connection handle resource that remains active until it is closed using the db2_close function.
通过添加和删除btnActiveCSS类还突出了这些函数内的活动按钮,这可以将边界颜色更改为白色。
You also highlight the active button in these functions by adding and removing the btnActive CSS class, which changes the border color to white.
首先向global . js文件添加两个函数,用于设置活动名字段并显示一行活动信息。
Begin by adding two functions to the global.js file to set the activity name field and display a row with the activity's information.
正如您可以看到的一样,挂起的函数的活动记录“压入堆栈”,然后在每个函数返回时,就从堆栈中弹出。
As you can see, the suspended function activation records "stack up", and then, when each function returns, it gets taken off of the stack.
如果一个函数正在执行,那么堆栈指针就会指向整个堆栈的顶部,这也是该函数活动记录的顶部。
If a function is executing, then the stack pointer is pointing to the top of the whole stack, which is also the top of that function's activation record.
将Terminate活动从事件处理程序移到fault处理函数,因为抛出操作之后的活动将不会到达(图16)。
Move the Terminate activity from the event handler to the fault handler because the activities after the throw activity will not be reached (Figure 16).
再也不需要活动记录(activation record),所以我们将删掉它,并将尾部调用的函数重定向返回到调用我们的函数。
The activation record isn't needed anymore, so we are going to cut it out and redirect the tail-called function back to the function that called us.
因为每次只能有一个未捕获的处理程序处理一个活动进程,构造函数应该只被调用一次,因此要采用singleton模式。
Since there can be only one un-caught handler per process active at a time, the constructor should be invoked only once; hence, the reason for the singleton pattern.
若在一个含有垃圾回收器功能的活动堆栈上发生崩溃,应查询代码中的PInvokes函数,查是否因缓冲区太小而发生穿越行为。
If you get a crash and the top of the active stack contains a GC function, start looking for PInvokes in your code and see if you might be passing buffers that are too small.
在长时间运行的程序中,最好创建一个Timer守护线程(使用带有指示守护线程状态的参数的构造函数),从而它不会让VM活动。
In a long-running program, the Timer is probably best created as a daemon thread (using the constructors that take a Boolean parameter to indicate daemon status), so it won't keep the VM alive.
在生产活动和科学技术分析中,需要一些常用的简单初等函数来拟合经验公式。
In productive activity and scientific analysis, some common simple primary functions are used to fit empirical equation.
本文还给出了一种简练的函数构造法,用该方法构造的函数能较好地逼近活动工期概率密度函数,方便了对计划网络图的计算机仿真运算。
It also gives a construction approach for approximating the probability density function of activity duration, which will facilitate the computer simulation of the PERT diagram.
危险性是灾害规模和发生概率的函数,反映灾害的活动程度和破坏能力;
The hazard is a function of scale and probability of disaster occurrence, reflects activity degree and damage capability of disaster.
函数的作用是:关闭一个活动的FTP连接。
主要包括模型的描述方法,模型的能量函数组成,能量最小化方法以及活动轮廓模型在应用中的局限之处。
It includes the representation of the model, the composition of the model's energy function and it's minimum, and the limitations in application.
而对于引起状态迁移的接口事件,则可以通过对象类中的成员函数来完成,成员函数体的主要功能就是实现状态迁移中发生的一系列活动。
The member functions of an object are the interface events that trigger state transitions, and actions associated with state transitions constitute the body of the member functions.
在通过另一个活动调用此关系图表示的活动时使用,或在此关系图描述操作或函数时使用。
Used when the activity represented by the diagram is called from another activity, or when the diagram describes an operation or function.
在通过另一个活动调用此关系图表示的活动时使用,或在此关系图描述操作或函数时使用。
Used when the activity represented by the diagram is called from another activity, or when the diagram describes an operation or function.
应用推荐