@Test public void testGetLong1() throws Throwable { long result = JDBMSpace.getLong(new JDBMSpace.Ref(100L, 1000L).serialize(new JDBMSpace.Ref()), 0); assertEquals(0L, result, "result"); }
static long getLong (byte[] b, int off) { return (b[off+7] & 0xFFL) + ((b[off+6] & 0xFFL) << 8) + ((b[off+5] & 0xFFL) << 16) + ((b[off+4] & 0xFFL) << 24) + ((b[off+3] & 0xFFL) << 32) + ((b[off+2] & 0xFFL) << 40) + ((b[off+1] & 0xFFL) << 48) + ((b[off] & 0xFFL) << 56); }
JDBMSpace extends TimerTask implements Space<K,V> { static long getLong (byte[] b, int off) { return (b[off+7] & 0xFFL) + ((b[off+6] & 0xFFL) << 8) + ((b[off+5] & 0xFFL) << 16) + ((b[off+4] & 0xFFL) << 24) + ((b[off+3] & 0xFFL) << 32) + ((b[off+2] & 0xFFL) << 40) + ((b[off+1] & 0xFFL) << 48) + ((b[off] & 0xFFL) << 56); } }
JDBMSpace extends TimerTask implements Space<K,V> { static long getLong (byte[] b, int off) { return (b[off+7] & 0xFFL) + ((b[off+6] & 0xFFL) << 8) + ((b[off+5] & 0xFFL) << 16) + ((b[off+4] & 0xFFL) << 24) + ((b[off+3] & 0xFFL) << 32) + ((b[off+2] & 0xFFL) << 40) + ((b[off+1] & 0xFFL) << 48) + ((b[off] & 0xFFL) << 56); } protected  JDBMSpace(String name, String filename); }
JDBMSpace extends TimerTask implements Space<K,V> { static long getLong (byte[] b, int off) { return (b[off+7] & 0xFFL) + ((b[off+6] & 0xFFL) << 8) + ((b[off+5] & 0xFFL) << 16) + ((b[off+4] & 0xFFL) << 24) + ((b[off+3] & 0xFFL) << 32) + ((b[off+2] & 0xFFL) << 40) + ((b[off+1] & 0xFFL) << 48) + ((b[off] & 0xFFL) << 56); } protected  JDBMSpace(String name, String filename); static JDBMSpace getSpace(); static JDBMSpace getSpace(String name); synchronized static JDBMSpace getSpace(String name, String filename); void setAutoCommit(boolean b); void commit(); void rollback(); void close(); void out(K key, V value); void out(K key, V value, long timeout); void push(K key, V value); void push(Object key, Object value, long timeout); synchronized V rdp(Object key); synchronized V inp(Object key); synchronized V in(Object key); synchronized V in(Object key, long timeout); synchronized V rd(Object key); synchronized V rd(Object key, long timeout); synchronized void nrd(Object key); synchronized V nrd(Object key, long timeout); long size(Object key); boolean existAny(Object[] keys); boolean existAny(Object[] keys, long timeout); synchronized void put(K key, V value, long timeout); synchronized void put(K key, V value); void run(); void gc(); String getKeys(); }
JDBMSpace extends TimerTask implements Space<K,V> { static long getLong (byte[] b, int off) { return (b[off+7] & 0xFFL) + ((b[off+6] & 0xFFL) << 8) + ((b[off+5] & 0xFFL) << 16) + ((b[off+4] & 0xFFL) << 24) + ((b[off+3] & 0xFFL) << 32) + ((b[off+2] & 0xFFL) << 40) + ((b[off+1] & 0xFFL) << 48) + ((b[off] & 0xFFL) << 56); } protected  JDBMSpace(String name, String filename); static JDBMSpace getSpace(); static JDBMSpace getSpace(String name); synchronized static JDBMSpace getSpace(String name, String filename); void setAutoCommit(boolean b); void commit(); void rollback(); void close(); void out(K key, V value); void out(K key, V value, long timeout); void push(K key, V value); void push(Object key, Object value, long timeout); synchronized V rdp(Object key); synchronized V inp(Object key); synchronized V in(Object key); synchronized V in(Object key, long timeout); synchronized V rd(Object key); synchronized V rd(Object key, long timeout); synchronized void nrd(Object key); synchronized V nrd(Object key, long timeout); long size(Object key); boolean existAny(Object[] keys); boolean existAny(Object[] keys, long timeout); synchronized void put(K key, V value, long timeout); synchronized void put(K key, V value); void run(); void gc(); String getKeys(); static final long GCDELAY; }