MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / getTSUIDFromKey

Method getTSUIDFromKey

test/uid/TestUniqueId.java:982–988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

980 }
981
982 @Test
983 public void getTSUIDFromKey() {
984 final byte[] tsuid = UniqueId.getTSUIDFromKey(new byte[]
985 { 0, 0, 1, 1, 1, 1, 1, 0, 0, 2, 0, 0, 3 }, (short)3, (short)4);
986 assertArrayEquals(new byte[] { 0, 0, 1, 0, 0, 2, 0, 0, 3 },
987 tsuid);
988 }
989
990 @Test
991 public void getTSUIDFromKeySalted() {

Callers

nothing calls this directly

Calls 1

getTSUIDFromKeyMethod · 0.95

Tested by

no test coverage detected