test_class.file: utils/src/test/java/com/cloud/utils/NumbersUtilTest.java
test_class.identifier: NumbersUtilTest
test_case.body: @Test
      public void bytesToLong() {
          assertEquals(0, NumbersUtil.bytesToLong(new byte[] {0, 0, 0, 0, 0, 0, 0, 0}));
          assertEquals(1, NumbersUtil.bytesToLong(new byte[] {0, 0, 0, 0, 0, 0, 0, 1}));
          assertEquals(257, NumbersUtil.bytesToLong(new byte[] {0, 0, 0, 0, 0, 0, 1, 1}));
      }
test_case.class_method_signature: NumbersUtilTest.bytesToLong()
test_case.full_signature: @Test public void bytesToLong()
test_case.identifier: bytesToLong
test_case.invocations: assertEquals bytesToLong assertEquals bytesToLong assertEquals bytesToLong
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void bytesToLong()
focal_class.declarator: KB = 1024
focal_class.modifier: protected static final
focal_class.original_string: protected static final long KB = 1024;
focal_class.type: long
focal_class.var_name: KB
focal_class.declarator: MB = 1024 * KB
focal_class.modifier: protected static final
focal_class.original_string: protected static final long MB = 1024 * KB;
focal_class.type: long
focal_class.var_name: MB
focal_class.declarator: GB = 1024 * MB
focal_class.modifier: protected static final
focal_class.original_string: protected static final long GB = 1024 * MB;
focal_class.type: long
focal_class.var_name: GB
focal_class.declarator: TB = 1024 * GB
focal_class.modifier: protected static final
focal_class.original_string: protected static final long TB = 1024 * GB;
focal_class.type: long
focal_class.var_name: TB
focal_class.file: utils/src/main/java/com/cloud/utils/NumbersUtil.java
focal_class.identifier: NumbersUtil
focal_class.class_method_signature: NumbersUtil.parseLong(String s, long defaultValue)
focal_class.full_signature: public static long parseLong(String s, long defaultValue)
focal_class.identifier: parseLong
focal_class.modifiers: public static
focal_class.parameters: (String s, long defaultValue)
focal_class.return: long
focal_class.signature: long parseLong(String s, long defaultValue)
focal_class.class_method_signature: NumbersUtil.parseInt(String s, int defaultValue)
focal_class.full_signature: public static int parseInt(String s, int defaultValue)
focal_class.identifier: parseInt
focal_class.modifiers: public static
focal_class.parameters: (String s, int defaultValue)
focal_class.return: int
focal_class.signature: int parseInt(String s, int defaultValue)
focal_class.class_method_signature: NumbersUtil.parseFloat(String s, float defaultValue)
focal_class.full_signature: public static float parseFloat(String s, float defaultValue)
focal_class.identifier: parseFloat
focal_class.modifiers: public static
focal_class.parameters: (String s, float defaultValue)
focal_class.return: float
focal_class.signature: float parseFloat(String s, float defaultValue)
focal_class.class_method_signature: NumbersUtil.bytesToLong(byte b[])
focal_class.full_signature: public static long bytesToLong(byte b[])
focal_class.identifier: bytesToLong
focal_class.modifiers: public static
focal_class.parameters: (byte b[])
focal_class.return: long
focal_class.signature: long bytesToLong(byte b[])
focal_class.class_method_signature: NumbersUtil.bytesToLong(byte b[], int pos)
focal_class.full_signature: public static long bytesToLong(byte b[], int pos)
focal_class.identifier: bytesToLong
focal_class.modifiers: public static
focal_class.parameters: (byte b[], int pos)
focal_class.return: long
focal_class.signature: long bytesToLong(byte b[], int pos)
focal_class.class_method_signature: NumbersUtil.bytesToString(byte[] data, int start, int end)
focal_class.full_signature: public static String bytesToString(byte[] data, int start, int end)
focal_class.identifier: bytesToString
focal_class.modifiers: public static
focal_class.parameters: (byte[] data, int start, int end)
focal_class.return: String
focal_class.signature: String bytesToString(byte[] data, int start, int end)
focal_class.class_method_signature: NumbersUtil.toReadableSize(long bytes)
focal_class.full_signature: public static String toReadableSize(long bytes)
focal_class.identifier: toReadableSize
focal_class.modifiers: public static
focal_class.parameters: (long bytes)
focal_class.return: String
focal_class.signature: String toReadableSize(long bytes)
focal_class.class_method_signature: NumbersUtil.parseInterval(String str, long defaultValue)
focal_class.full_signature: public static long parseInterval(String str, long defaultValue)
focal_class.identifier: parseInterval
focal_class.modifiers: public static
focal_class.parameters: (String str, long defaultValue)
focal_class.return: long
focal_class.signature: long parseInterval(String str, long defaultValue)
focal_class.class_method_signature: NumbersUtil.hash(long value)
focal_class.full_signature: public static int hash(long value)
focal_class.identifier: hash
focal_class.modifiers: public static
focal_class.parameters: (long value)
focal_class.return: int
focal_class.signature: int hash(long value)
focal_method.body: public static long bytesToLong(byte b[]) {
          return bytesToLong(b, 0);
      }
focal_method.class_method_signature: NumbersUtil.bytesToLong(byte b[])
focal_method.full_signature: public static long bytesToLong(byte b[])
focal_method.identifier: bytesToLong
focal_method.invocations: bytesToLong
focal_method.modifiers: public static
focal_method.parameters: (byte b[])
focal_method.return: long
focal_method.signature: long bytesToLong(byte b[])