这包括通用文本替换系统,以及领域特有的程序和函数生成器。
This included generic textual-substitution systems, as well as domain-specific program and function generators.
当需要使用sap函数生成器中显示的参数名称时,请选中useFieldNametogenerateattributes(图5)。
When you want to use the parameter name as it is shown in the SAP function builder, select use Field name to generate attributes (Figure 5).
相反,编写一个函数,当调用它时,返回生成器。
Instead, one writes a function that, when called, returns a generator.
用于在INSERT和UPDATE操作中构造索引键的键生成器函数。
Key generator function to construct index key during INSERT and UPDATE operations.
实际上,稍加实践之后,就可以象普通函数那样容易地使用生成器。
In fact, after very little practice, generators seem as obvious as ordinary functions.
剩下的任务是验证键生成器和范围生成器函数是否能正常地运行。
The remaining task is to verify the proper functioning of the key generator and range producer functions.
您可能会纳闷为什么这些都是作为代码生成器实现的,而不是作为函数实现的。
You may wonder why these are implemented as code generators instead of as functions. There are several reasons.
有几个版本中已出现了在函数体中用yield语句定义的生成器。
For several versions, we have had generators defined with the yield statement in a function body.
清单9 中所示对话管理器生成器的目标是构建一个类似于 清单 4中的 dm()函数。
The goal of the dialog manager generator shown in Listing 9 is to build a dm() function similar to Listing 4.
这可能看起来有点古怪,但“函数工厂”是Python的常见特性,并且“生成器工厂”明显是这个概念性扩展。
This might seem odd, but "function factories" are a familiar feature of Python, and "generator factories" are an obvious conceptual extension of this.
关于键生成器函数的信息可以通过db2look工具或直接从db 2编目视图获得。
The information about the key generator function can be gathered with the db2look tool or directly from the db2 catalog views.
CwMtx没有内置的随机数生成器,也没有用随机元素填充矩阵的类函数。
CwMtx has no built-in random number generator, and there is no class function that fills a matrix with random elements.
在Python 2.2 +中使函数成为生成器工厂是它主体某处的一个或多个yield语句。
What makes a function a generator factory in Python 2.2 + is the presence of one or more yield statements somewhere in its body.
他接下来将这个函数应用在斐波那契数列生成器上。
当然,map()函数、列表内涵(list-comprehension)和最近的生成器内涵(generator-comprehension 都可以让您实现elementwise应用。
Certainly the map() function, list-comprehensions, and more recently generator-comprehensions, let you do elementwise application.
用于定义在查询执行期间空间索引的搜索范围的范围生成器函数。
Range producer function to define the search ranges for the spatial index during query execution.
生成器是这样一个函数,它记住上一次返回时在函数体中的位置。
A generator is a function that remembers the point in the function body where it last returned.
在某些方面,生成器就象本专栏前面文章讨论的函数型编程中的“终止”(参见参考资料)。
In some ways, a generator is like the closures which were discussed in previous installments of this column discussing functional programming (see Resources).
但是,它是免费的且它的发布受gnuLGPL许可证的保护,所以如果您愿意的话,您有创建这些(生成器和类函数)的自由。
But because it's free and released under the GNU LGPL license, you have the freedom to create these if you'd like.
下次调用生成器时,它再接着上次的位置 —包括函数流和变量值这两个方面。
Next time the generator is called, it picks up where it left before -- both in terms of function flow and in terms of variable values.
scheduler函数中包装了一组生成器对象,这个函数控制将控制流委托给合适的分支的过程。
A set of generator objects is wrapped in a scheduler function that controls delegation of control flow to an appropriate branch.
xrange这样的函数与生成器类似的方面有些“特殊”,它们既不是真正的迭代器(没有.next方法),也不是实际的列表(比如range返回的列表)。
Functions like xrange are a bit "special" in being generator-like, but neither quite a real iterator (no.next method), nor a realized list like range returns.
对生成器函数的第二次(或第n次)调用跳转至该函数中间,而上次调用的所有局部变量都保持不变。
Calling a generator function a second (or NTH) time jumps into the middle of the function, with all local variables intact from the last invocation.
因此,我们可以通过使用尽可能大的线性移位寄存器和非线性度高的组合函数来提高该生成器抗攻击的能力。
So, this generator can improve the capability of resisting the above attacks, by using large line Feedback Shift Registers and the combination functions with higher nonlinearity.
本文利用布尔函数的真值表,给出了一类全新的密钥流生成器。
A complete new stream key generator is proposed in this paper with the truth table of Boolean functions.
这些特殊形式会导致生成器类中定义的某些函数取代这些操作的普通内置行为。
These special forms cause certain functions defined in the builder class to replace the ordinary built-in behavior of these operations.
该设备包括随机数生成器,其生成作为该数据的函数的随机数。
The apparatus includes a random number generator which generates a random number as a function of the data.
该生成器抗熵漏攻击的能力与生成器中所用的线性移位寄存器的长度和生成器中组合函数的非线性度有关。
The capability against the Entropy Leak Attack is also related to the nonlinearity of the combination function used in the generator.
该生成器抗熵漏攻击的能力与生成器中所用的线性移位寄存器的长度和生成器中组合函数的非线性度有关。
The capability against the Entropy Leak Attack is also related to the nonlinearity of the combination function used in the generator.
应用推荐