SIGSYS—参数对于子例程无效。
清单11 . gettimes子例程。
清单12 . getstyle子例程。
清单3显示了程序头文件中的变量声明和子例程调用。
Listing 3 shows the variable declaration and subroutine calls from the program header.
当子例程被调用时,该例程正确地接收到了它的参数。
When the subroutine is called, the routine receives its parameters correctly.
顺序单一子例程已借助RDR模块化为多个子例程。
The sequential single subroutine has been modularized to several subroutines with help of RDR.
setup子例程只在启动时运行一次,以便初始化服务器。
The setup subroutine runs just once on startup and initializes the server.
我们已经看到如何使用匿名的子例程或者对指定子例程的引用。
We've already seen how to use an anonymous subroutine or a reference to a named subroutine.
地址到符号名的映射使得Tprof可以按模块和子例程分配节拍。
The address to symbol name mapping allows Tprof to assign ticks by module and subroutine.
您还可以使用子例程来绑定线程,尽管我在进行这种工作时会倍加小心。
You can also bind threads using subroutines, though I would be very cautious when attempting to do so.
如果至少已输入了一个字符,则在按下enter键后,子例程将退出。
When the enter key is pressed, the subroutine exits if at least one character has been entered.
然后,该子例程的剩余部分继续执行,就像没有发生错误一样。
The rest of the subroutine then continues executing as if the error did not occur.
完成了基本变量声明和子例程后,程序将继续进行主程序循环,如下所示。
With the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.
对用 gss_wrap子例程加密的消息进行解密并检查嵌入的签名。
Unwraps a message sealed by the gss_wrap subroutine and verifies the embedded signature.
规则集开发人员构建了一个名为 PartName 的子例程。
The rule set developer has built a subroutine called PartName.
kmlHeader 子例程将输出KML文档的主要头标记。
The kmlHeader subroutine prints out the main header markup for the KML document.
清单4显示了用于在单击图像时提供用户反馈的clickimage子例程。
Listing 4 shows the clickImage subroutine to provide user feedback when an image is clicked.
进程被调度的次数(或者说是内核调度子例程为那个进程释放CPU的次数)。
Number of times that the process was dispatched (or how many times the kernel dispatch subroutine relinquished the CPU to that process).
准备好内部程序环境子例程之后,就可以指定一个简单的关键字匹配子例程
With the internal program environment subroutines in place, we can specify a simple keyword matching subroutine
matchWords 子例程包含两个参数:搜索位置和搜索的单词。
The matchWords subroutine takes two arguments: location to search, and words to search for.
清单8显示了用于设置与cnee程序之间的后台连接的createpipe子例程。
Listing 8 shows the createPipe subroutine used to set up a background connection to the cnee program.
对AppConfig 的引用也被传送到子例程,所以单个更改会触发其它变量更改。
Note that a reference to AppConfig is also passed to the subroutine so other variable changes can be triggered by one single change.
munmap子例程只是取消 对mmap 子例程的调用而创建的区域的映射。
The munmap subroutine only unmaps regions created from calls to the mmap subroutine.
下一步,如果未找到匹配,就退出子例程;或者如果找到匹配,就重设当前音调和时间记录。
The next step is to exit the subroutine if no matches are found or reset the current tone and time records if a match is made.
这个级别上的应用程序已经变成服务子例程的多个实例,可由客户机通过某种网格中间件并行调用。
At this level a program becomes multiple instances of a service subroutine callable in parallel by a client through some grid middleware.
当用户指定的时间间隔结束时,Tprof 将这些指令按进程、线程、模块和子例程进行分组。
When the user-specified interval is over, Tprof groups the instructions together by process, thread, module, and subroutine.
Python中有多种可实现重用的途径,但最简单的技术莫过于使用函数,也称为方法或子例程。
In Python, there are many ways to do this, but the simplest technique is to use functions, which also are known as methods or subroutines.
gprof可以报告您的程序中所有子例程的流程控制,并为您提供每个子例程所使用的CPU时间。
Gprof reports on your flow control through all the subroutines of your program and provides you with the amount of CPU time consumed by each subroutine.
为了删除所有相关的约会,作者需要逐个地删除每个约会,或者添加一个子例程来自动删除相关的事件。
To delete all related appointments, the author will need to delete each one individually, or include a subroutine to automatically remove related events.
为了删除所有相关的约会,作者需要逐个地删除每个约会,或者添加一个子例程来自动删除相关的事件。
To delete all related appointments, the author will need to delete each one individually, or include a subroutine to automatically remove related events.
应用推荐