服务器会返回一个文件句柄和状态信息。
服务返回一个文件句柄,正如在清单12中所看到的。
The service returns a file handle, as you can see in Listing 12.
需要创建文件句柄,才能在ZIP文件结构中识别文件。
You need to create a file handle to identify it in the ZIP file structure.
性能下降问题,诸如释放资源(包括文件句柄、连接、信号和流)失败。
Performance Degradations such as failure to correctly release resources including file handles, connections, semaphores, and streams
在与POSIX兼容的系统上,文件句柄是进程属性,而不是线程属性。
On POSIX-compliant systems, file handles are process and not thread attributes. Here are a few guidelines for using file locking.
现在,把新的JPEG文件句柄交给curl,结果几乎与我所期望的一样。
Now, handing curl the new JPEG file handle produces exactly the results I want-almost.
服务器提供了一个root文件句柄,对应于服务器导出的文件系统树的顶。
The server provides a root file handle that represents the top of the file system tree exported by the server.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
当应用程序打开一个文件句柄读取文件以处理文档时,它通常读取文件后就不再需要文件句柄了。
When an application opens a file handle to read in so it can process a document, it typically reads from the file and then has no further need for the file handle.
文件句柄被映射到文件标识符,显示在application-instance.xml 中。
The file handle is mapped to the file identifier and exposed in the application-instance.xml.
在这里,布局枚举持有文件片段的服务器、每个服务器上文件片段的大小,以及每个片段的NFS文件句柄。
Here, the layout enumerates the servers that hold the pieces of the file, the size of the stripe on each server, and the NFS file handle of each segment.
但它确实能够让人神往,例如,通过写/读文件句柄,可以直接写/读数据库,或者在关闭文件时发送一封电子邮件。
They do offer fascinating possibilities, for instance writing/reading a file handle could write/read directly to a database, or send an e-mail when you close the file.
在NSFNoteCopyAndEncryptExt2 方法中使用取到的ID文件句柄,用以对文档加密。
Use the ID file handle in the NSFNoteCopyAndEncryptExt2 method to encrypt the document.
如果说平台库提供终结器来清除打开的文件句柄,这大大降低了忘记显式地关闭这些句柄的风险,为什么不更多地使用终结器呢?
If the platform libraries provide finalizers for cleaning up open file handlers, which greatly reduces the risk of forgetting to close them explicitly, why aren't finalizers used more often?
文件句柄上的每个操作(例如open、read、write、rewind、truncate和close)影响文件的状态。
Each operation on a file handle-open, read, write, rewind, truncate, and close, for example-affects the state of the file.
在某种程度上,让服务器维护文件句柄正是tlogmaker . py所做的工作,但是它将最新的记录存储在文件而不是存储在内存中。
In a way, having the server maintain a file handle is just what tlogmaker.py does, but it stores the latest records in a file rather than in memory.
在Perl中打开神奇的文件句柄(filehandle),这会将传送给Perl的每个参数作为文件名打开并逐行读取每个文件的内容。
Opening the magical filehandle in Perl, opens every argument passed to Perl as a filename and reads in the contents of each file line by line.
分配给一个运行的进程的默认文件句柄数量和共享内存不足以在MacOSX 上运行IBMInformixDynamicServer。
The default amount of file handles and shared memory allocated to a running process is insufficient to run IBM Informix Dynamic Server on Mac OS X.
另一方面,像文件句柄和套接字句柄这类非内存资源必须由程序显式地释放,比如使用close()、destroy()、shutdown()或release() 这样的方法来释放。
On the other hand, nonmemory resources like file handles and socket handles must be explicitly released by the program, using methods with names like close(), destroy(), shutdown(), or release().
Handle给出进程所用句柄(文件、套接字等)的列表。
Handle shows the list of handles (to files, sockets, and so on) that a process is using.
MutableFile是另一个特定于Roo的类,它表示一个可以进行修改的文件的句柄。
MutableFile is another Roo-specific class which represents a handle to a file which can be modified.
文件描述符用作设备句柄。
文件首先得到数据库句柄,句柄保存在一个全局变量中。
The file starts with getting the database handle, which it stores in a global variable.
可以看出我们的进程中有一个句柄,该句柄指向类路径目录和几个JAR文件。
You can see that our process has a handle to the directory on our classpath and to several JAR files.
事实上,该进程还有更多的句柄,但默认情况下该工具仅显示引用文件的句柄。
In fact the process has a lot more handles, but by default the utility only shows handles that refer to files. You can display others by using the -a parameter.
清单7中的这个文件是 清单6中的事件句柄类的实际实现。
This file in Listing 7 is the actual implementation of the event-handler class in Listing 6.
只有使用这个文件名,才能获取设备控制需要的设备句柄。
Only by using this file name can we get the device handle that is required for device control.
只有使用这个文件名,才能获取设备控制需要的设备句柄。
Only by using this file name can we get the device handle that is required for device control.
应用推荐