public final class org.glassfish.grizzly.http.util.ByteChunk implements org.glassfish.grizzly.http.util.Chunk, java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.ByteChunk
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private byte[] buff;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int start;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
private boolean isSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int limit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private transient org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel in;
descriptor: Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel out;
descriptor: Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private boolean optimizedWrite;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String cachedString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.Charset cachedStringCharset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARSET:Ljava/nio/charset/Charset;
putstatic org.glassfish.grizzly.http.util.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
2: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
3: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
4: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
5: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
6: aload 0
iconst_1
putfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
2: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
3: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
4: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
5: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
6: aload 0
iconst_1
putfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
7: aload 0
iload 1
iconst_m1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.allocate:(II)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 9 1 initial I
MethodParameters:
Name Flags
initial
public org.glassfish.grizzly.http.util.ByteChunk getClone();
descriptor: ()Lorg/glassfish/grizzly/http/util/ByteChunk;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.clone:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.util.ByteChunk
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
public boolean isNull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
2: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
3: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void recycleAndReset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
2: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
3: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
4: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
5: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
1: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
protected void resetStringCache();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.util.ByteChunk.cachedStringCharset:Ljava/nio/charset/Charset;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void allocate(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
ifnull 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
iload 1
if_icmpge 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
newarray 8
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
2: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
3: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
4: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
5: aload 0
iconst_1
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
6: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 8 1 initial I
0 8 2 limit I
MethodParameters:
Name Flags
initial
limit
public void setBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
1: aload 0
iload 2
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
2: aload 0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 3
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
3: aload 0
iconst_1
putfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
4: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 6 1 b [B
0 6 2 off I
0 6 3 len I
MethodParameters:
Name Flags
b
off
len
public void setOptimizedWrite(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 optimizedWrite Z
MethodParameters:
Name Flags
optimizedWrite
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnull 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.glassfish.grizzly.http.util.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
StackMap locals:
StackMap stack: java.nio.charset.Charset
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void setCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
1: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 3 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public byte[] getBuffer();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int getStart();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int getOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void setStart(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 1
if_icmpge 2
1: aload 0
iload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
3: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 5 1 start I
MethodParameters:
Name Flags
start
public void setOffset(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.setStart:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 off I
MethodParameters:
Name Flags
off
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void setLimit(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
1: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 3 1 limit I
MethodParameters:
Name Flags
limit
public int getLimit();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void setByteInputChannel(org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 in Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
MethodParameters:
Name Flags
in
public void setByteOutputChannel(org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 out Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
MethodParameters:
Name Flags
out
public int getEnd();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public void setEnd(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
1: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 3 1 i I
MethodParameters:
Name Flags
i
protected void notifyDirectUpdate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int indexOf(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: iload 3
ifne 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iadd
istore 4
start local 4 4: iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 4
isub
if_icmple 6
5: iconst_m1
ireturn
6: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 7: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
isub
istore 6
start local 6 8: goto 16
9: StackMap locals: int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iload 4
baload
istore 7
start local 7 10: iload 7
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 14
11: iinc 5 1
12: iload 5
iload 3
if_icmpne 15
13: iload 4
iload 3
isub
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
iconst_1
iadd
ireturn
14: StackMap locals: int
StackMap stack:
iconst_0
istore 5
15: StackMap locals:
StackMap stack:
iinc 4 1
end local 7 16: StackMap locals:
StackMap stack:
iload 4
iload 6
iload 5
iadd
if_icmple 9
17: iconst_m1
ireturn
end local 6 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 18 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 18 1 s Ljava/lang/String;
0 18 2 fromIdx I
1 18 3 strLen I
4 18 4 absFromIdx I
7 18 5 strOffs I
8 18 6 lastOffs I
10 16 7 b B
MethodParameters:
Name Flags
s final
fromIdx
public void delete(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 1
iadd
istore 3
start local 3 2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 2
iadd
istore 4
start local 4 3: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 4
isub
istore 5
start local 5 4: iload 5
ifne 7
5: aload 0
iload 3
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
6: goto 9
7: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iload 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iload 3
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
iload 3
iload 5
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
9: StackMap locals:
StackMap stack:
return
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 10 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 10 1 start I
0 10 2 end I
2 10 3 absDeleteStart I
3 10 4 absDeleteEnd I
4 10 5 diff I
MethodParameters:
Name Flags
start final
end final
public void append(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
i2b
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.append:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void append(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
iconst_1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.makeSpace:(I)V
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifle 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmplt 4
3: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.flushBuffer:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 1
bastore
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 6 1 b B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void append(org.glassfish.grizzly.http.util.ByteChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBytes:()[B
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.append:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 1 src Lorg/glassfish/grizzly/http/util/ByteChunk;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public void append(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
iload 3
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.makeSpace:(I)V
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifge 6
3: aload 1
iload 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
ifeq 9
iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmpne 9
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
if_icmpne 9
7: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
aload 1
iload 2
iload 3
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
8: return
9: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
isub
if_icmpgt 13
10: aload 1
iload 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
isub
istore 4
start local 4 14: aload 1
iload 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 4
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
16: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.flushBuffer:()V
17: iload 3
iload 4
isub
istore 5
start local 5 18: goto 21
19: StackMap locals: int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
aload 1
iload 2
iload 3
iadd
iload 5
isub
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
isub
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
20: iload 5
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
isub
isub
istore 5
21: StackMap locals:
StackMap stack:
iload 5
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
isub
if_icmpgt 19
22: aload 1
iload 2
iload 3
iadd
iload 5
isub
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 5
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
24: return
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 25 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 25 1 src [B
0 25 2 off I
0 25 3 len I
14 25 4 avail I
18 25 5 remain I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
off
len
public int substract();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ifne 7
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iconst_0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel.realReadBytes:([BII)I
istore 1
start local 1 5: iload 1
ifge 7
6: iconst_m1
ireturn
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
5 7 1 n I
Exceptions:
throws java.io.IOException
public int substract(org.glassfish.grizzly.http.util.ByteChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ifne 7
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iconst_0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel.realReadBytes:([BII)I
istore 2
start local 2 5: iload 2
ifge 7
6: iconst_m1
ireturn
end local 2 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
istore 2
start local 2 8: aload 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 2
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.append:([BII)V
9: aload 0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
10: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 11 1 src Lorg/glassfish/grizzly/http/util/ByteChunk;
5 7 2 n I
8 11 2 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public int substract(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ifne 7
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iconst_0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel.realReadBytes:([BII)I
istore 4
start local 4 5: iload 4
ifge 7
6: iconst_m1
ireturn
end local 4 7: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 8: iload 3
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
if_icmple 10
9: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
istore 4
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 4
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
12: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 13 1 src [B
0 13 2 off I
0 13 3 len I
5 7 4 n I
8 13 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
off
len
public void flushBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
ifnonnull 2
1: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Buffer overflow, no sink "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokeinterface org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
3: aload 0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
Exceptions:
throws java.io.IOException
boolean canGrow();
descriptor: ()Z
flags: (0x0000)
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
iconst_2
imul
istore 1
start local 1 3: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifle 5
iload 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmple 5
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
if_icmple 5
4: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
istore 1
5: StackMap locals: int
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 6: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 2
iconst_0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
aload 2
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
8: aconst_null
astore 2
9: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
10: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
11: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
3 12 1 desiredSize I
6 12 2 tmp [B
private void makeSpace(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 1
iadd
istore 4
start local 4 1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifle 3
iload 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmple 3
2: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
istore 4
3: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int top top int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
ifnonnull 7
4: iload 4
sipush 256
if_icmpge 6
5: sipush 256
istore 4
6: StackMap locals:
StackMap stack:
aload 0
iload 4
newarray 8
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
7: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
if_icmpgt 9
8: return
9: StackMap locals:
StackMap stack:
iload 4
iconst_2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
imul
if_icmpge 15
10: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
iconst_2
imul
istore 3
start local 3 11: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifle 13
iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmple 13
12: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
istore 3
13: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int top int int
StackMap stack:
iload 3
newarray 8
astore 2
start local 2 14: goto 19
end local 3 end local 2 15: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int top top int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
arraylength
iconst_2
imul
iload 1
iadd
istore 3
start local 3 16: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
ifle 18
iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmple 18
17: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
istore 3
18: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int top int int
StackMap stack:
iload 3
newarray 8
astore 2
start local 2 19: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int byte[] int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 2
iconst_0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: aload 0
aload 2
putfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
21: aconst_null
astore 2
22: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
putfield org.glassfish.grizzly.http.util.ByteChunk.end:I
23: aload 0
iconst_0
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
24: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 25 1 count I
14 15 2 tmp [B
19 25 2 tmp [B
11 15 3 newSize I
16 25 3 newSize I
1 25 4 desiredSize I
MethodParameters:
Name Flags
count
public void trimLeft();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
iconst_1
istore 1
3: aload 0
dup
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iconst_1
iadd
putfield org.glassfish.grizzly.http.util.ByteChunk.start:I
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
baload
bipush 32
if_icmple 2
5: iload 1
ifeq 7
6: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.resetStringCache:()V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
1 8 1 modified Z
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
ifnull 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.toStringInternal:()Ljava/lang/String;
putfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
5: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public java.lang.String toString(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
if_icmpne 2
iload 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
if_icmpne 2
1: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
iload 2
iload 1
isub
ifne 6
5: ldc ""
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnonnull 8
7: aload 0
getstatic org.glassfish.grizzly.http.util.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
8: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 1
iadd
iload 2
iload 1
isub
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
9: areturn
10: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 11: new java.lang.IllegalStateException
dup
ldc "Unexpected error"
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 12 1 start I
0 12 2 end I
11 12 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
8 9 10 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
start
end
public java.lang.String toString(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnull 2
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
goto 3
StackMap locals:
StackMap stack:
2: getstatic org.glassfish.grizzly.http.util.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
StackMap locals:
StackMap stack: java.nio.charset.Charset
3: astore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
ifnull 6
aload 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedStringCharset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
putfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
7: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.ByteChunk.cachedStringCharset:Ljava/nio/charset/Charset;
8: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.cachedString:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 9 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public java.lang.String toStringInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnonnull 2
1: aload 0
getstatic org.glassfish.grizzly.http.util.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int getInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic org.glassfish.grizzly.http.util.Ascii.parseInt:([BII)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic org.glassfish.grizzly.http.util.Ascii.parseLong:([BII)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
invokestatic java.util.Arrays.hashCode:([B)I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
ifeq 5
iconst_1
goto 6
StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int
StackMap stack: int
5: iconst_0
StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int
StackMap stack: int int
6: iadd
istore 1
7: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
iadd
istore 1
8: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
9: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
10: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack: int
11: iconst_0
StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int
StackMap stack: int int
12: iadd
istore 1
13: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
1 14 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.http.util.ByteChunk
astore 2
start local 2 5: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.isSet:Z
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.limit:I
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.optimizedWrite:Z
if_icmpeq 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
if_icmpeq 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnull 18
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.equals:(Ljava/lang/Object;)Z
ifne 20
goto 19
StackMap locals:
StackMap stack:
18: aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnull 20
19: StackMap locals:
StackMap stack:
iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
ifnull 21
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 23
goto 22
StackMap locals:
StackMap stack:
21: aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.in:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteInputChannel;
ifnull 23
22: StackMap locals:
StackMap stack:
iconst_0
ireturn
23: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
ifnull 24
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 26
goto 25
StackMap locals:
StackMap stack:
24: aload 2
getfield org.glassfish.grizzly.http.util.ByteChunk.out:Lorg/glassfish/grizzly/http/util/ByteChunk$ByteOutputChannel;
ifnull 26
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 27 1 o Ljava/lang/Object;
5 27 2 byteChunk Lorg/glassfish/grizzly/http/util/ByteChunk;
MethodParameters:
Name Flags
o
public boolean equals(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
aload 1
invokestatic org.glassfish.grizzly.http.util.ByteChunk.equals:([BIILjava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s final
public boolean equals(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
aload 1
iconst_0
aload 1
arraylength
invokestatic org.glassfish.grizzly.http.util.ByteChunk.equals:([BII[BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 bytes [B
MethodParameters:
Name Flags
bytes final
public boolean equalsIgnoreCase(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
aload 1
invokestatic org.glassfish.grizzly.http.util.ByteChunk.equalsIgnoreCase:([BIILjava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s final
public boolean equalsIgnoreCase(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.equalsIgnoreCase:([BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 b [B
MethodParameters:
Name Flags
b final
public boolean equalsIgnoreCase(byte[], int, int);
descriptor: ([BII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
aload 1
iload 2
iload 3
invokestatic org.glassfish.grizzly.http.util.ByteChunk.equalsIgnoreCase:([BII[BII)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 b [B
0 1 2 offset I
0 1 3 len I
MethodParameters:
Name Flags
b final
offset final
len final
public boolean equalsIgnoreCaseLowerCase(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 1
invokestatic org.glassfish.grizzly.http.util.ByteChunk.equalsIgnoreCaseLowerCase:([BII[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 cmpTo [B
MethodParameters:
Name Flags
cmpTo
public boolean equals(org.glassfish.grizzly.http.util.ByteChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBytes:()[B
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.equals:([BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 bb Lorg/glassfish/grizzly/http/util/ByteChunk;
MethodParameters:
Name Flags
bb
public boolean equals(byte[], int, int);
descriptor: ([BII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
astore 4
start local 4 1: aload 4
ifnonnull 3
aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: byte[]
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
istore 5
start local 5 4: iload 3
iload 5
if_icmpne 5
aload 4
ifnull 5
aload 1
ifnonnull 6
5: StackMap locals: int
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
istore 6
start local 6 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 4
iload 6
iinc 6 1
baload
aload 1
iload 2
iinc 2 1
baload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 8
11: iconst_1
ireturn
end local 6 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 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 12 1 b2 [B
0 12 2 off2 I
0 12 3 len2 I
1 12 4 b1 [B
4 12 5 len I
7 12 6 off1 I
MethodParameters:
Name Flags
b2
off2
len2
public boolean equals(org.glassfish.grizzly.http.util.CharChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/CharChunk;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getChars:()[C
aload 1
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getStart:()I
aload 1
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getLength:()I
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.equals:([CII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 cc Lorg/glassfish/grizzly/http/util/CharChunk;
MethodParameters:
Name Flags
cc
public boolean equals(char[], int, int);
descriptor: ([CII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
astore 4
start local 4 1: aload 1
ifnonnull 3
aload 4
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: byte[]
StackMap stack:
aload 4
ifnull 4
aload 1
ifnull 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
iload 3
if_icmpeq 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
istore 5
start local 5 6: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
istore 6
start local 6 7: goto 10
8: StackMap locals: int int
StackMap stack:
aload 4
iload 5
iinc 5 1
baload
i2c
aload 1
iload 2
iinc 2 1
caload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 6
iinc 6 -1
ifgt 8
11: iconst_1
ireturn
end local 6 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 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 12 1 c2 [C
0 12 2 off2 I
0 12 3 len2 I
1 12 4 b1 [B
6 12 5 off1 I
7 12 6 len I
MethodParameters:
Name Flags
c2
off2
len2
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.startsWith:(Ljava/lang/String;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public boolean startsWith(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aload 3
ifnull 3
iload 4
iload 2
iadd
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
if_icmple 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 2
iadd
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 3
iload 5
iinc 5 1
baload
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 7
end local 6 11: iconst_1
ireturn
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 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 12 1 s Ljava/lang/String;
0 12 2 offset I
1 12 3 b [B
2 12 4 len I
5 12 5 off I
6 11 6 i I
MethodParameters:
Name Flags
s
offset
public boolean startsWith(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
astore 2
start local 2 1: aload 2
ifnonnull 3
aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: byte[]
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
istore 3
start local 3 4: aload 2
ifnull 5
aload 1
ifnull 5
aload 1
arraylength
iload 3
if_icmple 6
5: StackMap locals: int
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 11
9: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
baload
aload 1
iload 5
iinc 5 1
baload
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
if_icmpge 12
iload 5
aload 1
arraylength
if_icmplt 9
end local 5 end local 4 12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 13 1 b2 [B
1 13 2 b1 [B
4 13 3 len I
7 12 4 i I
8 12 5 j I
MethodParameters:
Name Flags
b2
public boolean startsWithIgnoreCase(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aload 3
ifnull 3
iload 4
iload 2
iadd
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
if_icmple 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 2
iadd
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 3
iload 5
iinc 5 1
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 7
end local 6 11: iconst_1
ireturn
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 12 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 12 1 s Ljava/lang/String;
0 12 2 pos I
1 12 3 b [B
2 12 4 len I
5 12 5 off I
6 11 6 i I
MethodParameters:
Name Flags
s
pos
public int indexOf(java.lang.String, int, int, int);
descriptor: (Ljava/lang/String;III)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 1: iload 2
iload 3
iadd
istore 6
start local 6 2: iload 4
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iadd
istore 7
start local 7 3: goto 15
4: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iload 7
baload
iload 5
if_icmpeq 6
5: goto 14
6: StackMap locals:
StackMap stack:
iload 7
iconst_1
iadd
istore 8
start local 8 7: iload 2
iconst_1
iadd
istore 9
start local 9 8: goto 13
9: StackMap locals: int int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
iload 8
iinc 8 1
baload
aload 1
iload 9
iinc 9 1
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 11
10: goto 14
11: StackMap locals:
StackMap stack:
iload 9
iload 6
if_icmpne 13
12: iload 7
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
ireturn
13: StackMap locals:
StackMap stack:
iload 9
iload 6
if_icmplt 9
end local 9 end local 8 14: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 3
isub
if_icmple 4
end local 7 16: iconst_m1
ireturn
end local 6 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 17 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 17 1 src Ljava/lang/String;
0 17 2 srcOff I
0 17 3 srcLen I
0 17 4 myOff I
1 17 5 first C
2 17 6 srcEnd I
3 16 7 i I
7 14 8 myPos I
8 14 9 srcPos I
MethodParameters:
Name Flags
src
srcOff
srcLen
myOff
public int hash();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic org.glassfish.grizzly.http.util.ByteChunk.hashBytes:([BII)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public int hashIgnoreCase();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
invokestatic org.glassfish.grizzly.http.util.ByteChunk.hashBytesIC:([BII)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
public static boolean equals(byte[], int, int, byte[], int, int);
descriptor: ([BII[BII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 5
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 3
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
ifnull 5
aload 3
ifnonnull 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
iload 6
iload 1
iadd
baload
aload 3
iload 6
iload 4
iadd
baload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 2
if_icmplt 8
end local 6 12: iconst_1
ireturn
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 13 0 b1 [B
0 13 1 b1Offs I
0 13 2 b1Len I
0 13 3 b2 [B
0 13 4 b2Offs I
0 13 5 b2Len I
7 12 6 i I
MethodParameters:
Name Flags
b1 final
b1Offs final
b1Len final
b2 final
b2Offs final
b2Len final
public static boolean equals(byte[], int, int, java.lang.String);
descriptor: ([BIILjava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnull 1
iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmpeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
iinc 1 1
baload
aload 3
iload 4
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 4
end local 4 8: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 b [B
0 9 1 offs I
0 9 2 len I
0 9 3 s Ljava/lang/String;
3 8 4 i I
MethodParameters:
Name Flags
b final
offs
len final
s final
public static boolean equalsIgnoreCase(byte[], int, int, byte[], int, int);
descriptor: ([BII[BII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 5
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 3
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
ifnull 5
aload 3
ifnonnull 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
iload 6
iload 1
iadd
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
aload 3
iload 6
iload 4
iadd
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 2
if_icmplt 8
end local 6 12: iconst_1
ireturn
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 13 0 b1 [B
0 13 1 b1Offs I
0 13 2 b1Len I
0 13 3 b2 [B
0 13 4 b2Offs I
0 13 5 b2Len I
7 12 6 i I
MethodParameters:
Name Flags
b1 final
b1Offs final
b1Len final
b2 final
b2Offs final
b2Len final
public static boolean equalsIgnoreCase(byte[], int, int, java.lang.String);
descriptor: ([BIILjava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
iload 4
iinc 4 1
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 2
if_icmplt 5
end local 5 9: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 b [B
0 10 1 offset I
0 10 2 len I
0 10 3 s Ljava/lang/String;
3 10 4 boff I
4 9 5 i I
MethodParameters:
Name Flags
b final
offset final
len final
s final
public static boolean equalsIgnoreCaseLowerCase(byte[], int, int, byte[]);
descriptor: ([BII[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 1
isub
istore 4
start local 4 1: iload 4
aload 3
arraylength
if_icmpeq 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 5
iload 1
iadd
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
aload 3
iload 5
baload
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 4
if_icmplt 5
end local 5 9: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer [B
0 10 1 start I
0 10 2 end I
0 10 3 cmpTo [B
1 10 4 len I
4 9 5 i I
MethodParameters:
Name Flags
buffer final
start final
end final
cmpTo final
public static boolean startsWith(byte[], int, int, byte[]);
descriptor: ([BII[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 1
isub
istore 4
start local 4 1: iload 4
aload 3
arraylength
if_icmpge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 5
iadd
baload
aload 3
iload 5
baload
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 3
arraylength
if_icmplt 5
end local 5 9: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer [B
0 10 1 start I
0 10 2 end I
0 10 3 cmpTo [B
1 10 4 len I
4 9 5 i I
MethodParameters:
Name Flags
buffer final
start final
end final
cmpTo final
private static int hashBytes(byte[], int, int);
descriptor: ([BII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
iadd
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 6
4: StackMap locals: int int int
StackMap stack:
iload 4
bipush 31
imul
aload 0
iload 5
baload
iadd
istore 4
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 3
if_icmplt 4
end local 5 7: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buff [B
0 8 1 start I
0 8 2 bytesLen I
1 8 3 max I
2 8 4 code I
3 7 5 i I
MethodParameters:
Name Flags
buff
start
bytesLen
private static int hashBytesIC(byte[], int, int);
descriptor: ([BII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
iadd
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 6
4: StackMap locals: int int int
StackMap stack:
iload 4
bipush 31
imul
aload 0
iload 5
baload
invokestatic org.glassfish.grizzly.http.util.Ascii.toLower:(I)I
iadd
istore 4
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 3
if_icmplt 4
end local 5 7: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 bytes [B
0 8 1 start I
0 8 2 bytesLen I
1 8 3 max I
2 8 4 code I
3 7 5 i I
MethodParameters:
Name Flags
bytes
start
bytesLen
public int indexOf(char, int);
descriptor: (CI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.buff:[B
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
iload 2
iadd
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.end:I
iload 1
invokestatic org.glassfish.grizzly.http.util.ByteChunk.indexOf:([BIIC)I
istore 3
start local 3 1: iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
if_icmplt 2
iload 3
aload 0
getfield org.glassfish.grizzly.http.util.ByteChunk.start:I
isub
goto 3
StackMap locals: int
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/util/ByteChunk;
0 4 1 c C
0 4 2 starting I
1 4 3 ret I
MethodParameters:
Name Flags
c
starting
public static int indexOf(byte[], int, int, char);
descriptor: ([BIIC)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 5
1: StackMap locals:
StackMap stack:
aload 0
iload 1
baload
istore 4
start local 4 2: iload 4
iload 3
if_icmpne 4
3: iload 1
ireturn
4: StackMap locals: int
StackMap stack:
iinc 1 1
end local 4 5: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 1
6: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bytes [B
0 7 1 off I
0 7 2 end I
0 7 3 qq C
2 5 4 b B
MethodParameters:
Name Flags
bytes
off
end
qq
public static int findChar(byte[], int, int, char);
descriptor: ([BIIC)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
i2b
istore 4
start local 4 1: iload 1
istore 5
start local 5 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 5
baload
iload 4
if_icmpne 5
4: iload 5
ireturn
5: StackMap locals:
StackMap stack:
iinc 5 1
6: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 3
7: iconst_m1
ireturn
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 8 0 buf [B
0 8 1 start I
0 8 2 end I
0 8 3 c C
1 8 4 b B
2 8 5 offset I
MethodParameters:
Name Flags
buf
start
end
c
public static int findChars(byte[], int, int, byte[]);
descriptor: ([BII[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
istore 4
start local 4 1: iload 1
istore 5
start local 5 2: goto 10
3: StackMap locals: int int
StackMap stack:
iconst_0
istore 6
start local 6 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 5
baload
aload 3
iload 6
baload
if_icmpne 7
6: iload 5
ireturn
7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 4
if_icmplt 5
end local 6 9: iinc 5 1
10: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 3
11: iconst_m1
ireturn
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 12 0 buf [B
0 12 1 start I
0 12 2 end I
0 12 3 c [B
1 12 4 clen I
2 12 5 offset I
4 9 6 i I
MethodParameters:
Name Flags
buf
start
end
c
public static int findNotChars(byte[], int, int, byte[]);
descriptor: ([BII[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
istore 4
start local 4 1: iload 1
istore 5
start local 5 2: goto 14
3: StackMap locals: int int
StackMap stack:
iconst_1
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 0
iload 5
baload
aload 3
iload 7
baload
if_icmpne 9
7: iconst_0
istore 6
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
iload 4
if_icmplt 6
end local 7 11: StackMap locals:
StackMap stack:
iload 6
ifeq 13
12: iload 5
ireturn
13: StackMap locals:
StackMap stack:
iinc 5 1
end local 6 14: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 3
15: iconst_m1
ireturn
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 16 0 buf [B
0 16 1 start I
0 16 2 end I
0 16 3 c [B
1 16 4 clen I
2 16 5 offset I
4 14 6 found Z
5 11 7 i I
MethodParameters:
Name Flags
buf
start
end
c
public static byte[] convertToBytes(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
i2b
bastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value Ljava/lang/String;
1 7 1 result [B
2 6 2 i I
MethodParameters:
Name Flags
value
}
SourceFile: "ByteChunk.java"
NestMembers:
org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel
InnerClasses:
public abstract ByteInputChannel = org.glassfish.grizzly.http.util.ByteChunk$ByteInputChannel of org.glassfish.grizzly.http.util.ByteChunk
public abstract ByteOutputChannel = org.glassfish.grizzly.http.util.ByteChunk$ByteOutputChannel of org.glassfish.grizzly.http.util.ByteChunk