Lines Matching defs:index
118 // read object ID from given index from given byte array
119 protected final long objectIdAt(int index, byte[] data) {
122 return ((long)intAt(index, data)) & Snapshot.SMALL_ID_MASK;
124 return longAt(index, data);
129 protected static byte byteAt(int index, byte[] value) {
130 return value[index];
133 protected static boolean booleanAt(int index, byte[] value) {
134 return (value[index] & 0xff) == 0? false: true;
137 protected static char charAt(int index, byte[] value) {
138 int b1 = ((int) value[index++] & 0xff);
139 int b2 = ((int) value[index++] & 0xff);
143 protected static short shortAt(int index, byte[] value) {
144 int b1 = ((int) value[index++] & 0xff);
145 int b2 = ((int) value[index++] & 0xff);
149 protected static int intAt(int index, byte[] value) {
150 int b1 = ((int) value[index++] & 0xff);
151 int b2 = ((int) value[index++] & 0xff);
152 int b3 = ((int) value[index++] & 0xff);
153 int b4 = ((int) value[index++] & 0xff);
157 protected static long longAt(int index, byte[] value) {
161 int b = ((int)value[index++]) & 0xff;
167 protected static float floatAt(int index, byte[] value) {
168 int val = intAt(index, value);
172 protected static double doubleAt(int index, byte[] value) {
173 long val = longAt(index, value);