在套接字函数调用中指定的一个协议不支持请求的套接字类型的语法。
A protocol was specified in the socket function call that does not support the semantics of the socket type requested.
在通过map调用时,关键字函数将在map中查找自身,并返回自己的值。
When invoked with a map, keyword functions look themselves up in the map and return their own value.
关键字是协议中方法的名称;函数就是那些方法的实现。
The keywords are names of the methods in the protocol; the functions are implementations of those methods.
您还可以创建使用关键字作为参数的函数和方法 —这与PHP 中的标准位置参数迥然不同。
You can also create functions and methods with keyword-based arguments — a nice break from the standard positional arguments you see in PHP.
清单2忽略了这个关键字,因此函数的最后一行将被返回。
It has been omitted in Listing 2, so the last line of the function will be returned.
回到清单3,一旦从传递来的消息中抽取出了关键字,就会调用searchgoogle函数。
Going back to Listing 3, once the keyword is extracted from the message that was passed in, the searchGoogle function is invoked.
soconnect()函数检查套接字的有效状态,并使用 PRU_CONNECT作为请求调用 pr_usrreq()。
The soconnect() function checks for the valid state of the socket and calls pr_usrreq() with PRU_CONNECT as the request.
新的语法只要求给 print()函数的关键字参数file传递一个值就可以了。
The new syntax is now to simply pass in a value to the keyword argument file in the print() function. For example
tcp_close()函数然后关闭套接字。
执行此函数后,您将不再能够从文件或套接字中读取任何信息。
You are no longer able to read from the file or socket after this function.
两个数据库之间的关键字差异:一些函数可能在两个数据库中都可用,但是名称不同。
Keyword differences between two databases: Some functions might be available in both the databases but with a different name.
关键字也是函数。
在应用程序代码中的原始查询中可能使用了这些关键字或函数。
Such keywords or functions might be used in raw queries coded in the application code.
在这个示例中,检查实际上是多余的,因为缺省套接字实现的构造函数也执行相同的检查。
The check is actually redundant in this example, because the constructor for the default socket implementation performs the same check.
关键字对于搜索函数非常重要,因为用户如果搜索我的群组的一个关键字就能够找到我的群组。
Keywords are mostly important for the search function because users can find my group if they look for one of my group's keywords.
这能帮助区分关键字和函数调用。
This helps to distinguish between keywords and function invocations.
影响任务复杂性的相关要素是不同分组关键字的数量,而不是在计数函数中所看到的,不同的所聚合列的数量。
The relevant factor that impacts the complexity of the job is the number of different grouping keys, not the number of different aggregated columns that you would see in counting functions.
不过它通过删除不同的关键字来显示使用此函数的某些可能性并且返回字符串的总字数。
It shows some potential for using the function but by removing the distinct keyword, it returns the total word count of a string.
函数可以自由使用288字节的内存,对于不调用其他函数的函数来说,这段内存物理上在堆栈指针之下。
Functions are free to use the 288 bytes that are physically below the stack pointer for functions that do not call other functions.
这个实用程序类可以包含针对所有这类关键字或函数的函数。
This utility class can have functions for all such keywords or functions.
因为在utf - 8编码中字符需要不同数量的字节(1到4字节),所以很难处理这些函数。
It is difficult to work with those functions because characters might require various Numbers of bytes in UTF-8 encoding (1 to 4 bytes).
这两个关键字都可以被用作构造函数参数。
并向该函数传递四字符的NWS站点ID和HTMLDIV标记名称。
I pass this function a four-character NWS station ID and the name of an HTML DIV tag.
请注意将您传递到extend函数的映射从关键字映射到匿名函数。
Notice that the map you pass to the extend function maps from keywords to anonymous functions.
socreate函数然后分配新的套接字结构。
The socreate function then allocates a new socket structure.
不管在哪里声明一个变量或函数,extern关键字都允许其他文件在不确定其定义位置的情况下使用该文件。
No matter where you declare a variable or function, the extern keyword allows other files to use it without knowing where it was defined.
考虑清单1显示的例子,一个套接字send函数。
Consider the example of a socket send function shown in Listing 1.
利用function关键字来定义函数。
Vimscript中的函数使用function关键字定义,后跟函数名,然后是参数列表(这是强制的,即使该函数没有参数)。
Functions in Vimscript are defined using the function keyword, followed by the name of the function, then the list of parameters (which is mandatory, even if the function takes no arguments).
编写Groovlet不仅像创建一个Groovy脚本那样简单,而且还可以用def关键字定义函数,并在Groovlet中直接调用它们。
Not only is writing a Groovlet as simple as creating a Groovy script but you can also define functions with the def keyword and call them directly within the Groovlet.
应用推荐