局部变量

jú bù biàn liànɡ
  • local variable
局部变量局部变量
  1. 这里的self标识符声明一个线程局部变量time。

    Here the self identifier declares a thread local variable time .

  2. 每个局部变量的名称都对应着表单中相应输入域的NAME属性。

    The name of each local variable corresponds to the NAME attribute of the respective input field in the form .

  3. 所有简单类型的局部变量的值都会在这个buffer中显示。

    All local variable that are simple types display their values in this buffer .

  4. 在异常的catch子句中声明的局部变量的名称。

    The name of the local variable declared in the catch clause for the exception .

  5. 线程局部变量不能是ABSOLUTE

    Thread local variables cannot be ABSOLUTE

  6. 如果需要使用字段而非局部变量,可以选择Assignstatementtoanewfield。

    You can select Assign statement to a new field if you want to use a field instead of a local variable .

  7. 尽管C和C++编程人员都非常熟悉静态局部变量,但是C没有向前发展此功能。

    Although C and C + + programmers are familiar with static local variables , C # did not carry this feature forward .

  8. ExtractLocalVariable重构取出一段被直接使用的表达式,然后将这个表达式首先赋值给一个局部变量。

    The Extract Local Variable refactoring takes an expression that is being used directly and assigns it to a local variable first .

  9. 如果可能,局部变量要避免使用char和short。

    Where possible , it is best to avoid using char and short as local variables .

  10. 代码行xdebug.showlocalvars=1将打印每个函数调用的最外围中的所有局部变量,包括尚未初始化的变量。

    The line xdebug . show_local_vars = 1 prints all local variables in the outermost scope of each function call , including variables not yet initialized .

  11. 现在,我们可能已经在局部变量的计算上制造出了一个数据竞争(datarace),因为多个线程有可能要同时更新该变量。

    Now , we would have created a data race on the local variable sum , because multiple threads might want to update it simultaneously .

  12. 在反复访问的地方使用局部变量存放DOM引用。

    Use local variables to store DOM references you 'll access repeatedly .

  13. 静态局部变量在.NET以前的VisualBasic版本中就已经推出,因此存在此功能大概就是为了简化旧式代码的移植。

    Static locals were available in versions of Visual Basic before . NET , so presumably this feature is present to simplify the porting of legacy code .

  14. 要把BASIC程序变为C程序,就需找出BASIC程序中那些可在C函数中用局部变量表示的变量。

    Based BASIC program is turned to C program ; we need find those variables in based BASIC program that are expressed as local variables in C program .

  15. 使用Debug窗口中的Variables选项卡查看环境、全局和局部变量。

    Use the Variables tab in the Debug window to examine environment , global , and local variables .

  16. 查看locals(局部变量)buffer,你会看到局部变量n的值为4。

    Look at the locals buffer , and you can see that the value of the local variable n is4 .

  17. 设计并实现了一个面向教学的类C编译器,支持全局或局部变量的定义、函数参数传递和函数递归调用。

    Designing and implementing a teaching-oriented C-like compiler , which supports the definition of local and global variables , function parameters , as well as recursive call of functions .

  18. 因为CLR不支持静态局部变量,所以VisualBasic编译器必须执行一些额外的工作才能使该程序成功。

    Since the CLR does not support static locals , the Visual Basic compiler must do additional work to make the program successful .

  19. 因此,由于status变量是一个局部变量,所以它不会显示在全局变量列表中,供业务状态机中其他代码片段使用。

    Therefore , because it is a local variable , the status variable will not display in the list of global variables for use in other snippets within a business state machine .

  20. 因为Python并不完全支持局部变量,你不得不创造一种数据结构,来接受n的值。

    Because Python doesn 't fully support lexical variables , you have to create a data structure to hold the value of n.

  21. 对于char和short类型,编译器在每次分配空间以后,都要将这种局部变量的尺寸减少到8位或16位。

    For the types char and short , the compiler needs to reduce the size of the local variable to8 or16 bits after each assignment .

  22. 什么是线程局部变量(thread-localvariable)?

    What is a thread-local variable ?

  23. 这些移位操作可以通过使用int和unsignedint的局部变量来避免。

    These shifts can be avoided by using int and unsigned int for local variables .

  24. 如果这成为问题,Stephen建议一旦不再需要那些局部变量就应显式地把它们设置为空引用。

    If this becomes a problem Stephen recommends explicitly nulling out locals as soon as they are no longer needed .

  25. 内部类(以及lambda表达式)的一个限制是,它们仅能从其词法作用域引用final的局部变量。

    One limitation of inner classes and lambda expressions too is that they can only refer to final local variables from their lexical scope .

  26. 这可能包含所有激活的线程堆,每个线程的所有帧,而且最重要的是,还包括这些帧中激活的部分或全部的Java局部变量。

    This can include all active threads stacks , all of the frames for each thread , and most important , some or all of the active Java locals on those frames .

  27. 这种语法表示把所有局部变量通过引用传递给lambda函数。

    This syntax implies that all local variables will be passed by reference to the lambda function .

  28. 在这个类中关键字def被作为局部变量修饰符使用。

    In this class the keyword def is being used as a local variable modifier .

  29. 这个计算器利用local语句将x声明为局部变量,只能在mycalc函数的范围内使用。

    The calculator makes use of the local statement to declare x as a local variable that is available only within the scope of the mycalc function .

  30. 在scratch中所介绍的变量,这里有一个全局变量和局部变量概念,但是scratch中有不同的叫法。

    So variables you were introduced to in scratch , and there was this idea of global and local variables , but scratch called them something a little different .