final class com.google.common.hash.LittleEndianByteArray
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.hash.LittleEndianByteArray
super_class: java.lang.Object
{
private static final com.google.common.hash.LittleEndianByteArray$LittleEndianBytes byteArray;
descriptor: Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lcom/google/common/hash/LittleEndianByteArray;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.google.common.hash.LittleEndianByteArray.$assertionsDisabled:Z
3: getstatic com.google.common.hash.LittleEndianByteArray$JavaLittleEndianBytes.INSTANCE:Lcom/google/common/hash/LittleEndianByteArray$JavaLittleEndianBytes;
astore 0
start local 0 4: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 5: ldc "amd64"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
6: invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: getstatic com.google.common.hash.LittleEndianByteArray$UnsafeByteArray.UNSAFE_LITTLE_ENDIAN:Lcom/google/common/hash/LittleEndianByteArray$UnsafeByteArray;
goto 9
8: StackMap locals: com.google.common.hash.LittleEndianByteArray$LittleEndianBytes java.lang.String
StackMap stack:
getstatic com.google.common.hash.LittleEndianByteArray$UnsafeByteArray.UNSAFE_BIG_ENDIAN:Lcom/google/common/hash/LittleEndianByteArray$UnsafeByteArray;
9: StackMap locals:
StackMap stack: com.google.common.hash.LittleEndianByteArray$UnsafeByteArray
astore 0
end local 1 10: goto 12
StackMap locals: com.google.common.hash.LittleEndianByteArray$LittleEndianBytes
StackMap stack: java.lang.Throwable
11: pop
12: StackMap locals:
StackMap stack:
aload 0
putstatic com.google.common.hash.LittleEndianByteArray.byteArray:Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
end local 0 13: return
LocalVariableTable:
Start End Slot Name Signature
4 13 0 theGetter Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
5 10 1 arch Ljava/lang/String;
Exception table:
from to target type
4 10 11 Class java.lang.Throwable
static long load64(byte[], int);
descriptor: ([BI)J
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.google.common.hash.LittleEndianByteArray.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
iload 1
bipush 8
iadd
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.google.common.hash.LittleEndianByteArray.byteArray:Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
aload 0
iload 1
invokeinterface com.google.common.hash.LittleEndianByteArray$LittleEndianBytes.getLongLittleEndian:([BI)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input [B
0 2 1 offset I
MethodParameters:
Name Flags
input
offset
static long load64Safely(byte[], int, int);
descriptor: ([BII)J
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 3
start local 3 1: iload 2
bipush 8
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 6
4: StackMap locals: long int int
StackMap stack:
lload 3
aload 0
iload 1
iload 6
iadd
baload
i2l
ldc 255
land
iload 6
bipush 8
imul
lshl
lor
lstore 3
5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
iload 5
if_icmplt 4
end local 6 7: lload 3
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input [B
0 8 1 offset I
0 8 2 length I
1 8 3 result J
2 8 5 limit I
3 7 6 i I
MethodParameters:
Name Flags
input
offset
length
static void store64(byte[], int, long);
descriptor: ([BIJ)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.google.common.hash.LittleEndianByteArray.$assertionsDisabled:Z
ifne 2
iload 1
iflt 1
iload 1
bipush 8
iadd
aload 0
arraylength
if_icmple 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.google.common.hash.LittleEndianByteArray.byteArray:Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
aload 0
iload 1
lload 2
invokeinterface com.google.common.hash.LittleEndianByteArray$LittleEndianBytes.putLongLittleEndian:([BIJ)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sink [B
0 4 1 offset I
0 4 2 value J
MethodParameters:
Name Flags
sink
offset
value
static int load32(byte[], int);
descriptor: ([BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
baload
sipush 255
iand
1: aload 0
iload 1
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
iload 1
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
4: ior
5: aload 0
iload 1
iconst_3
iadd
baload
sipush 255
iand
bipush 24
ishl
6: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 source [B
0 7 1 offset I
MethodParameters:
Name Flags
source
offset
static boolean usingUnsafe();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.hash.LittleEndianByteArray.byteArray:Lcom/google/common/hash/LittleEndianByteArray$LittleEndianBytes;
instanceof com.google.common.hash.LittleEndianByteArray$UnsafeByteArray
ireturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/hash/LittleEndianByteArray;
}
SourceFile: "LittleEndianByteArray.java"
NestMembers:
com.google.common.hash.LittleEndianByteArray$JavaLittleEndianBytes com.google.common.hash.LittleEndianByteArray$JavaLittleEndianBytes$1 com.google.common.hash.LittleEndianByteArray$LittleEndianBytes com.google.common.hash.LittleEndianByteArray$UnsafeByteArray com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$1 com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$2 com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$3
InnerClasses:
private abstract JavaLittleEndianBytes = com.google.common.hash.LittleEndianByteArray$JavaLittleEndianBytes of com.google.common.hash.LittleEndianByteArray
private abstract LittleEndianBytes = com.google.common.hash.LittleEndianByteArray$LittleEndianBytes of com.google.common.hash.LittleEndianByteArray
private abstract UnsafeByteArray = com.google.common.hash.LittleEndianByteArray$UnsafeByteArray of com.google.common.hash.LittleEndianByteArray