MCPcopy Create free account
hub / github.com/questdb/questdb / parseLongQuiet

Method parseLongQuiet

core/src/main/java/io/questdb/std/Numbers.java:1647–1656  ·  view source on GitHub ↗
(CharSequence sequence)

Source from the content-addressed store, hash-verified

1645 }
1646
1647 public static long parseLongQuiet(CharSequence sequence) {
1648 if (sequence == null) {
1649 return LONG_NULL;
1650 }
1651 try {
1652 return parseLong0(sequence, 0, sequence.length());
1653 } catch (NumericException e) {
1654 return LONG_NULL;
1655 }
1656 }
1657
1658 public static long parseLongSize(CharSequence sequence) throws NumericException {
1659 int lim = sequence.length();

Callers 5

testLongEdgeMethod · 0.95
getBoolMethod · 0.95
getLongMethod · 0.95
getLongMethod · 0.95
getLongMethod · 0.95

Calls 2

parseLong0Method · 0.95
lengthMethod · 0.65

Tested by 1

testLongEdgeMethod · 0.76