As this method takes two byte arrays and returns another byte array, it can be used in series with itself any number of times to concatenate any number of byte arrays.
因为这个方法取两个字节数组并返回另一个字节数组,所以它可以自身串联任意次以串接任意数量的字节数组。
If a program reads a single byte in memory, the processor loads the whole cache line that contains that byte into the L2 and L1 caches.
如果一个程序在存储中读到一个单独的字节,处理器就会释放包含字节的所有的缓存线到L2和L1缓存中。
To encrypt a byte, we xor this pseudo-random byte with the byte we want to encrypt.
对一个字节进行加密,我们对伪随机字节和要加密的字节进行异或运算。
Note that the performance of 128-byte packets now approximates that of 1,024-byte packets, presumably as the result of improved batching.
注意,128字节数据包的性能现在与1,024字节数据包的性能大体相同,这可能是因为改进的批处理。
The cipher byte array is then decrypted, and the decrypted byte array is returned as a text string.
接着对该密码字节数组解密,解密的字节数组作为文本字符串返回。
The counting of string length using a byte is referred to as byte semantics in this article, and the counting of string length using the number of characters is referred to as character semantics.
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
The most obvious issue is that the interface in Listing 6 requires a JNI call for each bit set or retrieved, as well as a JNI call to read a byte from, or write a byte to, the serial port.
最显著的一个问题就是,清单6中的接口在设置或检索每个位,以及从串行端口读取字节或者向串行端口写入字节都需要一个JNI调用。
Brooks: the most important single decision I ever made was to change the IBM 360 series from a 6-bit byte to an 8-bit byte, thereby enabling the use of lowercase letters.
布鲁克斯:我觉得自己做过的最重要的一个决定就是把IBM 360从6字节改成8字节,从而使小写字母变得可以使用了。
If the length value is less than 256, I will need a total of 2 length bytes — 1 byte to indicate that there is 1 more length byte and 1 byte to hold the actual length value.
如果长度值小于256,那么就需要总共2个长度字节——1个字节表明还有一个长度字节,1个字节包含实际的长度值。
Byte arrays are limited in length to 75 percent of MAX_VALUE_LENGTH because byte arrays are stored by encoding them as strings.
字节数组限制为MAX_VALUE_LENGTH长度75%,因为字节数组是通过编码为字符串存储的。
RC4 begins by creating a 256-byte "s" byte array and populating it with 0 to 255. You then iterate over the array by mixing in bytes from the key.
RC4从创建一个256字节的数组“S”开始,并从0到255对其进行填充。
Unfortunately, there is no EBCDIC encoder by default, so we'll convert the value to a UTF-16LE byte array (which just adds in a "0" byte for the second byte of each character).
遗憾的是,缺省情况下没有EBCDIC编码器,所以我们将把值转换为utf- 16le字符数组(这只是为每个字符的第二个字节添加一个“0”字节)。
If the BIOS contains such an assumption, it's likely that your computer won't boot from a disk that has 4096-byte sectors and lacks firmware translation to 512-byte sectors.
如果BIOS包含这样一个假设,那么您的计算机可能不会从一个含4096字节扇区且缺乏到512字节扇区的固件转换的磁盘上启动。
Queue-level monitoring provides a graphical representation of various frequency attributes, such as open rate, close rate, get byte rate, put byte rate, and browse rate, for any given time interval.
队列级监视为给定的时间间隔提供各种频率属性的图形展示,例如打开率、关闭率、获取字节比率、放置字节比率以及浏览率。
Unlike some of the other tools, however, Findbugs USES byte code and the byte code Engineering Library, so it can be a challenge to learn how to implement new rules within the system.
但是与其他某些工具不同,Findbugs使用字节代码和字节代码工程库,因此学习如何在系统中实现新的规则可能是个挑战。
I don't exactly know where they are in RAM, but I know if I've got 2 gigabytes of RAM, zero is here, byte 1 is here, byte 2 is here, dot, dot, dot so maybe byte 123 is over here and 456 is here.
我不知道他们在内存中哪个地方,但是我知道如果我有2G内存,零在这里,字节1在这里,字节2在这里,等等等,所以可能123字节在这里,456字节在这里。
If it is, you will exclusive OR the last byte of the 8-byte parity-fixed block with 0xf0 (11110000).
如果是的话,就要用0xf0(11110000)与奇偶修正过的8字节块进行exclusiveOR。
Thus, I can cast the result of the bitwise operation as a byte, put the byte in a single-byte array, and return the array to the calling application.
因此,我可以将按位操作的结果造型为一个字节,将这个字节放入一个单字节数组,并将这个数组返回给调用应用程序。
Recall from the discussion of Table 2 in the first article of this series that there are two ways of representing length bytes: single-byte length notation and multi-byte length notation.
回想一下在本系列的第一篇文章中对表2的讨论,有两种表示字节长度的方法:单字节表示法和多字节表示法。
Note that an integer in J2ME is 4 bytes of data, while single-byte length notation needs only 1 byte.
注意在J2ME中一个整数是4字节数据,而单字节长度表示法只需要1个字节。
These algorithms can use less data on a per-byte basis to correct for more serious problems than is possible with 512-byte sectors.
这些算法可使每个字节使用较少的数据,从而比使用 512 字节扇区能纠正更多严重问题。
Remember that DMA transfers of 16 bytes or more must be in 16-byte multiples and aligned to 16-byte boundaries on both the SPE and the PPE.
记住,传输16字节或更多字节的dma在spe和PPE上必须是16字节的整数倍,并按照16字节边界进行对齐。
If loaded by different class loaders, two classes with the same name, even the same package name, are treated as distinct — even if, in fact, they are byte-for-byte the same class.
即使两个实例的类名字一样,甚至包名也一样,更甚至于每一个字节都是一样的,但是如果他们被不同的类加载器加载,他们也会被当着是不同的实例。
Figure 1 shows a data block (for example, a 512 byte sector) with the 8-byte footer attached to the end.
图1显示一个数据块(例如一个512字节的扇区),末尾有8字节的附加部分。
A final advantage of some (though not all) native XML databases is worth mentioning. They can retrieve the original, unparsed document, character-per-character or even byte-per-byte.
一些(不是全部)原生XML数据库带来的最后一个优点也值得一提,即能够逐字符甚至逐字节地检索原始的未解析文档。
That means that words will be 4-byte aligned, halfwords will be 2-byte aligned, and bytes don't have to be aligned at all.
这意味着字将是4字节对齐的,半字将是2字节对齐的,而字节则不需要对齐。
The result is that you can have numerous documents that are exactly equivalent in XML 1.0 rules, while being very different under byte-by-byte comparison of the encoded source.
结果造成您拥有许多按照XML 1.0规则完全等价的文档,但在对编码的源文件进行逐字节比较时,它们可能完全不同。
These numeric values represent the number of bytes in single-byte data and the number of double bytes in graphic or double-byte data.
这些数值表示单字节数据的字节数和图形或双字节数据的双字节数。
These numeric values represent the number of bytes in single-byte data and the number of double bytes in graphic or double-byte data.
这些数值表示单字节数据的字节数和图形或双字节数据的双字节数。
应用推荐