The initialize_vertices function needs to be called in the main program, so add the function call in the main subroutine at line 597.
需要在主程序中调用initialize_vertices函数,因此把函数调用添加到位于第597行的main子程序中。
At this level a program becomes multiple instances of a service subroutine callable in parallel by a client through some grid middleware.
这个级别上的应用程序已经变成服务子例程的多个实例,可由客户机通过某种网格中间件并行调用。
The sum() subroutine is implemented in a direct way.
sum()子例程是以直接的方式实现的。
The sendNote subroutine takes a note velocity 0-100 in value and transforms that to the nearest 12-note step from the base note.
sendnote子例程将获得值在0到100之间的通知速率,并将把该通知速率转换为基本通知中最接近12的通知步骤。
The first subroutine call in the alg_N_Word function is to createRegexp.
alg_N_Word函数中的第一个子程序调用是指向 createRegexp 的。
The last if statement is false in this case (as the query word did not begin with an asterisk), so the built regular expression is returned to the alg_N_Word subroutine.
在本例中,最有一条if语句为false(因为查询词不以星号为开头),因此构建好的正则表达式将被返回给 alg_N_Word 子程序。
In the next state, the script will run a subroutine associated with the event to check the answer and display the next multiple question.
在这个状态下代码会在事件发生的同时运行一个子程序来检查答案并显示下一道问题。
The end result is, in all cases, a subroutine with a call interface.
在所有情况下最终的结果都是带有调用接口的子例程。
To cluster similar rules, start scanning the rules in the subroutine.
要集群化类似的规则,则需要在子例程中扫描规则。
Note that the VALIDATE subroutine is much more limited than the ACTION subroutines (described in the next section).
validate子例程要比action子例程(将在下一节中描述)受到更多的限制。
You define a simple Perl subroutine to add a subelement to a node in the tree and then use this to construct the subtree representing an individual pet.
这里定义了一个简单的Perl子例程向树中的一个节点增加子元素,然后用它构造表示单个新宠物的子树。
F_OrderCSVtoXML is a functional map, which is like a subroutine, and will be executed for mapping each record in the input file one-by-one.
F_OrderCSVtoXML是一个功能映射,它类似于子例程,并且将用于逐一映射输入文件中的各记录。
In "monitor" mode, the checkDyanmics subroutine is called to determine whether the current dwell times match those recorded (within a allowable range) in the keystroke.signatures file.
在 “monitor”模式下,将调用 checkDyanmics 子例程以确定目前的停顿时间是否与 keystroke.signatures 文件中记录的停顿时间(在允许的范围内)匹配。
The Perl subroutine checksize traverses over the whole file (as part of the @_ implicit array in Perl) and keeps checking for function lengths.
Perl子例程 checksize 处理整个文件(作为 Perl数组 @_ implicit的一部分)并检查函数长度。
Listing 7 shows the hasNonPrintable subroutine used to check a password for one of the expected prefixes in the @nonPrintable array.
清单7显示了 hasNonPrintable子例程,它可以针对 @nonPrintable 数组中的一个预期前缀检查密码。
Subroutine getTotalTime simply subtracts the time of the last keystroke (in milliseconds) from the time of the first keystroke.
子例程 getTotalTime 将用第一次击键时间减去最后一次击键时间(以毫秒为单位)。
With the internal program environment subroutines in place, we can specify a simple keyword matching subroutine
准备好内部程序环境子例程之后,就可以指定一个简单的关键字匹配子例程
Listing 6 shows the processEvents subroutine called in Listing 5.
清单6显示了在清单5中调用的processevents子例程。
Using the mail: : POP3Client, this subroutine will download all new messages from the Gmail POP in-box.
使用Mail:POP3Client,该子例程将从GmailPOP收件箱下载所有新消息。
Most modern Rexx installations build in their own sorting extension, and it's easy to define a subroutine that implements quicksort or bubblesort for those which lack it.
现在,大多数Rexx安装都内置了自己的排序扩展,因此可以方便地为缺少快速排序或冒泡排序的安装定义实现这些排序方法的子例程。
After the local variable declaration, the subroutine will make a pass through every query word specified searching for a metaphone match in the name or jobresponsibilities hashes.
声明局部变量后,子例程将遍历每个指定查询词,搜索name或jobresponsibilities散列中的变音位匹配。
For example, if the click-hold times are "197 10 10," the checkDynamics subroutine will work through necessary permutations to check "192 5 5," "203 15 15," and everything in between.
例如,如果单击按住时间为“19710 10”,checkdynamics子例程将遍历必要的排列以检查“192 5 5”、“203 15 15”及两者之间的排列。
Given a data file of the format shown in Listing 4, the loadInflectives subroutine builds an alphanumeric phonetic hash.
如果提供清单4中所示格式的数据文件,loadinflectives子例程将构建字母数字语音散列。
We'll need to modify the buildHashPrintResults subroutine to store the print output in a variable.
需要修改buildhashprintresults子例程以便在变量中存储print输出。
Specifying the correct TimeSpan markup is performed by the code listed above in the getTimes subroutine.
上面列出的gettimes子例程中的代码将指定正确的TimeSpan标记。
The LK bit specifies whether the address of the next sequential instruction is saved in the Link Register as a return address for a subroutine call.
LK位指定了下一个顺序指令的地址是否作为子例程调用的返回地址保存在链接寄存器中。
Each thread executes the same subroutine, but in a separate thread with a separate environment and potentially separate arguments.
可以让多个线程使用同一个子函数,但是它们的参数不同,从而使每个线程的执行结果也不同。
In addition, when solving the ablation subroutine, a convenient and effective method for setting initial value was proposed.
此外,在求解烧蚀子程序时,提出了一种简便有效的赋初值方法。
Let this criterion be a subroutine of ABAQUS 'main program and kept the two in real time communication in finite element algorithm.
有限元计算时将断裂判据以子程序形式嵌入ABAQUS主程序并保持两者之间的实时通信。
Let this criterion be a subroutine of ABAQUS 'main program and kept the two in real time communication in finite element algorithm.
有限元计算时将断裂判据以子程序形式嵌入ABAQUS主程序并保持两者之间的实时通信。
应用推荐