MCPcopy Create free account
hub / github.com/apple/foundationdb / getLong

Method getLong

recipes/java-recipes/MicroMulti.java:62–67  ·  view source on GitHub ↗
(byte[] val)

Source from the content-addressed store, hash-verified

60 }
61
62 private static long getLong(byte[] val){
63 ByteBuffer b = ByteBuffer.allocate(8);
64 b.order(ByteOrder.LITTLE_ENDIAN);
65 b.put(val);
66 return b.getLong(0);
67 }
68
69 // TODO These five methods are definitely in the recipe book
70 // (add, subtract, get, getCounts, and isElement).

Callers 3

applyMethod · 0.95
applyMethod · 0.45
applyMethod · 0.45

Calls 2

putMethod · 0.80
allocateMethod · 0.45

Tested by 1

applyMethod · 0.36