test_class.declarator: beyondInc = (int) (1e7)
test_class.modifier: final
test_class.original_string: final int beyondInc = (int) (1e7);
test_class.type: int
test_class.var_name: beyondInc
test_class.declarator: b = getVolume()
test_class.original_string: Volume b = getVolume();
test_class.type: Volume
test_class.var_name: b
test_class.file: migration/third-party/org.mapdb/src/test/java/org/mapdb/VolumeTest.java
test_class.identifier: VolumeTest
test_case.body: @Test
      public void read_beyond_end_raf_long(){
          try{
              Volume v = new Volume.RandomAccessFileVol(Utils.tempDbFile(), false);
              v.getLong(1000000);
              fail();
          }catch(IOError e){
              assertTrue(e.getCause() instanceof  EOFException);
          }
      }
test_case.class_method_signature: VolumeTest.read_beyond_end_raf_long()
test_case.full_signature: @Test public void read_beyond_end_raf_long()
test_case.identifier: read_beyond_end_raf_long
test_case.invocations: tempDbFile getLong fail assertTrue getCause
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void read_beyond_end_raf_long()
focal_class.declarator: BUF_SIZE = 1<<30
focal_class.modifier: public static final
focal_class.original_string: public static final int BUF_SIZE = 1<<30;
focal_class.type: int
focal_class.var_name: BUF_SIZE
focal_class.declarator: INITIAL_SIZE = 1024*32
focal_class.modifier: public static final
focal_class.original_string: public static final int INITIAL_SIZE = 1024*32;
focal_class.type: int
focal_class.var_name: INITIAL_SIZE
focal_class.file: migration/third-party/org.mapdb/src/main/java/org/mapdb/Volume.java
focal_class.identifier: Volume
focal_class.class_method_signature: Volume.ensureAvailable(final long offset)
focal_class.full_signature: abstract public void ensureAvailable(final long offset)
focal_class.identifier: ensureAvailable
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset)
focal_class.return: void
focal_class.signature: void ensureAvailable(final long offset)
focal_class.class_method_signature: Volume.putLong(final long offset, final long value)
focal_class.full_signature: abstract public void putLong(final long offset, final long value)
focal_class.identifier: putLong
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset, final long value)
focal_class.return: void
focal_class.signature: void putLong(final long offset, final long value)
focal_class.class_method_signature: Volume.putInt(long offset, int value)
focal_class.full_signature: abstract public void putInt(long offset, int value)
focal_class.identifier: putInt
focal_class.modifiers: abstract public
focal_class.parameters: (long offset, int value)
focal_class.return: void
focal_class.signature: void putInt(long offset, int value)
focal_class.class_method_signature: Volume.putByte(final long offset, final byte value)
focal_class.full_signature: abstract public void putByte(final long offset, final byte value)
focal_class.identifier: putByte
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset, final byte value)
focal_class.return: void
focal_class.signature: void putByte(final long offset, final byte value)
focal_class.class_method_signature: Volume.putData(final long offset, final byte[] value, int size)
focal_class.full_signature: abstract public void putData(final long offset, final byte[] value, int size)
focal_class.identifier: putData
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset, final byte[] value, int size)
focal_class.return: void
focal_class.signature: void putData(final long offset, final byte[] value, int size)
focal_class.class_method_signature: Volume.putData(final long offset, final ByteBuffer buf)
focal_class.full_signature: abstract public void putData(final long offset, final ByteBuffer buf)
focal_class.identifier: putData
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset, final ByteBuffer buf)
focal_class.return: void
focal_class.signature: void putData(final long offset, final ByteBuffer buf)
focal_class.class_method_signature: Volume.getLong(final long offset)
focal_class.full_signature: abstract public long getLong(final long offset)
focal_class.identifier: getLong
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset)
focal_class.return: long
focal_class.signature: long getLong(final long offset)
focal_class.class_method_signature: Volume.getInt(long offset)
focal_class.full_signature: abstract public int getInt(long offset)
focal_class.identifier: getInt
focal_class.modifiers: abstract public
focal_class.parameters: (long offset)
focal_class.return: int
focal_class.signature: int getInt(long offset)
focal_class.class_method_signature: Volume.getByte(final long offset)
focal_class.full_signature: abstract public byte getByte(final long offset)
focal_class.identifier: getByte
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset)
focal_class.return: byte
focal_class.signature: byte getByte(final long offset)
focal_class.class_method_signature: Volume.getDataInput(final long offset, final int size)
focal_class.full_signature: abstract public DataInput2 getDataInput(final long offset, final int size)
focal_class.identifier: getDataInput
focal_class.modifiers: abstract public
focal_class.parameters: (final long offset, final int size)
focal_class.return: DataInput2
focal_class.signature: DataInput2 getDataInput(final long offset, final int size)
focal_class.class_method_signature: Volume.close()
focal_class.full_signature: abstract public void close()
focal_class.identifier: close
focal_class.modifiers: abstract public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: Volume.sync()
focal_class.full_signature: abstract public void sync()
focal_class.identifier: sync
focal_class.modifiers: abstract public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sync()
focal_class.class_method_signature: Volume.isEmpty()
focal_class.full_signature: public abstract boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: Volume.deleteFile()
focal_class.full_signature: public abstract void deleteFile()
focal_class.identifier: deleteFile
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void deleteFile()
focal_class.class_method_signature: Volume.isSliced()
focal_class.full_signature: public abstract boolean isSliced()
focal_class.identifier: isSliced
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSliced()
focal_class.class_method_signature: Volume.putUnsignedShort(final long offset, final int value)
focal_class.full_signature: public final void putUnsignedShort(final long offset, final int value)
focal_class.identifier: putUnsignedShort
focal_class.modifiers: public final
focal_class.parameters: (final long offset, final int value)
focal_class.return: void
focal_class.signature: void putUnsignedShort(final long offset, final int value)
focal_class.class_method_signature: Volume.getUnsignedShort(long offset)
focal_class.full_signature: public final int getUnsignedShort(long offset)
focal_class.identifier: getUnsignedShort
focal_class.modifiers: public final
focal_class.parameters: (long offset)
focal_class.return: int
focal_class.signature: int getUnsignedShort(long offset)
focal_class.class_method_signature: Volume.getUnsignedByte(long offset)
focal_class.full_signature: public int getUnsignedByte(long offset)
focal_class.identifier: getUnsignedByte
focal_class.modifiers: public
focal_class.parameters: (long offset)
focal_class.return: int
focal_class.signature: int getUnsignedByte(long offset)
focal_class.class_method_signature: Volume.putUnsignedByte(long offset, int b)
focal_class.full_signature: public void putUnsignedByte(long offset, int b)
focal_class.identifier: putUnsignedByte
focal_class.modifiers: public
focal_class.parameters: (long offset, int b)
focal_class.return: void
focal_class.signature: void putUnsignedByte(long offset, int b)
focal_class.class_method_signature: Volume.getFile()
focal_class.full_signature: abstract public File getFile()
focal_class.identifier: getFile
focal_class.modifiers: abstract public
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getFile()
focal_class.class_method_signature: Volume.volumeForFile(File f, boolean useRandomAccessFile, boolean readOnly)
focal_class.full_signature: public static Volume volumeForFile(File f, boolean useRandomAccessFile, boolean readOnly)
focal_class.identifier: volumeForFile
focal_class.modifiers: public static
focal_class.parameters: (File f, boolean useRandomAccessFile, boolean readOnly)
focal_class.return: Volume
focal_class.signature: Volume volumeForFile(File f, boolean useRandomAccessFile, boolean readOnly)
focal_class.class_method_signature: Volume.fileFactory(final boolean readOnly, final boolean RAF, final File indexFile)
focal_class.full_signature: public static Factory fileFactory(final boolean readOnly, final boolean RAF, final File indexFile)
focal_class.identifier: fileFactory
focal_class.modifiers: public static
focal_class.parameters: (final boolean readOnly, final boolean RAF, final File indexFile)
focal_class.return: Factory
focal_class.signature: Factory fileFactory(final boolean readOnly, final boolean RAF, final File indexFile)
focal_class.class_method_signature: Volume.fileFactory(final boolean readOnly,
                                        final boolean RAF,
                                        final File indexFile,
                                        final File physFile,
                                        final File transLogFile)
