Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adamritter/fastgron
/ functions
Functions
878 in github.com/adamritter/fastgron
⨍
Functions
878
◇
Types & classes
118
↓ 150 callers
Function
parse_digit
extern/simdjson/simdjson.h:11225
↓ 128 callers
Method
get
extern/simdjson/simdjson.h:3736
↓ 85 callers
Method
append
extern/simdjson/simdjson.h:9363
↓ 76 callers
Method
error
extern/simdjson/simdjson.h:3743
↓ 71 callers
Function
log_error
extern/simdjson/simdjson.h:27409
↓ 66 callers
Method
append
extern/simdjson/simdjson.cpp:4879
↓ 60 callers
Function
log_value
extern/simdjson/simdjson.h:27388
↓ 60 callers
Method
next
Return a mask of all string characters plus end quotes. prev_escaped is overflow saying whether the next character is escaped. prev_in_string is over
extern/simdjson/simdjson.cpp:3363
↓ 59 callers
Method
size
src/growing_string.hpp:89
↓ 55 callers
Method
size
extern/simdjson/simdjson.h:3969
↓ 52 callers
Method
data
extern/simdjson/simdjson.h:3973
↓ 49 callers
Function
is_not_structural_or_whitespace
return non-zero if not a structural or whitespace char zero otherwise
extern/simdjson/simdjson.h:10614
↓ 48 callers
Method
log_value
extern/simdjson/simdjson.cpp:4738
↓ 40 callers
Function
str4ncmp
Again in str4ncmp we use a memcpy to avoid undefined behavior. The memcpy may appear expensive. Yet all decent optimizing compilers will compile memcp
extern/simdjson/simdjson.h:10739
↓ 37 callers
Method
compare
extern/simdjson/simdjson.h:1364
↓ 36 callers
Method
remaining_len
extern/simdjson/simdjson.cpp:4724
↓ 36 callers
Method
reset
extern/simdjson/simdjson.h:29542
↓ 35 callers
Method
check_utf8_bytes
Check whether the current bytes are valid UTF-8.
extern/simdjson/simdjson.cpp:3090
↓ 34 callers
Method
end
extern/simdjson/simdjson.h:6940
↓ 34 callers
Method
length
extern/simdjson/simdjson.h:3971
↓ 31 callers
Function
simd8
Zero constructor
extern/simdjson/simdjson.h:10431
↓ 30 callers
Method
advance
extern/simdjson/simdjson.cpp:3245
↓ 30 callers
Function
parse_float_fallback
We call a fallback floating-point parser that might be slow. Note it will accept JSON numbers, but the JSON spec. is more restrictive so before you ca
extern/simdjson/simdjson.h:11167
↓ 29 callers
Method
saturating_sub
extern/simdjson/simdjson.h:10295
↓ 29 callers
Method
substr
extern/simdjson/simdjson.h:1335
↓ 29 callers
Method
value
extern/simdjson/simdjson.h:8217
↓ 25 callers
Function
trailing_zeroes
We sometimes call trailing_zero on inputs that are zero, but the algorithms do not end up using the returned value. Sadly, sanitizers are not smart en
extern/simdjson/simdjson.h:9939
↓ 24 callers
Function
__emulu
this is a slow emulation routine for 32-bit
extern/simdjson/simdjson.h:10681
↓ 24 callers
Method
any_bits_set
extern/simdjson/simdjson.h:10318
↓ 24 callers
Function
compute_float_64
Attempts to compute i * 10^(power) exactly; and if "negative" is true, negate the result. This function will only work in some cases, when it does not
extern/simdjson/simdjson.h:10916
↓ 24 callers
Function
hex_to_u32_nocheck
returns a value with the high 16 bits set if not valid otherwise returns the conversion of the 4 hex digits at src into the bottom 16 bits of the 32-b
extern/simdjson/simdjson.h:10628
↓ 24 callers
Method
increment_count
extern/simdjson/simdjson.cpp:5036
↓ 24 callers
Function
log_line
extern/simdjson/simdjson.cpp:4436
↓ 23 callers
Method
begin
extern/simdjson/simdjson.h:6936
↓ 23 callers
Function
count_ones
result might be undefined when input_num is zero */
extern/simdjson/simdjson.h:9977
↓ 22 callers
Function
log_end_value
extern/simdjson/simdjson.h:27404
↓ 22 callers
Function
log_start_value
extern/simdjson/simdjson.h:27395
↓ 22 callers
Method
usable
extern/simdjson/simdjson.h:9022
↓ 21 callers
Function
leading_zeroes
result might be undefined when input_num is zero */
extern/simdjson/simdjson.h:9962
↓ 20 callers
Method
block_index
extern/simdjson/simdjson.cpp:3224
↓ 20 callers
Method
to_bitmask
extern/simdjson/simdjson.h:10557
↓ 19 callers
Method
max_depth
extern/simdjson/simdjson.h:3156
↓ 19 callers
Method
peek
extern/simdjson/simdjson.h:27750
↓ 18 callers
Method
visit_empty_array
extern/simdjson/simdjson.cpp:5003
↓ 18 callers
Method
visit_empty_object
extern/simdjson/simdjson.cpp:5000
↓ 16 callers
Function
batched_print
src/batched_print.hpp:43
↓ 16 callers
Method
eq
extern/simdjson/simdjson.h:10577
↓ 16 callers
Method
lookup_16
extern/simdjson/simdjson.h:14278
↓ 15 callers
Method
check_next_input
extern/simdjson/simdjson.cpp:3115
↓ 15 callers
Function
clear_lowest_bit
result might be undefined when input_num is zero */
extern/simdjson/simdjson.h:9957
↓ 15 callers
Method
empty
extern/simdjson/simdjson.h:1264
↓ 15 callers
Method
full_block
extern/simdjson/simdjson.cpp:3232
↓ 15 callers
Method
get_remainder
extern/simdjson/simdjson.cpp:3237
↓ 15 callers
Method
has_full_block
extern/simdjson/simdjson.cpp:3227
↓ 15 callers
Function
zero_leading_bit
* Flips bit at index 63 - lz. Thus if you have 'leading_zeroes' leading zeroes, * then this will set to zero the leading bit. It is possible for lead
extern/simdjson/simdjson.h:10008
↓ 14 callers
Method
get_root_value_iterator
extern/simdjson/simdjson.h:29680
↓ 14 callers
Function
is_structural_or_whitespace
extern/simdjson/simdjson.h:10618
↓ 13 callers
Function
is_streaming
* Returns true if mode == streaming_partial or mode == streaming_final */
extern/simdjson/simdjson.h:2951
↓ 13 callers
Method
store
extern/simdjson/simdjson.h:10534
↓ 13 callers
Method
tape_ref_type
extern/simdjson/simdjson.h:9067
↓ 12 callers
Method
abandon
extern/simdjson/simdjson.h:28038
↓ 12 callers
Method
backslash_index
extern/simdjson/simdjson.h:10808
↓ 12 callers
Function
codepoint_to_utf8
given a code point cp, writes to c the utf-8 code, outputting the length in bytes, if the length is zero, the code point is invalid This can possibly
extern/simdjson/simdjson.h:10649
↓ 12 callers
Function
find_next_document_index
* This algorithm is used to quickly identify the last structural position that * makes up a complete document. * * It does this by going backwar
extern/simdjson/simdjson.cpp:3692
↓ 12 callers
Function
from_chars
extern/simdjson/simdjson.cpp:1519
↓ 12 callers
Function
full_multiplication
extern/simdjson/simdjson.h:10698
↓ 12 callers
Method
has_backslash
extern/simdjson/simdjson.h:10806
↓ 12 callers
Method
has_quote_first
extern/simdjson/simdjson.h:10805
↓ 12 callers
Method
is_single_token
extern/simdjson/simdjson.h:27966
↓ 12 callers
Function
is_valid_false_atom
extern/simdjson/simdjson.h:10759
↓ 12 callers
Function
is_valid_null_atom
extern/simdjson/simdjson.h:10771
↓ 12 callers
Function
is_valid_true_atom
extern/simdjson/simdjson.h:10747
↓ 12 callers
Function
parse_string
* Unescape a valid UTF-8 string from src to dst, stopping at a final unescaped quote. There * must be an unescaped quote terminating the string. It r
extern/simdjson/simdjson.cpp:4287
↓ 12 callers
Function
printable_char
Helper to turn unprintable or newline characters into spaces
extern/simdjson/simdjson.cpp:4410
↓ 12 callers
Method
quote_index
extern/simdjson/simdjson.h:10807
↓ 12 callers
Function
to_double
Convert a mantissa, an exponent and a sign bit into an ieee64 double. The real_exponent needs to be in [0, 2046] (technically real_exponent = 2047 wou
extern/simdjson/simdjson.h:10901
↓ 12 callers
Function
to_string
extern/simdjson/simdjson.h:715
↓ 12 callers
Method
visit_key
extern/simdjson/simdjson.cpp:5032
↓ 12 callers
Method
visit_primitive
extern/simdjson/simdjson.cpp:4773
↓ 11 callers
Method
gt_bits
extern/simdjson/simdjson.h:10313
↓ 11 callers
Method
return_current_and_advance
extern/simdjson/simdjson.h:27746
↓ 10 callers
Method
capacity
extern/simdjson/simdjson.h:3152
↓ 10 callers
Method
check_eof
The only problem that can happen at EOF is that a multibyte character is too short or a byte value too large in the last bytes: check_special_cases on
extern/simdjson/simdjson.cpp:3101
↓ 10 callers
Method
copy_to_buffer
extern/simdjson/simdjson.h:28171
↓ 10 callers
Method
errors
do not forget to call check_eof!
extern/simdjson/simdjson.cpp:3140
↓ 10 callers
Method
find
extern/simdjson/simdjson.h:1445
↓ 10 callers
Method
finish
extern/simdjson/simdjson.cpp:3396
↓ 10 callers
Method
scalar
extern/simdjson/simdjson.cpp:6856
↓ 10 callers
Method
type
extern/simdjson/simdjson.h:7092
↓ 10 callers
Method
whitespace
extern/simdjson/simdjson.cpp:6854
↓ 10 callers
Method
write
extern/simdjson/simdjson.cpp:4892
↓ 9 callers
Method
depth
extern/simdjson/simdjson.h:28109
↓ 9 callers
Function
is_integer
extern/simdjson/simdjson.cpp:1016
↓ 9 callers
Method
parse
extern/simdjson/simdjson.h:8900
↓ 9 callers
Method
position
extern/simdjson/simdjson.h:27770
↓ 9 callers
Function
to_json_string
extern/simdjson/simdjson.h:31754
↓ 8 callers
Function
array
extern/simdjson/simdjson.h:7424
↓ 8 callers
Method
bits_not_set
extern/simdjson/simdjson.h:14428
↓ 8 callers
Function
log_line
extern/simdjson/simdjson.h:27487
↓ 8 callers
Function
parse_decimal
This should always succeed since it follows a call to parse_number.
extern/simdjson/simdjson.cpp:1019
next →
1–100 of 878, ranked by callers