As the name implies, a memory-mapped file maps a file-like construct to an address in memory.
顾名思义,一个内存映射文件将一个类似文件的结构映射到内存的地址中。
Would your own programming benefit from more uniformity in the way it accesses file-like resources?
您自己的编程能从更为一致的访问类文件资源的方式中获益吗?
Next we'll look at some examples using dump and load , which work with files and file-like objects.
接下来,我们看一些示例,这些示例用到了dump和load,它们使用文件和类似文件的对象。
Feedinfo is the main function, and takes a URL and an optional output stream (file-like object), defaulting to system output (the console).
feedinfo是主函数,负责接收url和可选的输出流(类似文件的对象),默认输出流为系统输出(控制台)。
For example, there are many functions that operate on "file-like" objects, where file-like is defined simply by supporting a few methods like .read(), .readlines(), and maybe .seek().
例如,有许多函数都是对“类文件”对象进行操作,其中只是通过支持类似 .read() 、 .readlines()也许还有 .seek() 这样的几个方法来定义类文件。
Like ext3, ext4 is a journaling file system.
和ext3一样,ext4也是一个日志文件系统。
Like NFS, each node treats the file system as if it were local and physically attached.
类似于nfs,每个节点都将文件系统看作本地的物理附加文件系统。
When implemented, this scheme produces a hosts file like the example you can access under Downloads.
在实现的时候,这个方案生成与下载中能访问的示例类似的主机文件。
For example, you might globally configure the framework with a line in a properties file like the one in Listing 10.
例如,可以在一个属性文件中用一行全局地配置框架,如清单 10 所示。
It reads a Prolog data file like the sample, then creates Python objects to model the Prolog declarations.
它读取像样本那样的Prolog数据文件,然后创建Python对象来对Prolog声明建模。
I like graphical file managers.
我喜欢图形化的文件管理器。
DB2 now USES this file to support recoverability like automatic restore.
现在DB 2使用该文件来支持可恢复性,例如自动恢复。
Any class in Ruby that supports the each method (like File) lets you iterate this way.
Ruby中支持each方法的任何类(比如File)都允许以这种方式进行迭代。
After the file is compressed, the output looks like that in Listing 3.
文件被压缩之后,输出看起来如清单3所示。
Using tar is very much like using a file utility, such as PKZip.
使用tar非常类似于使用诸如 PKZip 这样的文件实用工具。
Each audio signal can be controlled and processed in various ways, such as converting between file formats and applying effects like gain and reverb.
每一个音频信号可以通过不同的方法进行控制和处理,比如在不同文件格式之间的转换,和对效果(如增益和回响)的使用。
To specify a requirement for all access to a service to be authenticated by the transport protocol, the SCDL file might look like this (for the "AccountService" service)
要指定需求,让服务的所有访问通过传输协议进行身份验证,则 SCDL文件可能与以下所示类似(“AccountService”服务)
The text search index data is stored outside of DB2 in the integrated file system, much like regular DB2 text search indexes.
文本搜索索引数据存储在DB2之外的集成文件系统中,与常规DB 2文本搜索索引非常类似。
Scenario: You’ve realized that you’ve created your database in your instance’s home directory and not on a larger, dedicated file system like you intended.
场景:您发现您已经在实例主目录中创建了数据库,而不是像期望的那样,在一个更大的、专门的文件系统中创建该数据库。
It caches the file data as pages, just like virtual memory for processes.
它将文件数据缓存为分页,就如同进程的虚拟内存一样。
Ubercart is specifically designed for people selling things like file downloads, event registrations, website access passes and event tickets, rather than physical products.
Ubercart专门设计用来销售比如文件下载、活动注册、站点访问通行证和活动票据,而不是实体产品。
Running it on a valid database file, like the penultimate command in Listing 4, gives a count of the records in the file.
在有效的数据库文件上运行它,类似清单4中的倒数第二个命令,则会提供文件中的记录数。
This file tells the server how to perform host name resolution, much like how the nsswitch.conf file works on Solaris servers.
这个文件告诉服务器如何执行主机名解析,这与Solaris服务器上nsswitch. conf文件的作用很相似。
The Azure platform provides numerous services such as services for infrastructure like file storage and data access, as well as more specialized services like search and contact management.
Azure平台提供了很多服务,比如像用于文件存储与数据访问的面向基础设施的服务,同时也提供了更为专用的服务,比如搜索和联系人管理。
Like file storage areas, fixed storage areas use a directory structure on the underlying file system.
和文件存储区域一样,固定存储区域使用底层文件系统上的目录结构。
Like the archive file containing the stylesheets, do not extract the contents of the file yet.
像包含样式表的归档文件一样,仍然不要解压缩文件的内容。
The php.ini file is used to configure the PHP behavior, like setting directories, file paths, changing sessions, and so on.
ini文件用于配置PHP 的行为,比如设置目录、设置文件路径、更改会话等。
You expose the service in an XML file, like this.
将该服务暴露在XML文件中,如下所示。
Select the contents of both tables with a join and you can produce a shape and coordinate file like that shown below.
选择两张表组合在一起后的内容,然后可以生成如下所示的图形和坐标文件。
Select the contents of both tables with a join and you can produce a shape and coordinate file like that shown below.
选择两张表组合在一起后的内容,然后可以生成如下所示的图形和坐标文件。
应用推荐