使用一次传播来传播整个文件内容。
The entire file content is propagated using one propagation.
请注意,整个文件没有总体根标记。
而是在整个文件的范围。
清单1中的示例将精细地打印整个文件。
要获取整个文件(和注释),请参见下载部分。
这是因为第一个read操作读入了整个文件。
This happens because the first read operation read the whole file.
通常,该区域包含整个文件,但也可以只映射部分文件。
Typically, that region comprises the entire file, although it could map a portion.
然后将整个文件读取到 $contents变量中。
这意味着不必将整个文件读取到内存中才能着手处理文件。
This means that the whole of the file does not have to be read into memory before processing of the file can commence.
如 清单2 中所示,这个实现只支持整个文件的加密。
This implementation only supports encryption of complete files, as illustrated in Listing 2. The EncryptCompleteXmlFile () method will do this job by calling the following methods in a sequence
记住整个文件在测试的开始就已被读入存储器是十分重要的。
It is important to remember that the entire text file is read into memory at the beginning of a test.
打开文件、调用读取操作、将整个文件读入内存,都是可以的。
You'd open a file; you could call read, and it could read an entire file for you into memory if you like.
最后,所有现有语句和CL命令在整个文件上需要一个互斥型锁。
Lastly, all the existing statements and cl commands required an exclusive lock on the entire file.
FD列中的大写W表示该应用程序具有对整个文件的写锁。
The capital W in the FD column indicates that the application has a write lock on the whole file.
XML文件的分解和转换操作都是基于整个文件来进行。
Parsing and transformation act upon XML documents in their entirety.
当您每次更改远程服务器上的这些文件时,您需要重新传输整个文件。
Every time you make changes to the files on a remote server, you need to re-transmit the entire files.
curl上传整个文件—在512kb的情况下,大部分都是空字节。
Curl simply uploads the entire file-in this case 512kb, most of it empty bytes.
为Order记录和整个文件(其中包含多条Order记录)创建分组。
Create groups for the Order record and the entire file, which has multiple Order records.
因此,对于较大的文件,使用hash索引进行搜索比扫描整个文件更快。
Thus, the search in a large file using a hash index is faster than scanning the entire file.
假定文件大小不超过8KB,则以下代码应当能将整个文件读入一个字符串。
Assuming that the file is no bigger than 8 KB, the code below should read the entire file into a string.
如果您仅追加单行而不是多行或整个文件,您可以使用echo而不是cat。
If you're appending only a single line instead of multiple lines or an entire file, you can use echo instead of cat.
如前所述,之前所有用于修改媒介首选项的方法都要求对整个文件使用互斥型锁。
As mentioned earlier, all previous mechanisms of changing the media preference required an exclusive lock on the entire file.
此实用工具还检查文件内的个别键和值,而不必转储整个文件并对整个输出排序。
This utility also inspects the individual keys and values within the file rather than having to dump the entire file and sort through the output.
如果您可以将整个文件传递到存储过程并且让存储过程处理整个过程,情况会怎样?
What if you could pass the entire file to a stored procedure and let the stored procedure handle the entire process?
清单3中第一个一行程序有个问题:它会遍历整个文件,即使它已找到所需范围的时候。
A problem with the first one-liner in Listing 3 is that it will go through the whole file, even if the necessary range has already been covered.
它将整个文件读入自己的缓冲区,对该副本执行指定的操作,并可选地将缓冲区写到磁盘。
It reads entire files into its own buffer, makes the specified operations on that copy, and optionally writes the buffer to disk.
可通过使用上下文敏感的菜单来执行SQL,以执行整个文件或仅突出显示的部分文本。
You can execute the SQL by using the context-sensitive menus to execute either the entire file or just the highlighted text.
然后调用readlines方法,把整个文件读入内存并把内容拆分成string列表。
You then call the readlines method, which reads the entire file into memory and splits the contents into a list of strings.
操作系统根据文件块的地址,仍旧能够找到这一整个文件,这也导致了潜在速度变慢。
The operating system still finds it but this process of getting some of your files bits from here, some from here, some from here, induces a potential slow down.
整个文件中的每个字节每次只能由一个区段使用,不过可以存在不被任何区段所包含的孤立字节。
Each byte in the entire file is taken by no more than one section at a time, but there can be orphan bytes that are not covered by a section.
应用推荐