So, in this function, we are using the back chain pointer, the link register save area, and one local variable.
所以,在这个函数中,我们使用了回链指针、链接寄存器保存区和一个本地变量。
Well, I could add a new member field to the class and use that instead of a local variable.
是的,我可以在类中添加一个新的成员字段,并使用这个字段而不是局部变量。
If you open the connection from within a function, and only store the variable in a local variable, the connection will be closed when that function returns.
如果在一个函数中打开连接,并且只将句柄存储在一个本地变量中,那么当函数返回时,连接将被关闭。
Or, when editing code, type the expression first and use this refactoring to automatically create a new local variable to assign the result to.
或者,在编辑代码时,先键入此表达式并使用这种重构自动创建一个新本地变量来指定表达式的结果。
This makes it a local variable.
这使得它成为了一个局部变量。
Like a local variable declaration in many languages, a nested method is only visible inside the enclosing method.
就像很多语言中声明局部变量一样,一个嵌套方法尽在方法内部可见。
Given the runtime overhead in using a static local variable, it would be wise for you to avoid the feature in current designs.
由于运行库在使用静态局部变量时有开销,因此您最好避免在当前设计中使用该功能。
You can declare a local variable simply by creating an expression containing only the name of the variable, and assigning a value to it.
只需要创建一个仅包含变量名称的表达式,并为其指定一个取值,就可以声明一个局部变量。
Now let's talk about how a given process's execution flow can be changed by overwriting a local variable in 64-bit mode.
现在让我们讨论一下,如何通过在64位模式下重写局部变量更改给定进程的执行流程。
The static local variable is interesting because the common language runtime (CLR) does not support static variables inside a method.
静态局部变量之所以非常令人感兴趣,是因为公共语言运行库(CLR)不支持方法内的静态变量。
A new local variable of the same type as the method's return value is created for you.
系统将为您创建与该方法的返回值类型相同的新局部变量。
This section discusses how a given process's execution flow can be changed by overwriting a local variable.
本节将讨论如何通过重写局部变量更改给定进程的执行流程。
Figure 10 shows an example of local variable use, where test variables are initialized by using values from a data pool (login credentials).
图10显示了本地变量使用的范例,这里测试变量会使用来自数据汇(登录权限)的值来得到初始化。
Furthermore, it makes it far more likely that one local variable will be reused for several different things, possibly unintentionally.
此外,它会为多种不同的用途重用一个本地变量,有可能并非刻意而为。
The name of each local variable corresponds to the name attribute of the respective input field in the form.
每个局部变量的名称都对应着表单中相应输入域的name属性。
A local variable is a variable that is only available for use within the snippet in which it is declared.
局部变量是一种仅能在声明该变量的代码片段中使用的变量。
Declare arrays whose length is a local variable, but don't try to go much further.
可以声明长度为本地变量的数组,但是就到此为止吧。
Next time you need to generate the declaration of a local variable, you can go back to this source and use it as reference.
下一次需要生成本地变量的声明时,您可以回到此源,并以此为参考。
That code block does nothing but increment the value of the local variable and return it.
代码段做的事就是增加本地变量的值并返回。
The lifetime of a local variable is limited to the lifetime of the block in which it is declared.
局部变量的生存期被限制为定义它的块的生存期。
Watch the variables being used in a function. If you notice a function using an out-of-scope variable more than once, store it in a local variable and use that instead.
仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。
All local variable that are simple types display their values in this buffer.
所有简单类型的局部变量的值都会在这个buffer中显示。
This field will hold the value of the static local variable I in GetMessage.
此字段将在GetMessage中保留静态局部变量i的值。
Overwriting a local variable in 32-bit mode.
在32位模式下重写局部变量。
Overwriting a local variable in 64-bit mode.
在64位模式下重写局部变量。
Here the self identifier declares a thread local variable time.
这里的self标识符声明一个线程局部变量time。
In this class the keyword def is being used as a local variable modifier.
在这个类中关键字def被作为局部变量修饰符使用。
Reusing one local variable for several logically different values or objects is bug-prone.
为多个逻辑上不同的值或对象重用一个本地变量容易导致bug。
The SimpleJNDI servlet stores the datasource name (jdbc/SimpleDB) in a local variable.
SimpleJNDIservlet 将数据源名称(jdbc/SimpleDB )存储在一个局部变量中。
LCL_NUM_VALUE is the stack offset of the local variable num.
LCL_NUM_VALUE是本地变量num的堆栈偏移量。
应用推荐