接收master发送过来的子数组。
初始化需要处理的数组,然后根据可用的worker数量,把数组分解成若干部分(子数组)。
Initializes the array and splits it up according to the number of available workers.
它还提供三种访问数组元素的方法:标准索引、创建子数组和切片(slicing),切片能产生维数更小的数组片段的视图。
It also provides three methods for accessing array elements: standard indexing, creating subarrays, and slicing, which produces a less dimensional view of an array segment.
该方法将向服务器请求一个列出该条目所有子条目的数组。
This method will request a server for an array that lists all the children of the item.
图5中的来自RPG handle_update子过程的代码段显示,更新指示符数组被初始化为-7。
The update indicator array is initialized to -7 as shown in the Figure 5 code snippet from the RPG HANDLE_UPDATE sub-procedure.
您可以直接使用.childnodes属性数组来保存一些字符,但这种样式是脆弱的,例如,如果有子元素,而没有的话。
You might use the.childnodes attribute array directly to save a few characters, but this is fragile if, for example, there are children of other than.
然后,split方法返回一个数组,其中保存了根据空格字符将给定字符串分割成子字符串的结果。
The split method then returns an array holding the strings that resulted from separating the given string into substrings, as delimited by the space character.
这个setter方法的输入为一个配置参数数组,由元素及其子元素生成。
The input to this setter method is an array of configuration parameters, which is natively created from the element and its children.
父条目不能被完全加载,因为其children属性不是一个列出所有子条目的数组。
The parent item is not fully loaded because its children attribute is not an array that lists all the children of this item.
使用如下所示的acronymsearch子例程搜索字母数组。
The letters array is searched using the acronymSearch subroutine described below.
带Remark类型的子业务对象的附加数组存储处理该转帐的员工的意见。
An additional array with child business objects of type Remark stores comments from the employees who handle the transfer.
该方法仍然有效,但是因为能以String数组作为参数、以File参数作为工作目录,所以用这种方法定制子进程比较困难。
This approach still works, but with just String arrays as arguments, and a File argument for a working directory, the manner of customizing the sub-process wasn't always that easy.
为了实现您老板的第一个要求(将子元素转换为属性),需要替换对数组的引用,如清单10所示。
To achieve your boss's first objective, which is to convert elements to attributes, you need to replace references to arrays, as shown in Listing 10.
如果一个元素包含多个相同名称的子元素,这些子元素将转换为一个数组属性。
If an element contains more than one sub-element of the same name, those sub-elements will be turned into an array property.
请注意在本例中哈希和数组之间的惟一区别是哈希可以含有嵌套的子条目,而数组则不能。
Note that the only difference between a hash and an array in this case is that the hash can have nested sub-items and the array cannot.
它还包含在这个组织单元工作的职员的数据数组和直接子组织单元的数据数组。
It also contains an array of data for employees working in the organizational unit and a separate array of data for the immediate sub-organization units.
清单7显示了 hasNonPrintable子例程,它可以针对 @nonPrintable数组中的一个预期前缀检查密码。
Listing 7 shows the hasNonPrintable subroutine used to check a password for one of the expected prefixes in the @nonPrintable array.
Perl子例程 checksize 处理整个文件(作为 Perl数组 @_ implicit的一部分)并检查函数长度。
The Perl subroutine checksize traverses over the whole file (as part of the @_ implicit array in Perl) and keeps checking for function lengths.
对于Python,子过程模块处理对Shell命令的系统调用,并将输出发在一个列表(在Bash和PHP中称为数组)中。
With Python, the subprocess module handles making the system call to the shell command, and puts it into a list, called in array in Bash or PHP.
toCollection方法以空格来分割字符串,然后返回一个包含这些子字符串的Array(数组)。
The toCollection method splits a string on spaces and returns an Array containing the substrings.
虽然你可以找到文档基于子文档数组的内容,蒙戈将返回整个文档。
While you can find documents based on the contents of subdocument arrays, mongo will return the entire document.
在属性信息数组中,同一个子串中的所有字母都必须具有相同的属性。
In the attribute information array, all characters of one clause must have the same attribute.
值可被所有来自数组对象的子对象所继承。
The primitive value is inherited by all objects descended from the Array object.
将该线程组及其子线程组中的所有活动线程拷贝到指定数组中。
Copies into the specified array every active thread in this thread group and its subgroups.
将该线程组中的所有活动子线程组拷贝到指定数组中。
Copies into the specified array references to every active subgroup in this thread group.
返回通过连接一个数组中包含的若干子字符串创建的字符串。
Returns a string created by joining a number of substrings contained in an array.
将系统振动模态分为耦合模态与弧立模态,由数组相互耦合的模态张成耦合模态子空间。
The vibration modes are divided into two classes:separated and coupled. The coupled-mode subspace is spanned by the groups of coupled modes.
子串信息是一个32位值的数组,用于确定子串在字母组合字符串中的位置。
The clause information is an array of 32-bit values that specifies the positions of the clauses in the composition string.
求一个未排序数组中,出现的长度最长的连续子序列长度。
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
获取一个数组,该数组表示当前视图中所包含的子视图。
Gets an array representing the child views contained in the current view.
应用推荐