public class org.apache.cassandra.io.util.BufferedDataOutputStreamPlus extends org.apache.cassandra.io.util.DataOutputStreamPlus
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
super_class: org.apache.cassandra.io.util.DataOutputStreamPlus
{
private static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
protected boolean strictFlushing;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private final java.nio.ByteBuffer hollowBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.$assertionsDisabled:Z
3: ldc "cassandra.nio_data_output_stream_plus_buffer_size"
ldc 32768
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.DEFAULT_BUFFER_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.RandomAccessFile);
descriptor: (Ljava/io/RandomAccessFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 ras Ljava/io/RandomAccessFile;
MethodParameters:
Name Flags
ras
public void <init>(java.io.RandomAccessFile, int);
descriptor: (Ljava/io/RandomAccessFile;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
iload 2
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 ras Ljava/io/RandomAccessFile;
0 2 2 bufferSize I
MethodParameters:
Name Flags
ras
bufferSize
public void <init>(java.io.FileOutputStream);
descriptor: (Ljava/io/FileOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 fos Ljava/io/FileOutputStream;
MethodParameters:
Name Flags
fos
public void <init>(java.io.FileOutputStream, int);
descriptor: (Ljava/io/FileOutputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
iload 2
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 fos Ljava/io/FileOutputStream;
0 2 2 bufferSize I
MethodParameters:
Name Flags
fos
bufferSize
public void <init>(java.nio.channels.WritableByteChannel);
descriptor: (Ljava/nio/channels/WritableByteChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.DEFAULT_BUFFER_SIZE:I
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 wbc Ljava/nio/channels/WritableByteChannel;
MethodParameters:
Name Flags
wbc
public void <init>(java.nio.channels.WritableByteChannel, int);
descriptor: (Ljava/nio/channels/WritableByteChannel;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)V
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: iload 2
bipush 8
if_icmplt 3
iconst_1
goto 4
StackMap locals: org.apache.cassandra.io.util.BufferedDataOutputStreamPlus java.nio.channels.WritableByteChannel int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ldc "Buffer size must be large enough to accommodate a long/double"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 wbc Ljava/nio/channels/WritableByteChannel;
0 6 2 bufferSize I
MethodParameters:
Name Flags
wbc
bufferSize
protected void <init>(java.nio.channels.WritableByteChannel, java.nio.ByteBuffer);
descriptor: (Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.cassandra.io.util.DataOutputStreamPlus.<init>:(Ljava/nio/channels/WritableByteChannel;)V
1: aload 0
iconst_0
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.strictFlushing:Z
2: aload 0
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.getHollowDirectByteBuffer:()Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 2
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 5 1 channel Ljava/nio/channels/WritableByteChannel;
0 5 2 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
channel
buffer
protected void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.io.util.DataOutputStreamPlus.<init>:()V
1: aload 0
iconst_0
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.strictFlushing:Z
2: aload 0
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.getHollowDirectByteBuffer:()Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 1
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 5 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public void write(byte[]);
descriptor: ([B)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
arraylength
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 4
iload 2
aload 1
arraylength
if_icmpgt 4
iload 3
iflt 4
3: iload 3
aload 1
arraylength
iload 2
isub
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifne 7
6: return
7: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 8: goto 15
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 14
10: iload 3
iload 4
isub
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 11: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 4
iadd
iload 5
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
12: iload 4
iload 5
iadd
istore 4
end local 5 13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
iload 3
iload 4
isub
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
15: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 9
16: return
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/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 17 1 b [B
0 17 2 off I
0 17 3 len I
8 17 4 copied I
11 13 5 toCopy I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 3
1: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:([BII)V
2: goto 15
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.$assertionsDisabled:Z
ifne 4
aload 1
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.duplicateDirectByteBuffer:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
5: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 6: iload 2
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 14
7: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.strictFlushing:Z
ifeq 10
8: aload 0
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeExcessSlow:()V
9: goto 14
10: StackMap locals: int
StackMap stack:
aload 0
iload 2
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.channel:Ljava/nio/channels/WritableByteChannel;
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
pop
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpgt 12
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.hollowBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 16 1 toWrite Ljava/nio/ByteBuffer;
6 15 2 toWriteRemaining I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
toWrite
private void writeExcessSlow();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDontInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
DontInline()
public void write(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
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: aload 0
iconst_1
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
iload 1
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 4 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void writeBoolean(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
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: aload 0
iconst_1
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
iload 1
ifeq 3
iconst_1
goto 4
StackMap locals:
StackMap stack: java.nio.ByteBuffer
3: iconst_0
StackMap locals: org.apache.cassandra.io.util.BufferedDataOutputStreamPlus int
StackMap stack: java.nio.ByteBuffer int
4: invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 v Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeByte(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.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeShort(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.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeChar:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeChar(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpge 2
1: aload 0
iload 1
i2l
iconst_2
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeSlow:(JI)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
iload 1
i2c
invokevirtual java.nio.ByteBuffer.putChar:(C)Ljava/nio/ByteBuffer;
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 4 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeInt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 2
1: aload 0
iload 1
i2l
iconst_4
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeSlow:(JI)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 4 1 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
bipush 8
if_icmpge 2
1: aload 0
lload 1
bipush 8
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeSlow:(JI)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 4 1 v J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeVInt(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic org.apache.cassandra.utils.vint.VIntCoding.encodeZigZag64:(J)J
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeUnsignedVInt:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 value J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
public void writeUnsignedVInt(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: lload 1
invokestatic org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize:(J)I
istore 3
start local 3 1: iload 3
iconst_1
if_icmpne 4
2: aload 0
lload 1
l2i
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:(I)V
3: return
4: StackMap locals: int
StackMap stack:
aload 0
lload 1
iload 3
invokestatic org.apache.cassandra.utils.vint.VIntCoding.encodeVInt:(JI)[B
iconst_0
iload 3
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:([BII)V
5: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 value J
1 6 3 size I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
public void writeFloat(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
invokestatic java.lang.Float.floatToRawIntBits:(F)I
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeInt:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 v F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
public void writeDouble(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeLong:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 v D
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
private void writeSlow(long, int);
descriptor: (JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDontInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
DontInline()
MethodParameters:
Name Flags
bytes
count
public void writeBytes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeByte:(I)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 s Ljava/lang/String;
1 5 2 index I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeChars(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.writeChar:(I)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 s Ljava/lang/String;
1 5 2 index I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeUTF(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic org.apache.cassandra.io.util.UnbufferedDataOutputStreamPlus.writeUTF:(Ljava/lang/String;Ljava/io/DataOutput;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void write(org.apache.cassandra.io.util.Memory, long, long);
descriptor: (Lorg/apache/cassandra/io/util/Memory;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
lload 2
lload 4
invokevirtual org.apache.cassandra.io.util.Memory.asByteBuffers:(JJ)[Ljava/nio/ByteBuffer;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 4
StackMap locals: org.apache.cassandra.io.util.BufferedDataOutputStreamPlus org.apache.cassandra.io.util.Memory long long top int int java.nio.ByteBuffer[]
StackMap stack:
1: aload 9
iload 7
aaload
astore 6
start local 6 2: aload 0
aload 6
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write:(Ljava/nio/ByteBuffer;)V
end local 6 3: iinc 7 1
StackMap locals:
StackMap stack:
4: iload 7
iload 8
if_icmplt 1
5: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 6 1 memory Lorg/apache/cassandra/io/util/Memory;
0 6 2 offset J
0 6 4 length J
2 3 6 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
memory
offset
length
protected void doFlush(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDontInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
DontInline()
MethodParameters:
Name Flags
count
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.doFlush:(I)V
1: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.channel:Ljava/nio/channels/WritableByteChannel;
invokeinterface java.nio.channels.WritableByteChannel.close:()V
2: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.io.util.FileUtils.clean:(Ljava/nio/ByteBuffer;)V
3: aload 0
aconst_null
putfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
Exceptions:
throws java.io.IOException
public <R> R applyToChannel(com.google.common.base.Function<java.nio.channels.WritableByteChannel, R>);
descriptor: (Lcom/google/common/base/Function;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.strictFlushing:Z
ifeq 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.flush:()V
3: aload 1
aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.channel:Ljava/nio/channels/WritableByteChannel;
invokeinterface com.google.common.base.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 4 1 f Lcom/google/common/base/Function<Ljava/nio/channels/WritableByteChannel;TR;>;
Exceptions:
throws java.io.IOException
Signature: <R:Ljava/lang/Object;>(Lcom/google/common/base/Function<Ljava/nio/channels/WritableByteChannel;TR;>;)TR;
MethodParameters:
Name Flags
f
public org.apache.cassandra.io.util.BufferedDataOutputStreamPlus order(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.buffer:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/BufferedDataOutputStreamPlus;
0 2 1 order Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
order
}
SourceFile: "BufferedDataOutputStreamPlus.java"