使用一次传播来传播整个文件内容。
The entire file content is propagated using one propagation.
这意味着不必将整个文件读取到内存中才能着手处理文件。
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
打开文件、调用读取操作、将整个文件读入内存,都是可以的。
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.
因此,对于较大的文件,使用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.
如果是频繁的搜索,那么这种重复地搜索整个文件的方法,其效率是很低的。
For frequent searches, repeated full-file searching is inefficient.
如果您仅追加单行而不是多行或整个文件,您可以使用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.
这个方法把整个文件读入一个string,然后在程序中把这个字符串输出到控制台。
This method reads the entire file into a string, which is printed to the console in this program.
它将整个文件读入自己的缓冲区,对该副本执行指定的操作,并可选地将缓冲区写到磁盘。
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.
在一个命令(- 0777)中读取整个文件时要小心,因为大型文件将耗尽所有内存。
Be careful when reading a full file in one command (-0777), because a large file will use up all your memory.
尽管iterparse起初并没有消耗整个文件,但它也没有释放对每一次迭代的节点的引用。
Although iterparse does not consume the entire file at first, it does not free the references to nodes from each iteration.
更棘手的是,一旦创建了翻译的文件,如果面板布局发生变化,那么这个变化必须应用到整个文件。
Even trickier, once the translated files are created, if the panel layout changes, the change must be applied to the entire set of files.
这样做的缺点是,如果您需要使用一个未包含在定制文件中的部分,那么就需要重新下载整个文件。
However, this has the downside of requiring you to redownload the entire file if you ever decide to use a part you hadn't originally included in your custom-made file.
根本的缺陷在于,ReadAllLines会暂停程序的运行直到整个文件都被读到字符串数组中。
The fundamental flaw is that ReadAllLines does just that, it pauses the program until the entire file can be read into an array of strings.
当整个文件被解析时,您使用PersistenceManager持久化List中的每个对象。
When the entire document is parsed, you persist each object in the List with the PersistenceManager.
最常见的处理方法是,简单地打开整个文件并将其展开为单个组件文件,把这些文件准备好以供正常使用。
Most commonly, we would simply open the entire file and expand it to its individual component files to prepare them for normal use.
应用推荐