Endianness: is the ordering of individually addressable
sub-units (words, bytes, or even bits) within a longer data
word stored in external memory.
for example, the byte-order
Little Endian and Big Endian
In JNI, if the type is specified using java type, for example,
int a;
Then in JNI, we don't need to convert to little endian for Linux,
only those data in raw byte array, if we need convert them to same
data structure, for those int, short, long... , we need convert
them to local host format( linux is little endian, solaris is big endian)
Subscribe to:
Post Comments (Atom)
-
PageContext is an abstract class which extends javax.servlet.jsp.JspContext, it provides context information when JSP is used in servlet env...
-
Tranditional blocking I/O is not like Thread.sleep(), Object.wait(), Thread.join(), etc, it cannot interrupted by the Thread.interrupt() met...
-
This is a very interesting, in the JDK implementation, any number between -128 and 127, the JDK create a cache : static class valueOfCache...
No comments:
Post a Comment