箭头表示了对第i个数组元素所进行的操作。
数组元素访问(不同步)代码已经在清单2中给出。
The array element access (unsynchronized) code has already been presented in Listing 2.
然而,虽然域可以是final,但是数组元素不可以。
学习理解匿名数组引用和解除数组元素引用的Perl符号。
Learn to understand the Perl notation for anonymous array references and dereferencing array elements.
清单8所示的代码中,可以像访问数组元素一样访问元素的属性。
In the code shown in Listing 8, you access attributes of an element just as you would elements of an array.
当该探针触发时,将为特定的PID和进程名增加一个关联数组元素。
When the probe fires, you increment an associative array element for the given PID and process name.
索引寻址模式对于全局变量访问数组元素来说是最为有效的一种方式。
The indexed addressing mode makes the most sense as a way to access array elements for global variables.
我们将每一行存储在其自己的数组元素内——一个叫做Cmds的数组内。
We store each line in its own array element — in an array called Cmds.
这些 XHR对象保存在一个数组内,数组为每个表单分配一个数组元素。
The XHR objects are kept in an array that allocates one element for each form.
因此,如果每个数组元素的长度都是8个字节,那么我们就可以使用8作为倍数。
Therefore, if each array element is 8 bytes long, you can use 8 as a multiplier.
为绕过这个限制,我使用一个数据结构来为每个数组元素定义一个已命名指示符变量。
To get around this I use a data structure to define a named indicator variable for each array element.
提要中的条目被表示为数组元素,从而使得在提要上迭代和检索单个联系人条目成为可能。
Entries within the feed are represented as array elements, making it possible to iterate over the feed and retrieve the individual contact entries.
假设一次基准测试希望度量出访问某个数组元素所用的时间:这个任务应该不用创建数组。
Consider a benchmark that aims to determine the time it takes to access an array element: the task should not create the array.
那么,只有带“survived”域的数组元素(在前面由survive()函数设定的)通过grep。
Then, only elements of the array with the "survived" field (set earlier by the survive() function) get through the grep.
它还提供三种访问数组元素的方法:标准索引、创建子数组和切片(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.
DrupalformsAPI允许使用 #prefix和 #suffix数组元素在为每个表单组件生成的XHTML之前和之后定义内容。
The Drupal forms API allows you to define content before and after the XHTML generated for each form widget using the #prefix and #suffix array elements.
数组的元素类型和值的类型必须相同。
The element type of the array and the type of the value must be of the same type.
为了控制放入输出数组中的元素,我们使用一个输入过滤器。
To control which input elements are placed in the output array, we use an input filter.
此外,您可以使用该操作来迭代数组(包括基本类型数组)中的元素。
In addition, you can use this action to iterate through the elements of an array, including arrays of primitives.
第二个是迭代过程,将嵌套映射应用于输入数组的每个元素。
The second is an iteration process that applies the nested map to each of the elements of the input array.
您还需要统计数组中的元素个数,并将其保存在变量 $numstories中。
You also need to count the number of elements in the array and use a variable $numstories to contain the result.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
The data we store in each menu item object is an array containing only one element: the name of the category.
第一个选项使所有嵌套元素都表示为数组。
The first causes all nested elements to be represented as arrays.
$size (匹配具有预定数量元素的任何数组)
如果这个数组的长度或者元素的索引对于客户端的逻辑来说是重要的,那么客户端将会失败。
If this array's length or element index is important to the client's logic, then the client will fail.
清单10展示如何从一个数组中检索最后一个元素。
Listing 10 shows how you can retrieve the last element from an array.
该整数是对系统错误消息表的索引,这个表名为sys_errlist(字符串数组),其最高元素的索引为sys_nerr-1。
This int is an index into a table of system error messages, called sys_errlist (an array of strings), whose highest element has index sys_nerr - 1.
将访问过的XML元素保存在php关联数组中。
It stores all the visited XML elements in a PHP associative array.
如果这两个数组中的任何元素以该前缀开头,贡献器会创建一个相应的CCompletionProposal。
If any element of the two arrays begins with the prefix, the contributor creates a corresponding CCompletionProposal.
OMGIDL有任意元素类型的多维固定大小的数组。
OMG IDL has multidimensional, fixed-size arrays of arbitrary element type.
应用推荐