这使得它成为了一个局部变量。
在64位模式下重写局部变量。
在32位模式下重写局部变量。
静态局部变量不是仅有的编译器技巧。
Static local variables are not the only compiler trick around.
静态局部变量会在方法调用之间保留它们的值。
Static local variables retain their value between method calls.
您经常需要调用方法并将其值赋给新局部变量。
You often need to call a method and assign its value to a new local variable. Eclipse makes this so easy that you'll never again assign locals the old way.
局部变量的生存期被限制为定义它的块的生存期。
The lifetime of a local variable is limited to the lifetime of the block in which it is declared.
在指令序列中使用仅引用一次的局部变量。
Using a local variable declared inside a sequence of instructions that is referenced only once.
这里的self标识符声明一个线程局部变量time。
Here the self identifier declares a thread local variable time.
系统将为您创建与该方法的返回值类型相同的新局部变量。
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.
所有简单类型的局部变量的值都会在这个buffer中显示。
All local variable that are simple types display their values in this buffer.
此字段将在GetMessage中保留静态局部变量i的值。
This field will hold the value of the static local variable I in GetMessage.
它包含了栈帧和局部变量,但与真正的线程不同的是它无法执行。
It includes stack frames and local variables, but unlike a true thread it is not executable.
每个局部变量的名称都对应着表单中相应输入域的name属性。
The name of each local variable corresponds to the name attribute of the respective input field in the form.
这种语法表示把所有局部变量通过引用传递给lambda函数。
This syntax implies that all local variables will be passed by reference to the lambda function.
和程序中的处理一样,还可以为局部变量分配空间(第 63行)。
You can also allocate space for local variables as is done in the program (line 63).
就像很多语言中声明局部变量一样,一个嵌套方法尽在方法内部可见。
Like a local variable declaration in many languages, a nested method is only visible inside the enclosing method.
你不需要提及任何一个局部变量,因为在这个地方,它们是不相关的。
You don't have to mention any of the local variables, because at this point in the story, they're just not relevant.
局部变量是一种仅能在声明该变量的代码片段中使用的变量。
A local variable is a variable that is only available for use within the snippet in which it is declared.
方法内部声明的变量叫做局部变量。这儿局部的意思是什么?
Variables declared within a method are said to be local variables. What is the significance of the word local in this context?
首先,它看起来与最初并不相同,它是对局部变量语义的一项重要更改。
First, although it doesn't look that way initially, this is a major change to the semantics of local variables.
方法内部声明的变量是局部变量,在方法外部是不能够使用的。
Variables declared with a method are local to that method and cannot be used outside of it.
想象一下,如果写了两个方法,每个都声明了一个局部变量,且名字一致。
Imagine writing two methods that each declare a locale variable with the exact same name.
是的,我可以在类中添加一个新的成员字段,并使用这个字段而不是局部变量。
Well, I could add a new member field to the class and use that instead of a local variable.
如果没有局部变量,所有事件处理程序实例都将在相同的全局变量实例上工作。
Without local variables, all event handler instances would work on the same global variable instances.
因为整个方法是一个块,所以我可以毫无问题地在正文中定义并且使用局部变量。
Because the entire body of the method is a single block, I can define and use local variables within the body without any problems.
定义局部变量要求使用此范围,以便每个事件处理程序实例都使用其自身的数据。
This scope is required to define local variables so that each event handler instance uses its own data.
使用Debug窗口中的Variables选项卡查看环境、全局和局部变量。
Use the variables TAB in the Debug window to examine environment, global, and local variables.
这些移位操作可以通过使用int和unsigned int的局部变量来避免。
These shifts can be avoided by using int and unsigned int for local variables.
应用推荐