There are some environmental variables you can tune to increase performance on the scheduler, which are out of scope on this article.
您可以优化某些环境变量来提高调度程序的性能,但这已超出本文的论述范围。
If you scope variables appropriately and reduce the use of instance variables, you can reduce this kind of object retention.
如果您适当地限制了变量的范围并且减少实例变量的使用,则可以减少此类对象保留。
We'll revisit scope activities when we discuss variables, correlation sets and each type of handler later in the article.
在文章的稍后部分中讨论变量、相关集和每种类型的处理程序时,我们还会提到范围活动。
We'll see below that it is useful to define a scope as a direct child of an event handler in order to have scoped variables that are local to the event handler instance.
我们将在下面了解到,为了获得事件处理程序实例的已确定范围的局部变量,可以将活动的范围定义为事件处理程序的直接子项。
A scope activity can contain more scope activities within it, so activities within a scope can also access variables of all enclosing scopes.
范围活动可以在其内部包含多个范围,因此范围中的活动也可以访问所有封闭范围的变量。
By just changing the scope of these variables, you can reference them in other tests that use the same login information.
通过更改这些变量的值,您可以在使用相同登录信息的其他测试中引用它们。
Assignment expressions are shown with opaque actions, where the name of the action contains an assignment expression that references variables, parameters, and structural features in scope.
分配公式通过不透明行动被显示,在那里行动的名称包括一个反映参考变量、参数、结构特性的分配公式。
A closure "closes around" these references, so the function invocation can safely refer to the variables even when the variables have gone out of scope!
一个闭包封闭了这些引用,所以函数调用可以安全的引用这些变量,即使它们已经超出了函数的作用域。
Using a long-running conversation allows variables to remain in scope until the end of the conversation, instead of merely for a single request.
使用长期运行的对话,允许变量保持作用域直至对话结束,而不仅仅是单个请求。
There are additional problems with volatile and the atomicity of 64-bit variables, but this is beyond the scope of this article.
使用volatile和64位变量的原子数还有另外一些问题,但这已超出了本文的讨论范围。
It is a powerful feature of closures that - regardless of where they are defined-they can be called later, from anywhere, and executed with their use-specified variables still in a valid scope.
这是closures的强大功能—不管它们是在哪里定义的—它们可在以后从任何地方调用,并与其使用指定的,仍然位于有效范围内的变量一起执行。
Import the WebSphere variables of the target system into an variable.xml file at the cell scope.
在单元范围内将目标系统的WebSphere变量导入到variable .xml文件中。
That is, a closure is an anonymous function that, when created, attaches to itself the value of variables from the scope of the code that created the function.
就是说,closure是个匿名函数,在其创建时,将来自创建该函数的代码范围内得变量值附加到它本身。
Instead of using a leading capital letter, Vimscript functions can also be declared with an explicit scope prefix (like variables can be, as described in Part 1).
Vimscript函数没有使用前导大写字母,相反,可以使用显式的范围前缀声明函数(类似变量,如第1部分所述)。
At the very bottom is a list of variables in scope #48, which is a call to deep_end(), according to the manifest.
最底部是 #48范围中的变量列表,这是根据清单对 deep_end() 进行的调用。
One limitation of inner classes - and lambda expressions too - is that they can only refer to final local variables from their lexical scope.
内部类以及lambda表达式一个局限性是——它们只引用来自它们的词法作用域的最终(final)局部变量。
This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class.
Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。
There are five types of scope that these three types of variables can have, depending on how and where they are declared.
根据声明这些变量的方式及位置,这三类变量有以下五种作用域。
This is bug-prone because variables can get reused outside of the scope in which they were intended to be used.
这容易导致 bug,变量可能会在其目标作用域之外被重用。
In almost all browsers, local variables are faster for both reading and writing than out-of-scope variables including globals. You can take advantage of this knowledge in several ways.
在所有的浏览器下,访问局部变量都比访问跨作用域的变量要快,当然也包括全局变量。
The basics of Programming (variables, data types, references, pointers, scope, error handling, iteration, core algorithms - searching, sorting, etc.)
编程基础(变量,数据类型,引用,指针,作用域,错误处理,迭代,核心算法-搜索,排序等)
In order to answer this question, I set up a series of tests using variables of different scope-depth.
为了回答这个问题,我模拟了一系列的测试,来测试不同作用域深度中变量的性能。
In comparison, a long-running conversation holds variables in scope over a well-defined series of requests.
相比之下,长期运行的对话能够在一系列明确定义的请求期间保持作用域中的变量。
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.
仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。
The line xdebug.show_local_vars = 1 prints all local variables in the outermost scope of each function call, including variables not yet initialized.
代码行 xdebug.show_local_vars =1将打印每个函数调用的最外围中的所有局部变量,包括尚未初始化的变量。
These 'my variables' are sometimes called' lexical 'because their scope depends only on the program text itself, and not on details of execution, such as what gets executed in what order.
my变量有时也叫做词法变量,因为它们的作用域仅仅依赖于程序文本自身,不依赖于执行细节,例如以什么顺序来执行什么。
It is very difficult to extract this value during development. Although mostly academic, the syntax of the Portlet scope variables is.
在部署过程中提取此值非常困难。
Declarations of variables and functions at file scope are external by default.
默认情况下,在文件域中声明变量和函数是外部的。
The scope of global variables can be restricted by carefully placing the declaration.
全局变量的范围可以通过仔细放置声明的限制。
The scope of global variables can be restricted by carefully placing the declaration.
全局变量的范围可以通过仔细放置声明的限制。
应用推荐