test_class.declarator: noFreeMemoryManager
test_class.modifier: private
test_class.original_string: private NoFreeMemoryManager noFreeMemoryManager;
test_class.type: NoFreeMemoryManager
test_class.var_name: noFreeMemoryManager
test_class.file: core/src/test/java/com/yahoo/oak/NoFreeMemoryManagerTest.java
test_class.identifier: NoFreeMemoryManagerTest
test_case.body: @Test
      public void allocate() {
          Slice s = new Slice();
          ByteBuffer bb;
  
          noFreeMemoryManager.allocate(s, 4);
          Assert.assertEquals(4, s.getAllocatedLength());
          Assert.assertEquals(4, noFreeMemoryManager.allocated());
  
          noFreeMemoryManager.allocate(s, 4);
          Assert.assertEquals(4, s.getAllocatedLength());
          Assert.assertEquals(8, noFreeMemoryManager.allocated());
      }
test_case.class_method_signature: NoFreeMemoryManagerTest.allocate()
test_case.full_signature: @Test public void allocate()
test_case.identifier: allocate
test_case.invocations: allocate assertEquals getAllocatedLength assertEquals allocated allocate assertEquals getAllocatedLength assertEquals allocated
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void allocate()
focal_class.declarator: allocator
focal_class.modifier: private final
focal_class.original_string: private final BlockMemoryAllocator allocator;
focal_class.type: BlockMemoryAllocator
focal_class.var_name: allocator
focal_class.declarator: rcd
focal_class.modifier: private final
focal_class.original_string: private final ReferenceCodecDirect rcd;
focal_class.type: ReferenceCodecDirect
focal_class.var_name: rcd
focal_class.file: core/src/main/java/com/yahoo/oak/NoFreeMemoryManager.java
focal_class.identifier: NoFreeMemoryManager
focal_class.interfaces: implements MemoryManager
focal_class.class_method_signature: NoFreeMemoryManager.NoFreeMemoryManager(BlockMemoryAllocator memoryAllocator)
focal_class.full_signature:   NoFreeMemoryManager(BlockMemoryAllocator memoryAllocator)
focal_class.identifier: NoFreeMemoryManager
focal_class.parameters: (BlockMemoryAllocator memoryAllocator)
focal_class.signature:  NoFreeMemoryManager(BlockMemoryAllocator memoryAllocator)
focal_class.class_method_signature: NoFreeMemoryManager.close()
focal_class.full_signature: public void close()
focal_class.identifier: close
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: NoFreeMemoryManager.allocated()
focal_class.full_signature: public long allocated()
focal_class.identifier: allocated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long allocated()
focal_class.class_method_signature: NoFreeMemoryManager.allocate(Slice s, int size)
focal_class.full_signature: @Override public void allocate(Slice s, int size)
focal_class.identifier: allocate
focal_class.modifiers: @Override public
focal_class.parameters: (Slice s, int size)
focal_class.return: void
focal_class.signature: void allocate(Slice s, int size)
focal_class.class_method_signature: NoFreeMemoryManager.release(Slice s)
focal_class.full_signature: @Override public void release(Slice s)
focal_class.identifier: release
focal_class.modifiers: @Override public
focal_class.parameters: (Slice s)
focal_class.return: void
focal_class.signature: void release(Slice s)
focal_class.class_method_signature: NoFreeMemoryManager.isClosed()
focal_class.full_signature: public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: NoFreeMemoryManager.decodeReference(Slice s, long reference)
focal_class.full_signature: @Override public boolean decodeReference(Slice s, long reference)
focal_class.identifier: decodeReference
focal_class.modifiers: @Override public
focal_class.parameters: (Slice s, long reference)
focal_class.return: boolean
focal_class.signature: boolean decodeReference(Slice s, long reference)
focal_class.class_method_signature: NoFreeMemoryManager.encodeReference(Slice s)
focal_class.full_signature: @Override public long encodeReference(Slice s)
focal_class.identifier: encodeReference
focal_class.modifiers: @Override public
focal_class.parameters: (Slice s)
focal_class.return: long
focal_class.signature: long encodeReference(Slice s)
focal_class.class_method_signature: NoFreeMemoryManager.alterReferenceForDelete(long reference)
focal_class.full_signature: @Override public long alterReferenceForDelete(long reference)
focal_class.identifier: alterReferenceForDelete
focal_class.modifiers: @Override public
focal_class.parameters: (long reference)
focal_class.return: long
focal_class.signature: long alterReferenceForDelete(long reference)
focal_class.class_method_signature: NoFreeMemoryManager.getInvalidReference()
focal_class.full_signature: @Override public long getInvalidReference()
focal_class.identifier: getInvalidReference
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getInvalidReference()
focal_class.class_method_signature: NoFreeMemoryManager.isReferenceValid(long reference)
focal_class.full_signature: @Override public boolean isReferenceValid(long reference)
focal_class.identifier: isReferenceValid
focal_class.modifiers: @Override public
focal_class.parameters: (long reference)
focal_class.return: boolean
focal_class.signature: boolean isReferenceValid(long reference)
focal_class.class_method_signature: NoFreeMemoryManager.isReferenceDeleted(long reference)
focal_class.full_signature: @Override public boolean isReferenceDeleted(long reference)
focal_class.identifier: isReferenceDeleted
focal_class.modifiers: @Override public
focal_class.parameters: (long reference)
focal_class.return: boolean
focal_class.signature: boolean isReferenceDeleted(long reference)
focal_class.class_method_signature: NoFreeMemoryManager.isReferenceConsistent(long reference)
focal_class.full_signature: @Override public boolean isReferenceConsistent(long reference)
focal_class.identifier: isReferenceConsistent
focal_class.modifiers: @Override public
focal_class.parameters: (long reference)
focal_class.return: boolean
focal_class.signature: boolean isReferenceConsistent(long reference)
focal_method.body: @Override
      public void allocate(Slice s, int size) {
          boolean allocated = allocator.allocate(s, size);
          assert allocated;
      }
focal_method.class_method_signature: NoFreeMemoryManager.allocate(Slice s, int size)
focal_method.full_signature: @Override public void allocate(Slice s, int size)
focal_method.identifier: allocate
focal_method.invocations: allocate
focal_method.modifiers: @Override public
focal_method.parameters: (Slice s, int size)
focal_method.return: void
focal_method.signature: void allocate(Slice s, int size)