local variable中文,local variable的意思,local variable翻译及用法

2026-04-13 16:04 浏览次数 18

local variable

英[ˈləukəl ˈvɛəriəbl]美[ˈlokəl ˈvɛriəbəl]

[计] 局部变量

local variable 片语

片语

local state variable weight局部状态变权

local state variable局部状态变权

local hidden variable theories局域隐变量理论

local state variable vector局部状态变权向量

actual local file variable[计]

local static variable本地静态变量

local hidden variable局域隐变量

local l variable局部变量

local variable 例句

英汉例句

  • overwriting a local variable that is near the buffer in memory of a given process「s virtual address space to change the behavior of the application.

    重写靠近缓沖区(保存给定进??的虚拟地址空间)的局部变量以更改应用程序的行为。

  • figure 10 shows an example of local variable use, where test variables are initialized by using values from a data pool (login credentials).

    图10显示了本地变量使用的范例,这里测试变量会使用来自数据汇(登录权限)的值来得到初始化。

  • in the first step, the customer number is copied to a local variable (1).

    在第一步中,客户编号被复制到一个本地变量 (1)。

  • the static local variable is interesting because the common language runtime (clr) does not support static variables inside a method.

    静态局部变量之所以非常令人感兴趣,是因为公共语言运行库 (clr)不支持方法内的静态变量。

  • you can declare a local variable simply by creating an expression containing only the name of the variable, and assigning a value to it.

    只需要创建一个仅包含变量名称的表达式,并为其指定一个取值,就可以声明一个局部变量。

  • 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.

    局部变量是一种仅能在声明该变量的代码片段中使用的变量。

  • 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位模式下重写局部变量更改给定进程的执行流程。

  • first of all, we are making use of the local variable storage space. we are saving the current parameter in 112(1).

    首先,我们使用了本地变量存储空间,另外,我们还会将当前参数保存到112(1) 中。

  • or, when editing code, type the expression first and use this refactoring to automatically create a new local variable to assign the result to.

    或者,在编辑代码时,先键入此表达式并使用这种重构自动创建一个新本地变量来指定表达式的结果。

  • furthermore, it makes it far more likely that one local variable will be reused for several different things, possibly unintentionally.

    此外,它会为多种不同的用途重用一个本地变量,有可能并非刻意而为。

  • in this case, it will offer to create a class field i, a local variable i, or a method parameter i; clicking on each of these suggestions will display the code that would be generated.

    在此例中,它将提供创建一个类字段i 、一个局部变量i或一个方法参数i 的建议;单击其中的每一个建议都会显示将要生成的代码。

  • a new local variable of the same type as the method」s return value is created for you.

    系统将为您创建与该方法的返回值类型相同的新局部变量。

  • the local variable storage area is a general-purpose area for saving function-specific data.

    本地变量存储区是用来保存函数专用数据的通用区域。

  • in this case, it will offer to create a class field i, a local variable i, or a method parameter i; clicking each of these suggestions will display the code that would be generated.

    在此例中,它将提供创建一个类字段i、一个局部变量i或一个方法参数i 的建议;单击其中的每一个建议都会显示将要生成的代码。

  • like a local variable declaration in many languages, a nested method is only visible inside the enclosing method.

    就像很多语言中声明局部变量一样,一个嵌套方法尽在方法内部可见。

  • 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.

    仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。

  • you'll also want to turn on the new option infer feature. this allows the compiler to infer local variable type declarations by evaluating the right-hand side of the expression.

    你也希望根据那些特性打开新的推断特性的选项,这允许编译器通过估计右值表达式去推测出局部变量的申明类型。

相关热词