部变量 - 翻译成英语

local variable
部变 量
局部变 量
局部 变量
局部变量
本地 变量
地变 量
局部 变 量
local variables
部变 量
局部变 量
局部 变量
局部变量
本地 变量
地变 量
局部 变 量

在 中文 中使用 部变量 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
在局部变量范围内,声明另一个局部变量或同名常量是编译时错误。
Within the scope of a local variable, it is an error to declare another local variable or constant with the same name.
以下示例显示一个通过值捕获局部变量i并通过引用捕获局部变量j的lambda表达式。
The following example shows a lambda expression that captures the local variable i by value and the local variable j by reference.
上面定义了两个带有相同存储类,auto只能用在函数内,即auto只能修饰局部变量
The example above defines two variables with the same storage class. auto can only be used within functions, i.e. local variables.
这样,E就被重新归类为对该临时局部变量的一个引用。
E is then reclassified as a reference to that temporary local variable.
当bar调用foo时,第二个帧就被创建,并被压到第一个帧之上,帧中包含了foo的参数和局部变量
When bar calls foo, a second frame is created and pushed on top of the first one containing foo's arguments and local variables.
当一个局部变量被更内层的函数中使用的时候,它被内层函数称作upvalue(上值),或是外部局部变量
A local variable used by an inner function is called an upvalue, or external local variable, inside the inner function.
否则,你可能浪费了很多堆栈帧的资源,用于保存可能仅使用一些局部变量就可以实现的功能。
Otherwise, you might be wasting a lot of stack frames for something that might have been implemented using only a few local variables.
那么,在这里,我要将全部8个位读到一个局部变量中。
So here I'm going to read into a local variable all 8 bits.
我们不需要关注线程内操作(例如,添加两个局部变量并将结果存储在第三个局部变量中)。
We do not need to concern ourselves with intra-thread actions(e.g., adding two local variables and storing the result in a third local variable)..
在此例中,它将提供创建一个类字段i、一个局部变量i或一个方法参数i的建议;.
In this case, it will offer to create a class field i, a local variable i, or a method parameter i;
说明:如上实例定义了两个带有相同存储类的变量,auto只能用在函数内,即auto只能修饰局部变量
The example above defines two variables with the same storage class. auto can only be used within functions, i.e. local variables.
在此例中,它将提供创建一个类字段i、一个局部变量i或一个方法参数i的建议;.
In this case, it will offer to create a class field i, a local variable i, or a method parameter i;
为了使代码简洁易懂,建议在函数中主要使用局部变量和参数,而不是外部变量。
To make the code clean and easy to understand, it's recommended to use mainly local variables and parameters in the function, not outer variables..
在第一个代码示例中,a是一个main方法局部变量
In the first code sample, a is a main method local variable.
你可以手动编写自己的类来达到生成器的效果,把生成器的所有局部变量作为实例的成员变量存储起来。
You could achieve the effect of generators manually by writing your own class and storing all the local variables of the generator as instance variables..
过早地声明局部变量可能导致其范围不仅过早开始而且结束太晚。
Declaring a local variable prematurely can cause its scope not only to extend too early, but also to end too late.
函数的结果不依赖于非局部变量、参数的易变性或来自任何I/O流的数据。
The result does not depend on non-local variables, the mutability of arguments, or data from any I/O streams.
即使board是一个局部变量,makeMove()函数仍然修改了最初的列表。
Even though board is a local variable, the makeMove() function modifies the original list.
这允许局部变量比中心变量更大地波动,理论上允许了对参数空间更多的探索。
This allows the local variables to fluctuate further from the center variable, which in theory allows for more exploration of the parameter space.
给局部变量val1赋值不会影响局部变量.
The assignment to the field of the local variable val2 does not impact the field of the local variable val1.
结果: 223, 时间: 0.0238

顶级字典查询

中文 - 英语