You can point it at another file quite easily; it's a bit harder to, for instance, read from a buffer.
您可以非常简单地将它指向另外一个文件;从缓冲区中进行读取稍微有些困难。
Further, applications that might benefit from having a file system read ahead or high buffer cache hit rates might actually see performance degradation.
而且,对于那些受益于文件系统预读功能或者较高缓冲区缓存命中率的应用程序,可能会出现性能的降低。
The transferTo() method causes the file contents to be copied into a read buffer by the DMA engine.
transferTo()方法引发DMA引擎将文件内容拷贝到一个读取缓冲区。
Linux, under normal circumstances, USES a system file cache to buffer, read, and write requests from disk.
在一般情况下,Linux使用一个文件系统缓存为磁盘请求进行缓冲和读写。
I mean, given we have opened a file for read and it is copied into the buffer.
我的意思是,给我们打开了一个文件读取,复制到缓冲区。
For example, to get input, we may need to specify the file or device to use as the source, and the address and length of the memory buffer into which the input should be read.
例如,为了获取输入,我们可能需要指定文件或设备作为信息来源,并且要把地址和内存缓冲区的长度放到输入读取的位置。
During a read from the file, the contents of the file are first read to the buffer, and we read from that buffer.
从文件读取时,文件的内容是第一次读到缓冲区,缓冲区和我们阅读。
During a read from the file, the contents of the file are first read to the buffer, and we read from that buffer.
从文件读取时,文件的内容是第一次读到缓冲区,缓冲区和我们阅读。
应用推荐