test_class.declarator: CAPACITY = 4096
test_class.modifier: private static final
test_class.original_string: private static final int CAPACITY = 4096;
test_class.type: int
test_class.var_name: CAPACITY
test_class.declarator: BLOCK_SIZE = 128
test_class.modifier: private static final
test_class.original_string: private static final int BLOCK_SIZE = 128;
test_class.type: int
test_class.var_name: BLOCK_SIZE
test_class.declarator: seed
test_class.modifier: private
test_class.original_string: private long seed;
test_class.type: long
test_class.var_name: seed
test_class.declarator: random
test_class.modifier: private
test_class.original_string: private Random random;
test_class.type: Random
test_class.var_name: random
test_class.declarator: buffer
test_class.modifier: private
test_class.original_string: private ChannelBuffer buffer;
test_class.type: ChannelBuffer
test_class.var_name: buffer
test_class.file: dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/buffer/AbstractChannelBufferTest.java
test_class.identifier: AbstractChannelBufferTest
test_case.body: @Test
      public void initialState() {
          assertEquals(CAPACITY, buffer.capacity());
          assertEquals(0, buffer.readerIndex());
      }
test_case.class_method_signature: AbstractChannelBufferTest.initialState()
test_case.full_signature: @Test public void initialState()
test_case.identifier: initialState
test_case.invocations: assertEquals capacity assertEquals readerIndex
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void initialState()
focal_class.declarator: readerIndex
focal_class.modifier: private
focal_class.original_string: private int readerIndex;
focal_class.type: int
focal_class.var_name: readerIndex
focal_class.declarator: writerIndex
focal_class.modifier: private
focal_class.original_string: private int writerIndex;
focal_class.type: int
focal_class.var_name: writerIndex
focal_class.declarator: markedReaderIndex
focal_class.modifier: private
focal_class.original_string: private int markedReaderIndex;
focal_class.type: int
focal_class.var_name: markedReaderIndex
focal_class.declarator: markedWriterIndex
focal_class.modifier: private
focal_class.original_string: private int markedWriterIndex;
focal_class.type: int
focal_class.var_name: markedWriterIndex
focal_class.file: dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/AbstractChannelBuffer.java
focal_class.identifier: AbstractChannelBuffer
focal_class.interfaces: implements ChannelBuffer
focal_class.class_method_signature: AbstractChannelBuffer.readerIndex()
focal_class.full_signature: @Override public int readerIndex()
focal_class.identifier: readerIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int readerIndex()
focal_class.class_method_signature: AbstractChannelBuffer.readerIndex(int readerIndex)
focal_class.full_signature: @Override public void readerIndex(int readerIndex)
focal_class.identifier: readerIndex
focal_class.modifiers: @Override public
focal_class.parameters: (int readerIndex)
focal_class.return: void
focal_class.signature: void readerIndex(int readerIndex)
focal_class.class_method_signature: AbstractChannelBuffer.writerIndex()
focal_class.full_signature: @Override public int writerIndex()
focal_class.identifier: writerIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int writerIndex()
focal_class.class_method_signature: AbstractChannelBuffer.writerIndex(int writerIndex)
focal_class.full_signature: @Override public void writerIndex(int writerIndex)
focal_class.identifier: writerIndex
focal_class.modifiers: @Override public
focal_class.parameters: (int writerIndex)
focal_class.return: void
focal_class.signature: void writerIndex(int writerIndex)
focal_class.class_method_signature: AbstractChannelBuffer.setIndex(int readerIndex, int writerIndex)
focal_class.full_signature: @Override public void setIndex(int readerIndex, int writerIndex)
focal_class.identifier: setIndex
focal_class.modifiers: @Override public
focal_class.parameters: (int readerIndex, int writerIndex)
focal_class.return: void
focal_class.signature: void setIndex(int readerIndex, int writerIndex)
focal_class.class_method_signature: AbstractChannelBuffer.clear()
focal_class.full_signature: @Override public void clear()
focal_class.identifier: clear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: AbstractChannelBuffer.readable()
focal_class.full_signature: @Override public boolean readable()
focal_class.identifier: readable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean readable()
focal_class.class_method_signature: AbstractChannelBuffer.writable()
focal_class.full_signature: @Override public boolean writable()
focal_class.identifier: writable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean writable()
focal_class.class_method_signature: AbstractChannelBuffer.readableBytes()
focal_class.full_signature: @Override public int readableBytes()
focal_class.identifier: readableBytes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int readableBytes()
focal_class.class_method_signature: AbstractChannelBuffer.writableBytes()
focal_class.full_signature: @Override public int writableBytes()
focal_class.identifier: writableBytes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int writableBytes()
focal_class.class_method_signature: AbstractChannelBuffer.markReaderIndex()
focal_class.full_signature: @Override public void markReaderIndex()
focal_class.identifier: markReaderIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void markReaderIndex()
focal_class.class_method_signature: AbstractChannelBuffer.resetReaderIndex()
focal_class.full_signature: @Override public void resetReaderIndex()
focal_class.identifier: resetReaderIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetReaderIndex()
focal_class.class_method_signature: AbstractChannelBuffer.markWriterIndex()
focal_class.full_signature: @Override public void markWriterIndex()
focal_class.identifier: markWriterIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void markWriterIndex()
focal_class.class_method_signature: AbstractChannelBuffer.resetWriterIndex()
focal_class.full_signature: @Override public void resetWriterIndex()
focal_class.identifier: resetWriterIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetWriterIndex()
focal_class.class_method_signature: AbstractChannelBuffer.discardReadBytes()
focal_class.full_signature: @Override public void discardReadBytes()
focal_class.identifier: discardReadBytes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void discardReadBytes()
focal_class.class_method_signature: AbstractChannelBuffer.ensureWritableBytes(int writableBytes)
focal_class.full_signature: @Override public void ensureWritableBytes(int writableBytes)
focal_class.identifier: ensureWritableBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int writableBytes)
focal_class.return: void
focal_class.signature: void ensureWritableBytes(int writableBytes)
focal_class.class_method_signature: AbstractChannelBuffer.getBytes(int index, byte[] dst)
focal_class.full_signature: @Override public void getBytes(int index, byte[] dst)
focal_class.identifier: getBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, byte[] dst)
focal_class.return: void
focal_class.signature: void getBytes(int index, byte[] dst)
focal_class.class_method_signature: AbstractChannelBuffer.getBytes(int index, ChannelBuffer dst)
focal_class.full_signature: @Override public void getBytes(int index, ChannelBuffer dst)
focal_class.identifier: getBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, ChannelBuffer dst)
focal_class.return: void
focal_class.signature: void getBytes(int index, ChannelBuffer dst)
focal_class.class_method_signature: AbstractChannelBuffer.getBytes(int index, ChannelBuffer dst, int length)
focal_class.full_signature: @Override public void getBytes(int index, ChannelBuffer dst, int length)
focal_class.identifier: getBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, ChannelBuffer dst, int length)
focal_class.return: void
focal_class.signature: void getBytes(int index, ChannelBuffer dst, int length)
focal_class.class_method_signature: AbstractChannelBuffer.setBytes(int index, byte[] src)
focal_class.full_signature: @Override public void setBytes(int index, byte[] src)
focal_class.identifier: setBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, byte[] src)
focal_class.return: void
focal_class.signature: void setBytes(int index, byte[] src)
focal_class.class_method_signature: AbstractChannelBuffer.setBytes(int index, ChannelBuffer src)
focal_class.full_signature: @Override public void setBytes(int index, ChannelBuffer src)
focal_class.identifier: setBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, ChannelBuffer src)
focal_class.return: void
focal_class.signature: void setBytes(int index, ChannelBuffer src)
focal_class.class_method_signature: AbstractChannelBuffer.setBytes(int index, ChannelBuffer src, int length)
focal_class.full_signature: @Override public void setBytes(int index, ChannelBuffer src, int length)
focal_class.identifier: setBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int index, ChannelBuffer src, int length)
focal_class.return: void
focal_class.signature: void setBytes(int index, ChannelBuffer src, int length)
focal_class.class_method_signature: AbstractChannelBuffer.readByte()
focal_class.full_signature: @Override public byte readByte()
focal_class.identifier: readByte
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: byte
focal_class.signature: byte readByte()
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(int length)
focal_class.full_signature: @Override public ChannelBuffer readBytes(int length)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int length)
focal_class.return: ChannelBuffer
focal_class.signature: ChannelBuffer readBytes(int length)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(byte[] dst, int dstIndex, int length)
focal_class.full_signature: @Override public void readBytes(byte[] dst, int dstIndex, int length)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] dst, int dstIndex, int length)
focal_class.return: void
focal_class.signature: void readBytes(byte[] dst, int dstIndex, int length)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(byte[] dst)
focal_class.full_signature: @Override public void readBytes(byte[] dst)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] dst)
focal_class.return: void
focal_class.signature: void readBytes(byte[] dst)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(ChannelBuffer dst)
focal_class.full_signature: @Override public void readBytes(ChannelBuffer dst)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer dst)
focal_class.return: void
focal_class.signature: void readBytes(ChannelBuffer dst)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(ChannelBuffer dst, int length)
focal_class.full_signature: @Override public void readBytes(ChannelBuffer dst, int length)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer dst, int length)
focal_class.return: void
focal_class.signature: void readBytes(ChannelBuffer dst, int length)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(ChannelBuffer dst, int dstIndex, int length)
focal_class.full_signature: @Override public void readBytes(ChannelBuffer dst, int dstIndex, int length)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer dst, int dstIndex, int length)
focal_class.return: void
focal_class.signature: void readBytes(ChannelBuffer dst, int dstIndex, int length)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(ByteBuffer dst)
focal_class.full_signature: @Override public void readBytes(ByteBuffer dst)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ByteBuffer dst)
focal_class.return: void
focal_class.signature: void readBytes(ByteBuffer dst)
focal_class.class_method_signature: AbstractChannelBuffer.readBytes(OutputStream out, int length)
focal_class.full_signature: @Override public void readBytes(OutputStream out, int length)
focal_class.identifier: readBytes
focal_class.modifiers: @Override public
focal_class.parameters: (OutputStream out, int length)
focal_class.return: void
focal_class.signature: void readBytes(OutputStream out, int length)
focal_class.class_method_signature: AbstractChannelBuffer.skipBytes(int length)
focal_class.full_signature: @Override public void skipBytes(int length)
focal_class.identifier: skipBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int length)
focal_class.return: void
focal_class.signature: void skipBytes(int length)
focal_class.class_method_signature: AbstractChannelBuffer.writeByte(int value)
focal_class.full_signature: @Override public void writeByte(int value)
focal_class.identifier: writeByte
focal_class.modifiers: @Override public
focal_class.parameters: (int value)
focal_class.return: void
focal_class.signature: void writeByte(int value)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(byte[] src, int srcIndex, int length)
focal_class.full_signature: @Override public void writeBytes(byte[] src, int srcIndex, int length)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] src, int srcIndex, int length)
focal_class.return: void
focal_class.signature: void writeBytes(byte[] src, int srcIndex, int length)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(byte[] src)
focal_class.full_signature: @Override public void writeBytes(byte[] src)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] src)
focal_class.return: void
focal_class.signature: void writeBytes(byte[] src)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(ChannelBuffer src)
focal_class.full_signature: @Override public void writeBytes(ChannelBuffer src)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer src)
focal_class.return: void
focal_class.signature: void writeBytes(ChannelBuffer src)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(ChannelBuffer src, int length)
focal_class.full_signature: @Override public void writeBytes(ChannelBuffer src, int length)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer src, int length)
focal_class.return: void
focal_class.signature: void writeBytes(ChannelBuffer src, int length)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(ChannelBuffer src, int srcIndex, int length)
focal_class.full_signature: @Override public void writeBytes(ChannelBuffer src, int srcIndex, int length)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer src, int srcIndex, int length)
focal_class.return: void
focal_class.signature: void writeBytes(ChannelBuffer src, int srcIndex, int length)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(ByteBuffer src)
focal_class.full_signature: @Override public void writeBytes(ByteBuffer src)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (ByteBuffer src)
focal_class.return: void
focal_class.signature: void writeBytes(ByteBuffer src)
focal_class.class_method_signature: AbstractChannelBuffer.writeBytes(InputStream in, int length)
focal_class.full_signature: @Override public int writeBytes(InputStream in, int length)
focal_class.identifier: writeBytes
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream in, int length)
focal_class.return: int
focal_class.signature: int writeBytes(InputStream in, int length)
focal_class.class_method_signature: AbstractChannelBuffer.copy()
focal_class.full_signature: @Override public ChannelBuffer copy()
focal_class.identifier: copy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ChannelBuffer
focal_class.signature: ChannelBuffer copy()
focal_class.class_method_signature: AbstractChannelBuffer.toByteBuffer()
focal_class.full_signature: @Override public ByteBuffer toByteBuffer()
focal_class.identifier: toByteBuffer
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ByteBuffer
focal_class.signature: ByteBuffer toByteBuffer()
focal_class.class_method_signature: AbstractChannelBuffer.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: AbstractChannelBuffer.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: AbstractChannelBuffer.compareTo(ChannelBuffer that)
focal_class.full_signature: @Override public int compareTo(ChannelBuffer that)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (ChannelBuffer that)
focal_class.return: int
focal_class.signature: int compareTo(ChannelBuffer that)
focal_class.class_method_signature: AbstractChannelBuffer.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: AbstractChannelBuffer.checkReadableBytes(int minimumReadableBytes)
focal_class.full_signature: protected void checkReadableBytes(int minimumReadableBytes)
focal_class.identifier: checkReadableBytes
focal_class.modifiers: protected
focal_class.parameters: (int minimumReadableBytes)
focal_class.return: void
focal_class.signature: void checkReadableBytes(int minimumReadableBytes)
focal_method.body: @Override
      public int readerIndex() {
          return readerIndex;
      }
focal_method.class_method_signature: AbstractChannelBuffer.readerIndex()
focal_method.full_signature: @Override public int readerIndex()
focal_method.identifier: readerIndex
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int readerIndex()