通过函数描述符表示导出的函数,由加载器对这些描述符进行修改,以使得AMR 能够将服务更改为前端 导出服务。
Exported functions are represented by function descriptors that are modified by the loader to enable the AMR changing service to front-end exported services.
这些函数以环境句柄、连接句柄、语句句柄或描述符句柄作为输入参数,返回与上一次使用该句柄作出的函数调用相关的诊断信息。
These functions take environment, connection, statement, or descriptor handles as input and return the diagnostic information related to the last function call made using that handle.
构造函数读取配置参数文件作为属性并将这些属性转换成URI/值对,这些值对是由部署描述符模式定义的(图1) 。
The constructor method reads the configuration parameters file as properties and converts these properties into URI/value pairs as defined by the deployment descriptor schema (Figure 1).
最后,请注意函数调用的分支目标并不是启动它的代码,而是.opd入点描述符。
Finally, notice that the branch target for the function call is not the code that starts it, but the.opd entry point descriptor.
在返回到tcp_usrreq函数时,创建套接字描述符,以指向套接字的tcp控制块。
On returning to the tcp_usrreq function, the socket descriptor is made to point to the socket's TCP control block.
在指定了SQL_HANDLE_DESC选项的情况下,通过调用SQLAllocHandle函数可以显式地分配一个或多个描述符句柄,以及一个有效的连接句柄和语句句柄。
One or more descriptor handles can be explicitly allocated by calling the SQLAllocHandle function with the SQL_HANDLE_DESC option and a valid connection and statement handle.
例如,read函数调用可以从指定的文件描述符读取一定数量的字节。
Take, for example, the read function call, which allows some number of bytes to be read from a given file descriptor.
第一个参数fildes是函数open返回的文件描述符,用于指称具体设备。
The first parameter fildes is the open file descriptor returned from the function open , referring to a specific device.
这种描述符可以返回可调用的内容——毕竟Python函数或方法可以返回任何内容。
Such a descriptor could return something callable — any Python function or method can return anything, after all.
函数尝试使用错误的文件描述符(例如,它不引用打开的文件,或者用于尝试写入以只读方式打开的文件)。
EBADF -- A function tried to use a bad file descriptor (it doesn't refer to an open file, for example, or it was used in an attempt to write to a file that was opened read-only).
选择器在内部调用一个本机poll()函数(见清单5),这个函数支持在一组文件描述符上多路复用输入和输出
The selector internally calls a native poll() function (shown in Listing 5), which provides a mechanism for multiplexing inputs and outputs over a set of file descriptors
stat()函数会将特定文件的相关信息填入struct stat结构中,如果您获得的是文件描述符而不是文件名,那么作为替代,您可以使用fstat() 函数。
The stat() function fills a struct stat structure with information about a specific file; if you've got a file descriptor instead of a file name, you can use the fstat() function instead.
现在我们已经定义了el函数,将其放在Faceletstaglib描述符文件中,并在web.xml中注册了taglib描述符文件,接下来就可以开始使用标记了。
Now that you've defined the el function, placed it in the Facelets taglib descriptor file, and registered the taglib descriptor file in web. XML, you can start to use the tag.
使用文件描述符读取在之前的功能函数中获得的字节,我使用以下代码。
To read the bytes using the file descriptor obtained in the previous function call, I use the following code. It reads the indicated number of bytes from the file parameter passed.
尽管recv(进程使用的库函数)、recvfrom和recvmsg仅可以对套接字描述符操作,但read和readv可以对任何种类的描述符操作。
While recv (a library function used by the process), recvfrom, and recvmsg operate only on socket descriptor, read and readv can operate on any kind of descriptor.
它必须严格的小于描述符的最大长度,否则函数将抛出user23异常。
It must be strictly less than the descriptor's maximum length otherwise the function raises a USER 23 panic.
如果一个类型说明符紧跟一个左括号,括号,是一个功能描述符和类型是一个函数的参数部分的开始。
If a type specifier immediately follows a left parenthesis, that parenthesis is the start of a function descriptor and the type is part of a function parameter.
如果在描述符中的结果文本的长度超过了它的最大长度,函数将抛出user23异常。
If the resulting length of text in this descriptor exceeds its maximum length, then the function raises a USER 23 panic.
如果两个描述符中的任意一个的最大长度小于另外一个的数据长度,这时函数抛出user23异常。
If the maximum length of either descriptor is smaller than the length of the other descriptor, then the function raises a USER 23 panic.
这个描述符指明了包含中断或异常处理函数的段的基地址。
This descriptor specifies the base address of the segment that includes the interrupt or exception handler.
fchdir函数提供给我们一个方便的方法来完成这个任务,当我们想要返回我们开始的位置时,我们可以通过向fchdir函数传递一个文件描述符。
Thee fchdir function provides us with an easy way to accomplish this task. When we want to return to where we started, we can simply pass the file descriptor to fchdir.
fchdir函数提供给我们一个方便的方法来完成这个任务,当我们想要返回我们开始的位置时,我们可以通过向fchdir函数传递一个文件描述符。
Thee fchdir function provides us with an easy way to accomplish this task. When we want to return to where we started, we can simply pass the file descriptor to fchdir.
应用推荐