focal_class.full_signature: public static Factory fileFactory(final boolean readOnly,
                                        final boolean RAF,
                                        final File indexFile,
                                        final File physFile,
                                        final File transLogFile)
focal_class.identifier: fileFactory
focal_class.modifiers: public static
focal_class.parameters: (final boolean readOnly,
                                        final boolean RAF,
                                        final File indexFile,
                                        final File physFile,
                                        final File transLogFile)
focal_class.return: Factory
focal_class.signature: Factory fileFactory(final boolean readOnly,
                                        final boolean RAF,
                                        final File indexFile,
                                        final File physFile,
                                        final File transLogFile)
focal_class.class_method_signature: Volume.memoryFactory(final boolean useDirectBuffer)
focal_class.full_signature: public static Factory memoryFactory(final boolean useDirectBuffer)
focal_class.identifier: memoryFactory
focal_class.modifiers: public static
focal_class.parameters: (final boolean useDirectBuffer)
focal_class.return: Factory
focal_class.signature: Factory memoryFactory(final boolean useDirectBuffer)
focal_method.body: abstract public long getLong(final long offset);
focal_method.class_method_signature: Volume.getLong(final long offset)
focal_method.full_signature: abstract public long getLong(final long offset)
focal_method.identifier: getLong
focal_method.modifiers: abstract public
focal_method.parameters: (final long offset)
focal_method.return: long
focal_method.signature: long getLong(final long offset)