数组函数是用来对数组进行操作的。
数组函数是用来对数组进行操作的。
下面是一套你会在脚本中使用到的数组函数,这些函数都非常重要。
The functions below are a set of array functions you will be using a lot in any given script, and are vitally important when using arrays.
创建数组函数的输入端会自动匹配元素或数组输入,取决你要连接的对象。
The Build array function input will automatically adapt to an element or an array input, depending on what you wire to it.
数组函数append (arg)将arg添加到数组的末尾,从而在此过程中形成了一个列表。
The array function append (arg) adds arg to the end of the array, thus accumulating a list in the process.
例如,图7.23中的创建数组函数被设定用来结合两个数组和一个单个元素产生一个新的数组。
For example, the Build array function shown in figure 7.23 has been configured to concatenate two arrays and one element into a new array.
创建数组函数可以将两个数组连接或结合成一个,或向数组中增加元素,这取决于你自己的设定。
Depending on how you configure it, Build array concatenates, or combines, two arrays into one, or adds extra elements to an array.
比如,compare方法比较两个字符串;sort和asort方法以与相应的php数组函数相同的方式对数组或关联数组进行排序。
For example, the compare method compares two strings; the sort and asort methods sort arrays or associative arrays in a way similar to the corresponding PHP array functions.
关于状态机的一个极度确切的描述是它是一个有向图形,由一组节点和一组相应的转移函数组成。
An overly accurate description of a state machine is that it is a directed graph, consisting of a set of nodes and a corresponding set of transition functions.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。
You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
它也没有用随机双精度数来填充数组或矩阵的函数。
Also, no function fills an array or matrix with random doubles.
表中每行有多少单元格,这个数组中就有多少个函数。
There are as many functions in this array as there are cells in each table row.
实现这种功能最常用的方式是根据可用的语言特性使用函数组合技术。
The most general way of approaching this is by using techniques of function composition according to available language features.
因为搜索结果存储在一个数组中,您肯定希望函数遍历该数组,就像处理其他编程语言的数据对象一样。
Since the search results are being stored in an array, you'd expect functions to work through the array like you would any data object in any programming language.
默认情况下,它不会检测所有函数,而只是检测确实需要保护的函数(主要是使用字符数组的函数)。
By default, it doesn't instrument all functions, only those that it deems as being in need of protection (mainly functions with character arrays).
清单11展示了更多的数组遍历函数,可适用于其他编程语言的数组遍历。
Further array traversal functions are as follows in Listing 11 and fit appropriately with array traversal in other programming languages.
函数将返回匹配数组。
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
在清单6中,我创建了一个由两个函数组成的composite代码块。
In Listing 6, I create a composite code block that composes two functions.
virtqueue支持它自己的由5 个函数组成的API。
The virtqueue supports its own API consisting of five functions.
Function#argumentNames返回一个字符串数组,它代表函数的命名参数
Function#argumentNames returns an array of strings representing the function's named arguments
样式表使用count函数计算数组大小。
The stylesheet computes the array size with the count function.
l一种将相关函数组织在一个模块中,并封装他们实现细节的机制。比如:类。
A mechanism for grouping related functionality into logical "modules" which encapsulate implementation details - i.e. mechanism to define a Class.
一种方法是通过将todo数组传送到plan函数中来指定todo测试。
One specifies todo tests by passing a todo array to the plan function.
关联值数组在hash函数内部生成,并使用keysig字符进行索引。
The associated values array is generated inside the hash function and is indexed using keysig characters.
序列数组由ariablepersister函数处理,创建一个与variablepersister类相同名字的变量,该类创建自以_ POINTER为后缀的模板。
Sequential arrays are processed by the VariablePersister function, creating a variable identified as the same name of the VariablePersister class created from the template suffixed with _pointer.
Blue包含许多内置类型,包括数字(包含整型和浮点型)、字符串、数组、函数等等。
Blue includes a number of built-in types, including Numbers (which covers integer and floating point types), strings, arrays, functions, and others.
随后将该数组传递给populatesuggestionlist函数,它将为建议列表添加元素。
The array is then passed to the populateSuggestionList function, which adds the elements to the Suggestion List.
即使数组是动态改变的,equalize函数照样可以返回它的数组。
Even though arrays are mutable, the function equalize returns its array. This is useful if you only want to equalize a copy of the model.
即使数组是动态改变的,equalize函数照样可以返回它的数组。
Even though arrays are mutable, the function equalize returns its array. This is useful if you only want to equalize a copy of the model.
应用推荐