Describes the differences between pointer array and array pointer, and illustrates the application of pointer array by an example.
论述了指针数组与数组指针的区别,并以一个实例说明指针数组的应用。
Attrition: this tells us how many devices in the array can be lost without breaking the functionality of the array and losing data.
损耗:这项告诉我们在不破坏阵列的功能和数据丢失的前提下,我们阵列中的设备会损失多少。
Finally, convert the list of completion proposals to an array and return this array as the result, as shown in Listing 6.
最后,将自动完成建议列表转换为一个数组,并将这个数组作为结果返回,如清单6所示。
This tip addresses one of those cases: the distinction between an array which is null, and an array which has no elements.
这里介绍的技巧用于处理其中的一个情况:一个为“零”的数组和一个没有元素的数组之间的差别。
We read an array of records and then write the array.
我们读取一个记录数组,然后写入该数组。
Thus, I can cast the result of the bitwise operation as a byte, put the byte in a single-byte array, and return the array to the calling application.
因此,我可以将按位操作的结果造型为一个字节,将这个字节放入一个单字节数组,并将这个数组返回给调用应用程序。
You put those into an array and then iterate over the array.
将它们放入一个数组,然后对该数组进行迭代。
Make a second copy of the array, shuffle the copy, and build an associative array, where the original letter gets a shuffled value.
制作另外一份数组副本,搅乱该副本,并构建一个联合数组,其中原来的字母将获得重组后的值。
It stores all the account data information in a PHP associative array and returns that array to the caller.
它将所有帐户数据信息存储在一个php关联数组中,并将这个数组返回给调用者。
The function takes two parameters: "array of rows" and "array of columns".
这个函数接受两个参数:“行数组”和 “列数组”。
When the script is submitted, we want to add the new item to an inventory array and save the array along with the character sheet.
在提交脚本后,需要将新装备添加到武器清单数组中,并且连同角色表一起保存数组。
A structure is an array of views, and a view is an array of cells.
一个结构是一系列视图,而一个视图则是一系列单元格。
An array and a view into that array are distinct concepts and should be modeled as such.
数组和它的视图在概念上是不同的,因此在建模时也应不同。
The vendor detail, date, and order ID number are in expected places in the array, but the array indexes of the subtotal and subsequent lines depend on the number of items detailed.
此商家的细节、日期及订单id号处于此数组的预期位置,但小计及后续行的数组索引则依赖于所详细说明的项的数量。
Display a simple variable, iterate over an array or associative array, and display the members of a class.
显示简单变量,迭代整个数组或关联数组,以及显示类的成员。
This method (shown in Listing 8) takes two byte arrays, concatenates the second array after the first, and returns the concatenated array.
这个方法(见清单8)取两个字节数组,将第二个数组串接到第一个之后,并返回串接的数组。
Each byte array will look different and the cache will assume that each array is unique, causing the cache to not work effectively.
每一个字节数组看起来都是不同的,高速缓存将假定每一个数组都是唯一的,这导致了高速缓存没有有效工作。
The cipher byte array is then decrypted, and the decrypted byte array is returned as a text string.
接着对该密码字节数组解密,解密的字节数组作为文本字符串返回。
Once you have built up your final array, you can iterate through the array and generate a list of sums and what their respective odds are.
在构建完最终数组后,您可以迭代数组并生成骰子数总和的列表及其各自的机率。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
This array contains the database column names as the array keys and the database field values as the array values.
这个数组以数据库列名作为数组键,以数据库字段值作为数组值。
The version presented in Listing 1 USES a loop to process the input array and populate the output array.
清单1中的版本使用循环来处理输入阵列并填充输出阵列。
Further array traversal functions are as follows in Listing 11 and fit appropriately with array traversal in other programming languages.
清单11展示了更多的数组遍历函数,可适用于其他编程语言的数组遍历。
But when dealing with a collection of data, the distinction between a null array (which returns null) and an empty array (which returns itself) needs closer attention.
但是,当处理数据集合时,零数组(返回零)和空数组(返回其本身)需要密切关注。
A batch version of this operation would contain an array of the set of inputs and an array of the set of outputs.
此操作的批量版本将包含输入集的数组和输出集的数组。
These methods can be handy when it comes to asserting that a script correctly runs, asserting the lengths of various array types and the contents of various array types, and more.
可以用这些方法很方便地断言脚本的运行是否正确,以及断言各种数组类型的长度和内容等。
When the BULK COLLECT clause is included, the statement can return multiple rows; the variable in the INTO clause must be an array, and each row is stored in an array element.
在包括BULKCOLLECT子句后,该语句可返回多行;INTO 子句中的变量必须是阵列,且每一行存储在一个阵列元素中。
The third parameter is the name of the output array, and the fourth is an offset into the output array.
第三个参数是输出数组的名字,第四个是输出数组中的偏移。
As defined by the service notification consumer WSDL, the notify method accepts two parameters: an array of notification messages and an array of additional information.
按照服务通知使用者WSDL的定义,notify方法接受两个参数:包含通知消息的数组和包含其他信息的数组。
For-each loop: When iterating over an array, the compiler generates an induction variable and the standard array iteration idiom.
for - each循环:当迭代数组时,编译器生成归纳变量和标准的数组迭代语法。
应用推荐