MCPcopy Index your code
hub / github.com/questdb/questdb / parseIntQuiet

Method parseIntQuiet

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

Source from the content-addressed store, hash-verified

1362 }
1363
1364 public static int parseIntQuiet(CharSequence sequence) {
1365 try {
1366 if (sequence == null || Chars.equals("NaN", sequence)) {
1367 return Numbers.INT_NULL;
1368 }
1369 return parseInt0(sequence, 0, sequence.length());
1370 } catch (NumericException e) {
1371 return Numbers.INT_NULL;
1372 }
1373
1374 }
1375
1376 public static long parseIntSafely(CharSequence sequence, final int p, int lim) throws NumericException {
1377 if (lim == p) {

Callers 9

testIntEdgeMethod · 0.95
createColumnAliasMethod · 0.95
getIntMethod · 0.95
getByteMethod · 0.95
getByteMethod · 0.95
getIntMethod · 0.95
getIntMethod · 0.95
getByteMethod · 0.95
str2ByteMethod · 0.95

Calls 3

equalsMethod · 0.95
parseInt0Method · 0.95
lengthMethod · 0.65

Tested by 1

testIntEdgeMethod · 0.76