这些未使用字节被保留并被设置为0;
使用字节码和编译器后端
在解析器使用字节码之后,我们目前实现的编译时优化有
Some of the compile-time optimizations we're looking at, now that we have a bytecode representation, include
一旦客户端与服务器建立连接,可通过使用字节缓存的通道来执行读写操作,如清单1所示。
Once the client is connected to the server, reads and writes can be performed via the channels using byte buffers, as shown in Listing 1.
与大多数使用字节码增强的框架相比,JiBX数据绑定实现了更复杂的代码生成。
JiBX data binding implements more complex code generation than most other frameworks using bytecode enhancement.
JiBX使用字节码增强向编译后的类添加方法,以便在类的实例与XML之间进行转换。
JiBX USES bytecode enhancement to add methods to compiled classes that convert instances of the classes to and from XML.
但是如果使用字节语义并使用UTF - 8对字符进行编码,则该字符串的长度为6字节。
But if byte semantics is used, and characters are encoded using UTF-8, then the length of the string is 6 bytes.
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
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.
该包装器使用字节数组来保存所产生的内容,在filter链处理完成之后我们利用数组的MD 5哈希值计算记号。
The wrapper USES a byte array to hold the generated content and after the filter chain processing completes we compute the token using an MD5 hash of the array.
但是与其他某些工具不同,Findbugs使用字节代码和字节代码工程库,因此学习如何在系统中实现新的规则可能是个挑战。
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.
第二个目标是:它应当迅速,使用字节码增强直接把绑定代码添加到应用程序类(与侵入性较小但是较慢的反射技术相反)。
The second was that it would be fast, using bytecode enhancement to add the binding code directly to the application classes (as opposed to the less invasive but slower technique of reflection).
使用字节索引值来代替标记的策略在某种程度上减少了重新构造后的文档的大小,但也限制算法只能处理不同标记数少于254的DTD。
The strategy of using byte index values in the place of tags reduces the size of restructured documents somewhat, but also limits the algorithm to handling DTDs with fewer than 254 distinct tags.
在该设置中,消息引擎对除besteffort之外的所有reliability质量级别的数据缓冲区使用字节为单位(默认值为320000)。
This setting is the size in bytes (the default is 320000) of the data buffer used by the messaging engine for all reliability levels other than best effort.
JD K中没有干这事的,故而你需要创建一个辅助方法用于打开FileInputStream,使用字节缓存区,并抛出相关的IOExceptions,等等。
There is nothing in the JDK to assist with this, so you'll need to create a helper method that opens a FileInputStream, USES a byte buffer, and throws the appropriate IOExceptions, etc.
在该设置中,消息引擎对besteffort和non -persistentreliability两个质量级别的数据缓冲区使用字节为单位(默认值为320000)。
This setting is the size in bytes (the default is 320000) of the data buffer used by the messaging engine for the best effort, non-persistent reliability level.
与之前的解释器使用遍历语法树的实现方式不同的是,SquirrelFish的实现采用字节码。
SquirrelFish differs from the previous implementation of the interpreter in that it uses a bytecode based strategy rather than syntax tree-walking interpretation.
尽管不能“按位置”修改字符串(如字节组),但程序可以引用字符串的元素或子序列,就象使用任何序列一样。
A program can refer to elements or subsequences of strings just as with any sequence, although strings, like tuples, cannot be modified "in place."
尽管不能“按位置”修改字符串(如字节组),但程序可以引用字符串的元素或子序列,就象使用任何序列一样。
A program can refer to elements or subsequences of strings just as with any sequence, although strings, like tuples, cannot be modified "in place."
应用推荐