@Test public void testGetHash() throws Exception { long adr = Uns.allocate(MIN_ALLOC_LEN); try { Uns.setMemory(adr, 0, MIN_ALLOC_LEN, (byte) 0); HashEntries.init(0x98765432abcddeafL, 5, 10, adr, 0, 0L); assertEquals(HashEntries.getHash(adr), 0x98765432abcddeafL); assertEquals(Uns.getLong(adr, Util.ENTRY_OFF_HASH), 0x98765432abcddeafL); } finally { Uns.free(adr); } }
static long getHash(long hashEntryAdr) { return Uns.getLong(hashEntryAdr, Util.ENTRY_OFF_HASH); }
HashEntries { static long getHash(long hashEntryAdr) { return Uns.getLong(hashEntryAdr, Util.ENTRY_OFF_HASH); } }
HashEntries { static long getHash(long hashEntryAdr) { return Uns.getLong(hashEntryAdr, Util.ENTRY_OFF_HASH); }  }
HashEntries { static long getHash(long hashEntryAdr) { return Uns.getLong(hashEntryAdr, Util.ENTRY_OFF_HASH); }   }
HashEntries { static long getHash(long hashEntryAdr) { return Uns.getLong(hashEntryAdr, Util.ENTRY_OFF_HASH); }    }