public final class org.apache.tomcat.util.buf.CharChunk extends org.apache.tomcat.util.buf.AbstractChunk implements java.lang.CharSequence
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.util.buf.CharChunk
super_class: org.apache.tomcat.util.buf.AbstractChunk
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private char[] buff;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private transient org.apache.tomcat.util.buf.CharChunk$CharInputChannel in;
descriptor: Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient org.apache.tomcat.util.buf.CharChunk$CharOutputChannel out;
descriptor: Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.buf.AbstractChunk.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.CharChunk.in:Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/CharChunk;
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 org.apache.tomcat.util.buf.AbstractChunk.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.CharChunk.in:Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
3: aload 0
iload 1
iconst_m1
invokevirtual org.apache.tomcat.util.buf.CharChunk.allocate:(II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 5 1 initial I
MethodParameters:
Name Flags
initial
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
Exceptions:
throws java.lang.CloneNotSupportedException
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.apache.tomcat.util.buf.CharChunk.buff:[C
ifnull 1
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
iload 1
if_icmpge 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
newarray 5
putfield org.apache.tomcat.util.buf.CharChunk.buff:[C
2: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.setLimit:(I)V
3: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.CharChunk.start:I
4: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.CharChunk.end:I
5: aload 0
iconst_1
putfield org.apache.tomcat.util.buf.CharChunk.isSet:Z
6: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.CharChunk.hasHashCode:Z
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 8 1 initial I
0 8 2 limit I
MethodParameters:
Name Flags
initial
limit
public void setChars(char[], int, int);
descriptor: ([CII)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.apache.tomcat.util.buf.CharChunk.buff:[C
1: aload 0
iload 2
putfield org.apache.tomcat.util.buf.CharChunk.start:I
2: aload 0
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iload 3
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
3: aload 0
iconst_1
putfield org.apache.tomcat.util.buf.CharChunk.isSet:Z
4: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.CharChunk.hasHashCode:Z
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/apache/tomcat/util/buf/CharChunk;
0 6 1 c [C
0 6 2 off I
0 6 3 len I
MethodParameters:
Name Flags
c
off
len
public char[] getChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
public char[] getBuffer();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
public void setCharInputChannel(org.apache.tomcat.util.buf.CharChunk$CharInputChannel);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;)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.apache.tomcat.util.buf.CharChunk.in:Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 2 1 in Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
MethodParameters:
Name Flags
in
public void setCharOutputChannel(org.apache.tomcat.util.buf.CharChunk$CharOutputChannel);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;)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.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 2 1 out Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
MethodParameters:
Name Flags
out
public void append(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual org.apache.tomcat.util.buf.CharChunk.makeSpace:(I)V
1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLimitInternal:()I
istore 2
start local 2 2: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 2
if_icmplt 4
3: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.flushBuffer:()V
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.end:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 1
castore
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 6 1 c C
2 6 2 limit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void append(org.apache.tomcat.util.buf.CharChunk);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;)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.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 2 1 src Lorg/apache/tomcat/util/buf/CharChunk;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public void append(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.makeSpace:(I)V
1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLimitInternal:()I
istore 4
start local 4 2: iload 3
iload 4
if_icmpne 5
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
if_icmpne 5
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
ifnull 5
3: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
aload 1
iload 2
iload 3
invokeinterface org.apache.tomcat.util.buf.CharChunk$CharOutputChannel.realWriteChars:([CII)V
4: return
5: StackMap locals: int
StackMap stack:
iload 3
iload 4
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
isub
if_icmpgt 9
6: aload 1
iload 2
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 3
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
8: return
9: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iadd
iconst_2
iload 4
imul
if_icmpge 17
10: iload 4
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
isub
istore 5
start local 5 11: aload 1
iload 2
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 5
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
13: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.flushBuffer:()V
14: aload 1
iload 2
iload 5
iadd
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 3
iload 5
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 3
iload 5
isub
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
end local 5 16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.flushBuffer:()V
18: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
aload 1
iload 2
iload 3
invokeinterface org.apache.tomcat.util.buf.CharChunk$CharOutputChannel.realWriteChars:([CII)V
19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 20 1 src [C
0 20 2 off I
0 20 3 len I
2 20 4 limit I
11 16 5 avail I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
off
len
public void append(java.lang.String);
descriptor: (Ljava/lang/String;)V
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
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 2 1 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void append(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.makeSpace:(I)V
3: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLimitInternal:()I
istore 4
start local 4 4: iload 2
istore 5
start local 5 5: iload 2
iload 3
iadd
istore 6
start local 6 6: goto 13
7: StackMap locals: int int int
StackMap stack:
aload 0
iload 4
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
isub
iload 6
iload 5
isub
invokevirtual org.apache.tomcat.util.buf.CharChunk.min:(II)I
istore 7
start local 7 8: aload 1
iload 5
iload 5
iload 7
iadd
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
invokevirtual java.lang.String.getChars:(II[CI)V
9: iload 5
iload 7
iadd
istore 5
10: aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 7
iadd
putfield org.apache.tomcat.util.buf.CharChunk.end:I
11: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 4
if_icmplt 13
12: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.flushBuffer:()V
end local 7 13: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmplt 7
14: return
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 15 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 15 1 s Ljava/lang/String;
0 15 2 off I
0 15 3 len I
4 15 4 limit I
5 15 5 sOff I
6 15 6 sEnd I
8 13 7 d I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
off
len
public int subtract();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.start:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.CharChunk.start:I
caload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/CharChunk;
Exceptions:
throws java.io.IOException
public int subtract(char[], int, int);
descriptor: ([CII)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.apache.tomcat.util.buf.CharChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 3: iload 3
aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
if_icmple 5
4: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
istore 4
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
dup
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iload 4
iadd
putfield org.apache.tomcat.util.buf.CharChunk.start:I
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 this Lorg/apache/tomcat/util/buf/CharChunk;
0 8 1 dest [C
0 8 2 off I
0 8 3 len I
3 8 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dest
off
len
private boolean checkEof();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
ifne 6
1: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.in:Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.in:Lorg/apache/tomcat/util/buf/CharChunk$CharInputChannel;
invokeinterface org.apache.tomcat.util.buf.CharChunk$CharInputChannel.realReadChars:()I
istore 1
start local 1 4: iload 1
ifge 6
5: iconst_1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/CharChunk;
4 6 1 n I
Exceptions:
throws java.io.IOException
public void flushBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
ifnonnull 4
1: new java.io.IOException
dup
getstatic org.apache.tomcat.util.buf.CharChunk.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "chunk.overflow"
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLimit:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.out:Lorg/apache/tomcat/util/buf/CharChunk$CharOutputChannel;
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
invokeinterface org.apache.tomcat.util.buf.CharChunk$CharOutputChannel.realWriteChars:([CII)V
5: aload 0
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
putfield org.apache.tomcat.util.buf.CharChunk.end:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/CharChunk;
Exceptions:
throws java.io.IOException
public void makeSpace(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLimitInternal:()I
istore 3
start local 3 2: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 1
iadd
i2l
lstore 6
start local 6 3: lload 6
iload 3
i2l
lcmp
ifle 5
4: iload 3
i2l
lstore 6
5: StackMap locals: org.apache.tomcat.util.buf.CharChunk int char[] int top top long
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
ifnonnull 9
6: lload 6
ldc 256
lcmp
ifge 8
7: ldc 256
lstore 6
8: StackMap locals:
StackMap stack:
aload 0
lload 6
l2i
newarray 5
putfield org.apache.tomcat.util.buf.CharChunk.buff:[C
9: StackMap locals:
StackMap stack:
lload 6
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
i2l
lcmp
ifgt 11
10: return
11: StackMap locals:
StackMap stack:
lload 6
ldc 2
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
i2l
lmul
lcmp
ifge 14
12: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
i2l
ldc 2
lmul
lstore 4
start local 4 13: goto 15
end local 4 14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
arraylength
i2l
ldc 2
lmul
iload 1
i2l
ladd
lstore 4
start local 4 15: StackMap locals: org.apache.tomcat.util.buf.CharChunk int char[] int long long
StackMap stack:
lload 4
iload 3
i2l
lcmp
ifle 17
16: iload 3
i2l
lstore 4
17: StackMap locals:
StackMap stack:
lload 4
l2i
newarray 5
astore 2
18: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
iconst_0
aload 2
iconst_0
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 0
aload 2
putfield org.apache.tomcat.util.buf.CharChunk.buff:[C
20: aconst_null
astore 2
21: return
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 22 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 22 1 count I
1 22 2 tmp [C
2 22 3 limit I
13 14 4 newSize J
15 22 4 newSize J
3 22 6 desiredSize J
MethodParameters:
Name Flags
count
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
invokevirtual org.apache.tomcat.util.buf.CharChunk.isNull:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
ifne 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.tomcat.util.buf.StringCache.toString:(Lorg/apache/tomcat/util/buf/CharChunk;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/CharChunk;
public java.lang.String toStringInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.tomcat.util.buf.CharChunk
ifeq 2
1: aload 0
aload 1
checkcast org.apache.tomcat.util.buf.CharChunk
invokevirtual org.apache.tomcat.util.buf.CharChunk.equals:(Lorg/apache/tomcat/util/buf/CharChunk;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 3 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public boolean equals(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmpeq 4
3: StackMap locals: char[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
caload
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: 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 12 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 12 1 s Ljava/lang/String;
1 12 2 c [C
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
public boolean equalsIgnoreCase(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmpeq 4
3: StackMap locals: char[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
caload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: 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 12 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 12 1 s Ljava/lang/String;
1 12 2 c [C
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
public boolean equals(org.apache.tomcat.util.buf.CharChunk);
descriptor: (Lorg/apache/tomcat/util/buf/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.apache.tomcat.util.buf.CharChunk.getChars:()[C
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.equals:([CII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 1 1 cc Lorg/apache/tomcat/util/buf/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.apache.tomcat.util.buf.CharChunk.buff:[C
astore 4
start local 4 1: aload 4
ifnonnull 3
aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: char[]
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
istore 5
start local 5 4: iload 5
iload 3
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.apache.tomcat.util.buf.CharChunk.start:I
istore 6
start local 6 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 4
iload 6
iinc 6 1
caload
aload 1
iload 2
iinc 2 1
caload
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/apache/tomcat/util/buf/CharChunk;
0 12 1 b2 [C
0 12 2 off2 I
0 12 3 len2 I
1 12 4 b1 [C
4 12 5 len I
7 12 6 off1 I
MethodParameters:
Name Flags
b2
off2
len2
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
if_icmple 4
3: StackMap locals: char[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
caload
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: 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 12 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 12 1 s Ljava/lang/String;
1 12 2 c [C
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
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.apache.tomcat.util.buf.CharChunk.buff:[C
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.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
if_icmple 4
3: StackMap locals: char[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.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
caload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.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/apache/tomcat/util/buf/CharChunk;
0 12 1 s Ljava/lang/String;
0 12 2 pos I
1 12 3 c [C
2 12 4 len I
5 12 5 off I
6 11 6 i I
MethodParameters:
Name Flags
s
pos
public boolean endsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
if_icmple 4
3: StackMap locals: char[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 3
isub
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
caload
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: 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 12 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 12 1 s Ljava/lang/String;
1 12 2 c [C
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
protected int getBufferElement(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
iload 1
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 1 1 index I
MethodParameters:
Name Flags
index
public int indexOf(char);
descriptor: (C)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(CI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 1 1 c C
MethodParameters:
Name Flags
c
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.apache.tomcat.util.buf.CharChunk.buff:[C
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
iload 1
invokestatic org.apache.tomcat.util.buf.CharChunk.indexOf:([CIIC)I
istore 3
start local 3 1: iload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
if_icmplt 2
iload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.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/apache/tomcat/util/buf/CharChunk;
0 4 1 c C
0 4 2 starting I
1 4 3 ret I
MethodParameters:
Name Flags
c
starting
public static int indexOf(char[], int, int, char);
descriptor: ([CIIC)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 1
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
caload
istore 5
start local 5 3: iload 5
iload 3
if_icmpne 5
4: iload 4
ireturn
5: StackMap locals: int
StackMap stack:
iinc 4 1
end local 5 6: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 2
7: iconst_m1
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 chars [C
0 8 1 start I
0 8 2 end I
0 8 3 s C
1 8 4 offset I
3 6 5 c C
MethodParameters:
Name Flags
chars
start
end
s
private int min(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
if_icmpge 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 3 1 a I
0 3 2 b I
MethodParameters:
Name Flags
a
b
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.buff:[C
iload 1
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 1 1 index I
MethodParameters:
Name Flags
index
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.clone:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.buf.CharChunk
astore 3
start local 3 1: aload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iload 1
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
2: aload 3
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
iload 2
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
3: aload 3
4: areturn
end local 3 5: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
pop
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/CharChunk;
0 7 1 start I
0 7 2 end I
1 5 3 result Lorg/apache/tomcat/util/buf/CharChunk;
Exception table:
from to target type
0 4 5 Class java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
start
end
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.CharChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.CharChunk.start:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/CharChunk;
}
SourceFile: "CharChunk.java"
NestMembers:
org.apache.tomcat.util.buf.CharChunk$CharInputChannel org.apache.tomcat.util.buf.CharChunk$CharOutputChannel
InnerClasses:
public abstract CharInputChannel = org.apache.tomcat.util.buf.CharChunk$CharInputChannel of org.apache.tomcat.util.buf.CharChunk
public abstract CharOutputChannel = org.apache.tomcat.util.buf.CharChunk$CharOutputChannel of org.apache.tomcat.util.buf.CharChunk