您能实现一个“重复上一条指令”的函数吗?
为了实现所需次数的重复,用一个使用clone函数的参数驱动功能性映射调用,见图4。
To achieve the desired number of repeats, the functional map call is driven by a single argument that USES the CLONE function, as shown in Figure 4.
一个Groovy闭包是一个匿名函数,它可访问包含它的范围,可随意被重复调用,并可将其当作数据到处传递。
A Groovy Closure is an anonymous function that can access its enclosing scope, can be called repeatedly at will, and be passed around as it were data.
如果您想多次重复发出同一条语句,那么odbc_exec函数是一种代价高昂的方法,因为它每次都要编译并执行该语句。
If you want to reissue the same statement multiple times, the odbc_exec function is an expensive approach because it prepares and executes the statement every time.
这个设计允许在这些函数中完成额外的工作,并且不再多个函数实现之间重复。
This design allows additional work to be done in these functions, and not duplicated across multiple function implementations.
对标准程序库而言,有很多程序库函数在固定的对象中返回值,总是重复使用同一对象,这就使得那些函数不可重入。
As with the standard library, there can be many library functions that return values in fixed objects, always reusing the same objects, which causes the functions to be non-reentrant.
因为MASS向量函数要比对一个标准库函数的重复访问快很多(倍数接近30倍),所以最后得到的性能改善效果将会是惊人的。
Since the MASS vector functions are much faster (by a factor of up to about 30) than a repeated call to a standard library function, the resulting performance improvement can be substantial.
本节包含很多小函数,每个函数负责在实现拖放功能时处理一些烦人的重复工作。
This section contains a lot of small functions, each of which takes care of a bit of the annoying boilerplate that usually comes with implementing drag-and-drop functions.
我们可以编写一个递归函数来遍历这些依赖性,它可以查找某个插件的最新版本(针对在相同的系统中有重复插件的情况)以及它的所有依赖性。
Walk through these dependencies by writing a recursive function that can find the latest version of a plug-in (in case duplicate plug-ins are in the same system) and all its dependencies.
如前所述,您还可以命名您的函数,这样就可以重复使用这些函数,如下所示。
As mentioned, you can also name your functions so that they can be used repeatedly, as in the following.
与前一个示例一样,使用fn:distinct - values函数避免重复出现同一类别中的购买。
As in the last example, we use the fn: distinct-values function to avoid duplicate purchases in the same category.
这些函数可以直接用名称引用,并且可以在groovy脚本中定义,这样非常有助于它们的重复使用。
These functions can be referenced directly by name and can be defined in Groovy scripts, where they can seriously facilitate reuse.
而previous参数之后会被此函数的结果替代,并且这个过程还会针对数组的下一个元素重复,直到所有元素都用完为止。
The previous parameter is replaced by the result of the function, and this process is repeated with the next element in the array until all of the elements are used.
我使用generate - id函数来确保创建的每个文件的名称都不会重复。
I use the generate-id function to ensure that each created file has a unique name.
这使系统管理员能够轻松地把这个函数合并到自己的shell脚本中,确保以一致且可重复的方式生成ewu值。
This enables systems administrators to easily incorporate this function into their shell scripts and ensure EWU values are being generated in a consistent and repeatable manner.
为所有类声明这些构造函数可能是乏味的,但是我们在《第4章- Traits》中探索的技巧可以帮助我们减少这样的重复。
Declaring all these constructors in each class could get tedious after a while, but we explored techniques in Chapter 4, Traits that can eliminate repetition.
在getelem函数的语法中,常数的重复输入显得冗长而烦人。
And the constant re-typing of the GetElem function's syntax is wordy and annoying.
您可以通过重复调用SQLFetch函数,将结果集中的值读取到绑定的应用程序变量中,直到没有可用的数据为止。
You can fetch values from the result set into the bound application variables by calling the SQLFetch repeatedly until there is no data available.
该例中,因为所有的服务器输出都直接输出到windowdiv标记,所以可以重复使用简单的回调函数。
In our example, since all output from the server is being output directly into our window div tag, you can reuse the simple callback twice.
另外一个好处是下次重复使用这段代码的时候,再次调用函数就可以了,这比复制粘贴函数体可方便多了。
Another advantage is that if you reuse the code, it is more concise to call a function twice than to copy and paste the body!
如果两个函数声明的返回类型和形参表完全匹配,则将第二个函数声明视为第一个的重复声明。
If the return type and parameter list of two functions declarations match exactly, then the second declaration is treated as a redeclaration of the first.
重复1 - 3步骤,一直到你有了一系列能工作的函数为止。把函数复制粘贴出来,避免重复输入或者修改了。
Repeat steps 1-3 until you have a set of working functions. Copy and paste working code to avoid retyping (and re-debugging).
最后,本文详细设计了证书撤销列表CRL以及增量CRL、分段CRL、重复颁发CRL体系,给出了证书撤销列表的编解码函数接口;
Finally, we design systems of CRL, Delta-CRL, segment CRL and over-issued CRL, offer a CRL encode and decode function interface.
在运行时刻,由于某些函数参数的取值会造成一些函数被重复调用,这在编译时刻是无法被传统的优化器发现的。
At run time, some parameter values may cause duplicate function calls which cannot be found at compile time by traditional optimizer.
二重复函数方法是广义相对论中一种新颖、独特的理论。
The double complex function method is a unique method in general relativity.
方法用失拟分析方法对含有重复试验数据的期望函数进行失拟检验。
Methods Using the lack of fit analysis to test the model expectation function under repeated measure design.
方法用失拟分析方法对含有重复试验数据的期望函数进行失拟检验。
Methods Using the lack of fit analysis to test the model expectation function under repeated measure design.
应用推荐