test_class.file: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/file/tar/index/IndexV2Test.java
test_class.identifier: IndexV2Test
test_case.body: @Test
      public void testCount() throws Exception {
          Buffer buffer = Buffer.allocate(2 * IndexEntryV2.SIZE);
          buffer.duplicate()
                  .putLong(1).putLong(2).putInt(3).putInt(4).putInt(5).putInt(6).put((byte) 0)
                  .putLong(7).putLong(8).putInt(9).putInt(10).putInt(11).putInt(12).put((byte) 1);
          assertEquals(2, new IndexV2(buffer).count());
      }
test_case.class_method_signature: IndexV2Test.testCount()
test_case.full_signature: @Test public void testCount()
test_case.identifier: testCount
test_case.invocations: allocate put putInt putInt putInt putInt putLong putLong put putInt putInt putInt putInt putLong putLong duplicate assertEquals count
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCount()
focal_class.declarator: FOOTER_SIZE = 16
focal_class.modifier: static final
focal_class.original_string: static final int FOOTER_SIZE = 16;
focal_class.type: int
focal_class.var_name: FOOTER_SIZE
focal_class.declarator: entries
focal_class.modifier: private final
focal_class.original_string: private final Buffer entries;
focal_class.type: Buffer
focal_class.var_name: entries
focal_class.file: oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/tar/index/IndexV2.java
focal_class.identifier: IndexV2
focal_class.interfaces: implements Index
focal_class.class_method_signature: IndexV2.IndexV2(Buffer entries)
focal_class.full_signature:   IndexV2(Buffer entries)
focal_class.identifier: IndexV2
focal_class.parameters: (Buffer entries)
focal_class.signature:  IndexV2(Buffer entries)
focal_class.class_method_signature: IndexV2.getUUIDs()
focal_class.full_signature: @Override public Set<UUID> getUUIDs()
focal_class.identifier: getUUIDs
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<UUID>
focal_class.signature: Set<UUID> getUUIDs()
focal_class.class_method_signature: IndexV2.findEntry(long msb, long lsb)
focal_class.full_signature: @Override public int findEntry(long msb, long lsb)
focal_class.identifier: findEntry
focal_class.modifiers: @Override public
focal_class.parameters: (long msb, long lsb)
focal_class.return: int
focal_class.signature: int findEntry(long msb, long lsb)
focal_class.class_method_signature: IndexV2.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: IndexV2.count()
focal_class.full_signature: @Override public int count()
focal_class.identifier: count
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int count()
focal_class.class_method_signature: IndexV2.entry(int i)
focal_class.full_signature: @Override public IndexEntryV2 entry(int i)
focal_class.identifier: entry
focal_class.modifiers: @Override public
focal_class.parameters: (int i)
focal_class.return: IndexEntryV2
focal_class.signature: IndexEntryV2 entry(int i)
focal_method.body: @Override
      public int count() {
          return entries.remaining() / IndexEntryV2.SIZE;
      }
focal_method.class_method_signature: IndexV2.count()
focal_method.full_signature: @Override public int count()
focal_method.identifier: count
focal_method.invocations: remaining
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int count()