然后通过组合该前缀与被调用方法的名称,可以使用标准的函数调用语法调用函数。
You then can call the functions using standard function call syntax, by combining this prefix with the name of the method to be invoked.
到目前为止,要想使用定制的比较函数,标准的做法是定义自己的函数对象,然后适当地定义操作符。
So far, to use custom comparison functions, the standard practice has been to define your own function object and then define the operator appropriately.
RMS类调用特定于平台的本机代码,这种本机代码使用标准OS数据管理器函数来执行实际的数据库操作。
The RMS classes call into the platform-specific native code that uses the standard OS data manager functions to perform the actual database operations.
可以使用SQL标准函数或DB 2中具有相同功能的函数来替换它。
You can replace these with SQL standard functions or an equivalent function available in DB2.
使用标准的C字符串函数或您习惯使用的字符串库对通用名和主机名进行比较。
Using the standard C string functions or your favorite string library, compare the common name and the host name.
如SQL标准中所述,此函数使用字符语义查找字符字符串的长度。
This function, as mentioned in SQL standards, is used to find the length of a character string in character semantics.
使用标准GET注释,参数紧随函数,并由问号(?)分隔。
Using standard GET notation, the parameters follow the function and are delimited by a question mark (?).
表达式使用 *VALUE、*LT、*AND 和 *EQ标准函数来测试CPU空闲时间过低的条件。
The expression uses the *VALUE, *LT, *AND, and *EQ criteria functions to test for the condition CPU idle time being too low.
运行这个测试时,尽管使用的是作为标准库一部分提供的sqrt函数,boost_check宏仍然会失败。
On running this test, the BOOST_CHECK macro fails despite the fact that you're using the SQRT function provided as part of the standard library.
首先看一下标准API,然后学习如何使用helper函数使事情更简单。
You'll first look at the standard API, then learn how to simplify things further using the helper functions.
以上示例是closures很好的使用例子:它采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。
The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).
它还为此脚本设置了某些默认值,然后使用标准的Bashshell的getopt函数解析这些命令行参数(清单7给出了这个使用消息的输出)。
It also sets some default values for the script, and then parses the command-line arguments using the standard Bash shell's getopt function. (Listing 7 shows the output of this usage message.)
现在,在使用theme ('page ')函数创建自己的页面时,可以禁用标准区块。(参见theme (' page ')may omit standardblocks。)
You can now disable the inclusion of standard blocks when creating your own page using the theme (' page ') function (see theme (' page ') may omit standard blocks).
使用标准getopt函数处理大多数命令行参数都很简单(请参见侧栏了解更多详细信息)。
Handling most of the command-line arguments is simple using the standard getopt function (see the sidebar for more detail).
第2行到第4行包括了Lua的标准函数,几个在所有lua库中都会使用的方便函数以及用来打开库的函数。
Lines 2 through 4 include the Lua standard functions, several convenience functions that are used in all Lua libraries, and functions to open libraries, respectively.
使用sctp _ sendmsg函数一个非标准的socket调用,可以通过指定特定的流程LOCALTIME_STREAM,将这个字符串发送给客户机。
With the sctp_sendmsg function (a nonstandard sockets call), I can send the string to the client, specifying the particular stream (LOCALTIME_STREAM).
如果可以选择的话,请使用标准库函数来进行字节交换操作,并按照字节在数据文件中存储的顺序进行标准化;网络字节顺序最适合这种工作。
If you have the option, use standard library functions to do byte-swapping operations, and standardize on the order in which bytes are stored in your data files; network byte order is the best.
对标准程序库而言,有很多程序库函数在固定的对象中返回值,总是重复使用同一对象,这就使得那些函数不可重入。
As with the standard library, there can be many library functions that return values in fixed objects, always reusing the same objects, which causes the functions to be non-reentrant.
您还可以创建使用关键字作为参数的函数和方法 —这与PHP 中的标准位置参数迥然不同。
You can also create functions and methods with keyword-based arguments — a nice break from the standard positional arguments you see in PHP.
构造函数方法使用标准化的方法来确保重载值中不包含XML解析器所使用的符号。
The constructor method uses the normalize method to ensure that the override value strings do not contain symbols used by XML parser.
绝大部分情况下,没有理由去测试是否有权使用自 1989版本标准出现以后的ANSI/ISOC 中的函数或者标准的 C 头文件是否可用。
In most cases, there is no reason to test for access to functions that have been part of ANSI/ISO C since the 1989 version of the standard came out, or for availability of the standard C headers.
和许多通用的Web标准一样,PHP拥有许多功能强大的函数,可在此应用程序中使用它们。
Like many of the common Web standards, PHP has a number of great functions ready for use in this application.
实际上,您仍然可以对标准错误使用重定向或管道命令,但不能对标准输出使用,因为没有任何标准输出—正在内部使用popen函数由管道将它输送至lp进程。
Actually, you can still redirect or pipe stderr, but not stdout, since there will not be any standard output — it's being internally piped to the lp process using the popen function.
清单14这是一个UDF示例,您可以用它来模拟MySQL的非标准化但经常被使用的NOW函数。
Listing 14 is an example of a UDF that you can create to emulate MySQL's non-standard but commonly used NOW function.
sys是一个标准模块,它包含有用的值和函数,还有其他许多标准模块可供使用。
Sys is a standard module that contains useful values and functions; many other standard modules exist for you to use.
而在其他情形中,您必须使用标准的处理函数名称。
In the other cases, you must use the standard name for your handler function.
您可以使用json库提供的JSON .parse函数(参见参考资料)来取代标准的eval函数。
You can use the JSON.parse function that the JSON libraries provide (see Resources) in place of the standard eval function.
这意味着,你能够使用MonoTouch的核心程序集来编译标准的。NET 3.5代码成相应的函数库,并在你的应用程序中使用它们。
This means that you can compile standard.net 3.5 code libraries using the MonoTouch core assemblies and use them in your application.
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
但是,如果也希望使用标准的PHPstrlen函数(比如在自己的strlen实现内部),就需要在函数调用前面加上反斜杠,见清单10。
But, if you also wanted to use the standard PHP strlen function (say, within your own strlen implementation), you'd need to precede the function invocation with a backslash, as Listing 10 shows.
应用推荐