Because the concept of "lines" isn't relevant for binary files (logical data constructs are not generally terminated by newlines), you must always specify the number of bytes that you wish to read in.
由于“行”的概念与二进制文件无关(逻辑数据结构通常都不是由新行终止),因此您必须指定需要读入的字节数。
If you've read any of my previous articles (see Resources), you'll notice that I favor logical operators over writing several lines of code.
如果您读过我以前的文章(参见参考资料),就会注意到我喜欢使用逻辑操作符,而不是编写多行代码。
When you start allowing for system subtypes, logical system divisions, and all the other miscellaneous factors, your one-liner could end up being 300 lines.
当开始允许系统的子类型、逻辑系统部分以及所有其它杂项因素时,这一行程序会变成300行。
Customers are able to identify manufacturing and packaging lines as logical entities.
客户能够把生产线或包装线指定为逻辑实体。
You see, I have a small problem - 3 million lines of RPG and COBOL, 5,500 logical and physical files on a few AS400s that are not exactly cheap.
跟你说,我有个小问题——3百万行RPG和COBOL,5,500个逻辑和物理文件分散在几台不是很便宜的AS400上。
My reduce code then basically spits out the lines you saw in Listing 8. The logical flow looks something like this
我的reduce代码可以挑出您在清单8 中所见到的这几行。
Add the following lines (which represent the partition number, hostname, and logical-port) to db2nodes.cfg and save.
添加以下几行(表示分区号、主机名和逻辑端口)到db 2 nodes . cfg并保存。
Add the following lines (which represent the partition number, hostname, and logical-port) to db2nodes.cfg and save.
添加以下几行(表示分区号、主机名和逻辑端口)到db 2 nodes . cfg并保存。
应用推荐