public class org.eclipse.jgit.diff.SimilarityIndex
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.diff.SimilarityIndex
super_class: java.lang.Object
{
public static final org.eclipse.jgit.diff.SimilarityIndex$TableFullException TABLE_FULL_OUT_OF_MEMORY;
descriptor: Lorg/eclipse/jgit/diff/SimilarityIndex$TableFullException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int KEY_SHIFT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final long MAX_COUNT;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
private long hashedCnt;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int idSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int idGrowAt;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long[] idHash;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private int idHashBits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.eclipse.jgit.diff.SimilarityIndex$TableFullException
dup
invokespecial org.eclipse.jgit.diff.SimilarityIndex$TableFullException.<init>:()V
putstatic org.eclipse.jgit.diff.SimilarityIndex.TABLE_FULL_OUT_OF_MEMORY:Lorg/eclipse/jgit/diff/SimilarityIndex$TableFullException;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jgit.diff.SimilarityIndex create(org.eclipse.jgit.lib.ObjectLoader);
descriptor: (Lorg/eclipse/jgit/lib/ObjectLoader;)Lorg/eclipse/jgit/diff/SimilarityIndex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.eclipse.jgit.diff.SimilarityIndex
dup
invokespecial org.eclipse.jgit.diff.SimilarityIndex.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.hash:(Lorg/eclipse/jgit/lib/ObjectLoader;)V
2: aload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.sort:()V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lorg/eclipse/jgit/lib/ObjectLoader;
1 4 1 idx Lorg/eclipse/jgit/diff/SimilarityIndex;
Exceptions:
throws java.io.IOException, org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
obj
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 8
putfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
2: aload 0
iconst_1
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
ishl
newarray 11
putfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
3: aload 0
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
invokestatic org.eclipse.jgit.diff.SimilarityIndex.growAt:(I)I
putfield org.eclipse.jgit.diff.SimilarityIndex.idGrowAt:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
void hash(org.eclipse.jgit.lib.ObjectLoader);
descriptor: (Lorg/eclipse/jgit/lib/ObjectLoader;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.isLarge:()Z
ifeq 3
1: aload 0
aload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.hashLargeObject:(Lorg/eclipse/jgit/lib/ObjectLoader;)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:()[B
astore 2
start local 2 4: aload 0
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.hash:([BII)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 6 1 obj Lorg/eclipse/jgit/lib/ObjectLoader;
4 5 2 raw [B
Exceptions:
throws org.eclipse.jgit.errors.MissingObjectException, java.io.IOException, org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
obj
private void hashLargeObject(org.eclipse.jgit.lib.ObjectLoader);
descriptor: (Lorg/eclipse/jgit/lib/ObjectLoader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.openStream:()Lorg/eclipse/jgit/lib/ObjectStream;
astore 5
start local 5 2: aload 5
invokestatic org.eclipse.jgit.diff.RawText.isBinary:(Ljava/io/InputStream;)Z
ifeq 3
iconst_0
goto 4
StackMap locals: org.eclipse.jgit.diff.SimilarityIndex org.eclipse.jgit.lib.ObjectLoader top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectStream
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: aload 5
ifnull 11
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
goto 11
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 5
ifnull 7
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
end local 5 StackMap locals:
StackMap stack:
7: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 4
aload 3
ifnonnull 9
aload 4
astore 3
goto 10
StackMap locals:
StackMap stack:
9: aload 3
aload 4
if_acmpeq 10
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 3
athrow
start local 2 11: StackMap locals: org.eclipse.jgit.diff.SimilarityIndex org.eclipse.jgit.lib.ObjectLoader int
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
12: aload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.openStream:()Lorg/eclipse/jgit/lib/ObjectStream;
astore 5
start local 5 13: aload 0
aload 5
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectStream.getSize:()J
iload 2
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.hash:(Ljava/io/InputStream;JZ)V
14: aload 5
ifnull 20
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
goto 20
StackMap locals: org.eclipse.jgit.diff.SimilarityIndex org.eclipse.jgit.lib.ObjectLoader int java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectStream
StackMap stack: java.lang.Throwable
15: astore 3
aload 5
ifnull 16
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
end local 5 StackMap locals:
StackMap stack:
16: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 4
aload 3
ifnonnull 18
aload 4
astore 3
goto 19
StackMap locals:
StackMap stack:
18: aload 3
aload 4
if_acmpeq 19
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 3
athrow
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 21 1 obj Lorg/eclipse/jgit/lib/ObjectLoader;
5 6 2 text Z
11 21 2 text Z
2 7 5 in1 Lorg/eclipse/jgit/lib/ObjectStream;
13 16 5 in2 Lorg/eclipse/jgit/lib/ObjectStream;
Exception table:
from to target type
2 5 6 any
1 8 8 any
13 14 15 any
12 17 17 any
Exceptions:
throws java.io.IOException, org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
obj
void hash(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.eclipse.jgit.diff.RawText.isBinary:([B)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
lconst_0
putfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
4: goto 19
5: StackMap locals: int
StackMap stack:
sipush 5381
istore 5
start local 5 6: iconst_0
istore 6
start local 6 7: iload 2
istore 7
start local 7 8: StackMap locals: int int int
StackMap stack:
aload 1
iload 2
iinc 2 1
baload
sipush 255
iand
istore 8
start local 8 9: iload 4
ifeq 11
iload 8
bipush 13
if_icmpne 11
iload 2
iload 3
if_icmpge 11
aload 1
iload 2
baload
bipush 10
if_icmpne 11
10: goto 15
11: StackMap locals: int
StackMap stack:
iinc 6 1
12: iload 8
bipush 10
if_icmpne 14
13: goto 17
14: StackMap locals:
StackMap stack:
iload 5
iconst_5
ishl
iload 5
iadd
iload 8
iadd
istore 5
end local 8 15: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmpge 17
iload 2
iload 7
isub
bipush 64
16: if_icmplt 8
17: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
iload 6
i2l
ladd
putfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
18: aload 0
iload 5
iload 6
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.add:(II)V
end local 7 end local 6 end local 5 19: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 5
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 21 1 raw [B
0 21 2 ptr I
0 21 3 end I
3 21 4 text Z
6 19 5 hash I
7 19 6 blockHashedCnt I
8 19 7 start I
9 15 8 c I
Exceptions:
throws org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
raw
ptr
end
void hash(java.io.InputStream, long, boolean);
descriptor: (Ljava/io/InputStream;JZ)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 4 0: sipush 4096
newarray 8
astore 5
start local 5 1: iconst_0
istore 6
start local 6 2: iconst_0
istore 7
start local 7 3: goto 25
4: StackMap locals: byte[] int int
StackMap stack:
sipush 5381
istore 8
start local 8 5: iconst_0
istore 9
start local 9 6: iconst_0
istore 10
start local 10 7: StackMap locals: int int int
StackMap stack:
iload 6
iload 7
if_icmpne 12
8: iconst_0
istore 6
9: aload 1
aload 5
iconst_0
aload 5
arraylength
invokevirtual java.io.InputStream.read:([BII)I
istore 7
10: iload 7
ifgt 12
11: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
iinc 10 1
13: aload 5
iload 6
iinc 6 1
baload
sipush 255
iand
istore 11
start local 11 14: iload 4
ifeq 16
iload 11
bipush 13
if_icmpne 16
iload 6
iload 7
if_icmpge 16
aload 5
iload 6
baload
bipush 10
if_icmpne 16
15: goto 20
16: StackMap locals: int
StackMap stack:
iinc 9 1
17: iload 11
bipush 10
if_icmpne 19
18: goto 22
19: StackMap locals:
StackMap stack:
iload 8
iconst_5
ishl
iload 8
iadd
iload 11
iadd
istore 8
end local 11 20: StackMap locals:
StackMap stack:
iload 10
bipush 64
if_icmpge 22
iload 10
i2l
lload 2
21: lcmp
iflt 7
22: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
iload 9
i2l
ladd
putfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
23: aload 0
iload 8
iload 9
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.add:(II)V
24: lload 2
iload 10
i2l
lsub
lstore 2
end local 10 end local 9 end local 8 25: StackMap locals:
StackMap stack:
lconst_0
lload 2
lcmp
iflt 4
26: return
end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 27 1 in Ljava/io/InputStream;
0 27 2 remaining J
0 27 4 text Z
1 27 5 buf [B
2 27 6 ptr I
3 27 7 cnt I
5 25 8 hash I
6 25 9 blockHashedCnt I
7 25 10 n I
14 20 11 c I
Exceptions:
throws java.io.IOException, org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
in
remaining
text
void sort();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
invokestatic java.util.Arrays.sort:([J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
public int score(org.eclipse.jgit.diff.SimilarityIndex, int);
descriptor: (Lorg/eclipse/jgit/diff/SimilarityIndex;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
aload 1
getfield org.eclipse.jgit.diff.SimilarityIndex.hashedCnt:J
invokestatic java.lang.Math.max:(JJ)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 3
2: iload 2
ireturn
3: StackMap locals: long
StackMap stack:
aload 0
aload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.common:(Lorg/eclipse/jgit/diff/SimilarityIndex;)J
iload 2
i2l
lmul
lload 3
ldiv
l2i
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 4 1 dst Lorg/eclipse/jgit/diff/SimilarityIndex;
0 4 2 maxScore I
1 4 3 max J
MethodParameters:
Name Flags
dst
maxScore
long common(org.eclipse.jgit.diff.SimilarityIndex);
descriptor: (Lorg/eclipse/jgit/diff/SimilarityIndex;)J
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.eclipse.jgit.diff.SimilarityIndex.common:(Lorg/eclipse/jgit/diff/SimilarityIndex;Lorg/eclipse/jgit/diff/SimilarityIndex;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 1 1 dst Lorg/eclipse/jgit/diff/SimilarityIndex;
MethodParameters:
Name Flags
dst
private static long common(org.eclipse.jgit.diff.SimilarityIndex, org.eclipse.jgit.diff.SimilarityIndex);
descriptor: (Lorg/eclipse/jgit/diff/SimilarityIndex;Lorg/eclipse/jgit/diff/SimilarityIndex;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.packedIndex:(I)I
istore 2
start local 2 1: aload 1
iconst_0
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.packedIndex:(I)I
istore 3
start local 3 2: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
astore 4
start local 4 3: aload 1
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
astore 5
start local 5 4: aload 4
iload 2
aload 5
iload 3
invokestatic org.eclipse.jgit.diff.SimilarityIndex.common:([JI[JI)J
lreturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 src Lorg/eclipse/jgit/diff/SimilarityIndex;
0 5 1 dst Lorg/eclipse/jgit/diff/SimilarityIndex;
1 5 2 srcIdx I
2 5 3 dstIdx I
3 5 4 srcHash [J
4 5 5 dstHash [J
MethodParameters:
Name Flags
src
dst
private static long common(long[], int, long[], int);
descriptor: ([JI[JI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
aload 0
arraylength
if_icmpeq 1
iload 3
aload 2
arraylength
if_icmpne 2
1: StackMap locals:
StackMap stack:
lconst_0
lreturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 4
start local 4 3: aload 0
iload 1
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 6
start local 6 4: aload 2
iload 3
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 7
start local 7 5: StackMap locals: long int int
StackMap stack:
iload 6
iload 7
if_icmpne 16
6: lload 4
aload 0
iload 1
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.countOf:(J)J
7: aload 2
iload 3
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.countOf:(J)J
8: invokestatic java.lang.Math.min:(JJ)J
ladd
lstore 4
9: iinc 1 1
iload 1
aload 0
arraylength
if_icmpne 11
10: goto 25
11: StackMap locals:
StackMap stack:
aload 0
iload 1
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 6
12: iinc 3 1
iload 3
aload 2
arraylength
if_icmpne 14
13: goto 25
14: StackMap locals:
StackMap stack:
aload 2
iload 3
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 7
15: goto 5
StackMap locals:
StackMap stack:
16: iload 6
iload 7
if_icmpge 21
17: iinc 1 1
iload 1
aload 0
arraylength
if_icmpne 19
18: goto 25
19: StackMap locals:
StackMap stack:
aload 0
iload 1
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 6
20: goto 5
21: StackMap locals:
StackMap stack:
iinc 3 1
iload 3
aload 2
arraylength
if_icmpne 23
22: goto 25
23: StackMap locals:
StackMap stack:
aload 2
iload 3
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
istore 7
24: goto 5
25: StackMap locals:
StackMap stack:
lload 4
lreturn
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 srcHash [J
0 26 1 srcIdx I
0 26 2 dstHash [J
0 26 3 dstIdx I
3 26 4 common J
4 26 6 srcKey I
5 26 7 dstKey I
MethodParameters:
Name Flags
srcHash
srcIdx
dstHash
dstIdx
int size();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
int key(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
aload 0
iload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.packedIndex:(I)I
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 1 1 idx I
MethodParameters:
Name Flags
idx
long count(int);
descriptor: (I)J
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
aload 0
iload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.packedIndex:(I)I
laload
invokestatic org.eclipse.jgit.diff.SimilarityIndex.countOf:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 1 1 idx I
MethodParameters:
Name Flags
idx
int findIndex(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.key:(I)I
iload 1
if_icmpne 4
3: iload 2
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
if_icmplt 2
end local 2 6: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 7 1 key I
1 6 2 i I
MethodParameters:
Name Flags
key
private int packedIndex(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
arraylength
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
isub
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 1 1 idx I
MethodParameters:
Name Flags
idx
void add(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ldc -1640562687
imul
iconst_1
iushr
istore 1
1: aload 0
iload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.slot:(I)I
istore 3
start local 3 2: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
iload 3
laload
lstore 4
start local 4 3: lload 4
lconst_0
lcmp
ifne 11
4: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idGrowAt:I
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
if_icmpgt 8
5: aload 0
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.grow:()V
6: aload 0
iload 1
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.slot:(I)I
istore 3
7: goto 2
8: StackMap locals: long
StackMap stack:
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
iload 3
iload 1
iload 2
i2l
invokestatic org.eclipse.jgit.diff.SimilarityIndex.pair:(IJ)J
lastore
9: aload 0
dup
getfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
iconst_1
iadd
putfield org.eclipse.jgit.diff.SimilarityIndex.idSize:I
10: return
11: StackMap locals:
StackMap stack:
lload 4
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
iload 1
if_icmpne 14
12: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
iload 3
iload 1
lload 4
invokestatic org.eclipse.jgit.diff.SimilarityIndex.countOf:(J)J
iload 2
i2l
ladd
invokestatic org.eclipse.jgit.diff.SimilarityIndex.pair:(IJ)J
lastore
13: return
14: StackMap locals:
StackMap stack:
iinc 3 1
iload 3
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
arraylength
if_icmplt 2
15: iconst_0
istore 3
end local 4 16: goto 2
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 17 1 key I
0 17 2 cnt I
2 17 3 j I
3 16 4 v J
Exceptions:
throws org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
key
cnt
private static long pair(int, long);
descriptor: (IJ)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: ldc 4294967295
lload 1
lcmp
ifge 2
1: new org.eclipse.jgit.diff.SimilarityIndex$TableFullException
dup
invokespecial org.eclipse.jgit.diff.SimilarityIndex$TableFullException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 0
i2l
bipush 32
lshl
lload 1
lor
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key I
0 3 1 cnt J
Exceptions:
throws org.eclipse.jgit.diff.SimilarityIndex$TableFullException
MethodParameters:
Name Flags
key
cnt
private int slot(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 31
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
isub
iushr
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
0 1 1 key I
MethodParameters:
Name Flags
key
private static int growAt(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_1
iload 0
ishl
iload 0
iconst_3
isub
imul
iload 0
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 idHashBits I
MethodParameters:
Name Flags
idHashBits
private void grow();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
bipush 30
if_icmpne 2
1: new org.eclipse.jgit.diff.SimilarityIndex$TableFullException
dup
invokespecial org.eclipse.jgit.diff.SimilarityIndex$TableFullException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
astore 1
start local 1 3: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
arraylength
istore 2
start local 2 4: aload 0
dup
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
iconst_1
iadd
putfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
5: aload 0
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
invokestatic org.eclipse.jgit.diff.SimilarityIndex.growAt:(I)I
putfield org.eclipse.jgit.diff.SimilarityIndex.idGrowAt:I
6: aload 0
iconst_1
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHashBits:I
ishl
newarray 11
putfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
7: goto 10
StackMap locals: org.eclipse.jgit.diff.SimilarityIndex long[] int
StackMap stack: java.lang.OutOfMemoryError
8: pop
9: getstatic org.eclipse.jgit.diff.SimilarityIndex.TABLE_FULL_OUT_OF_MEMORY:Lorg/eclipse/jgit/diff/SimilarityIndex$TableFullException;
athrow
10: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 11: goto 21
12: StackMap locals: int
StackMap stack:
aload 1
iload 3
laload
lstore 4
start local 4 13: lload 4
lconst_0
lcmp
ifeq 20
14: aload 0
lload 4
invokestatic org.eclipse.jgit.diff.SimilarityIndex.keyOf:(J)I
invokevirtual org.eclipse.jgit.diff.SimilarityIndex.slot:(I)I
istore 6
start local 6 15: goto 18
16: StackMap locals: long int
StackMap stack:
iinc 6 1
iload 6
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
arraylength
if_icmplt 18
17: iconst_0
istore 6
18: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
iload 6
laload
lconst_0
lcmp
ifne 16
19: aload 0
getfield org.eclipse.jgit.diff.SimilarityIndex.idHash:[J
iload 6
lload 4
lastore
end local 6 end local 4 20: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
21: iload 3
iload 2
if_icmplt 12
end local 3 22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jgit/diff/SimilarityIndex;
3 23 1 oldHash [J
4 23 2 oldSize I
11 22 3 i I
13 20 4 v J
15 20 6 j I
Exception table:
from to target type
6 7 8 Class java.lang.OutOfMemoryError
Exceptions:
throws org.eclipse.jgit.diff.SimilarityIndex$TableFullException
private static int keyOf(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: lload 0
bipush 32
lushr
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
private static long countOf(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 4294967295
land
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
}
SourceFile: "SimilarityIndex.java"
NestMembers:
org.eclipse.jgit.diff.SimilarityIndex$TableFullException
InnerClasses:
public TableFullException = org.eclipse.jgit.diff.SimilarityIndex$TableFullException of org.eclipse.jgit.diff.SimilarityIndex