Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ functions
Functions
852 in github.com/bytedance/sonic-cpp
⨍
Functions
852
◇
Types & classes
120
↓ 82 callers
Function
TestF64toa
tests/ftoa_test.cpp:35
↓ 65 callers
Function
TestParseDouble
tests/parsenumber_test.cpp:48
↓ 53 callers
Method
Size
include/sonic/internal/stack.h:45
↓ 51 callers
Method
IsObject
* @brief Check this node is an object. * @return true if it is an object. */
include/sonic/dom/genericnode.h:255
↓ 50 callers
Function
downCast
include/sonic/dom/genericnode.h:1133
↓ 34 callers
Method
Parse
tests/document_test.cpp:258
↓ 33 callers
Method
HasParseError
* @brief Check parse has error */
include/sonic/dom/generic_document.h:167
↓ 33 callers
Method
Size
include/sonic/dom/json_pointer.h:69
↓ 32 callers
Method
IsArray
* @brief Check this node is an array. * @return true if it is an array. */
include/sonic/dom/genericnode.h:248
↓ 32 callers
Method
IsNull
Check APIs * @brief Check this node is null. * @return true if it is null. */
include/sonic/dom/genericnode.h:213
↓ 29 callers
Method
Empty
include/sonic/internal/stack.h:47
↓ 23 callers
Method
Capacity
include/sonic/internal/stack.h:46
↓ 23 callers
Function
Copy2Digs
include/sonic/internal/itoa.h:41
↓ 22 callers
Method
Begin
include/sonic/internal/stack.h:178
↓ 22 callers
Method
IsString
* @brief Check this node is a string. * @return true if it is a string. */
include/sonic/dom/genericnode.h:227
↓ 22 callers
Function
TestU64toa
tests/itoa_test.cpp:29
↓ 20 callers
Method
IsUint64
* @brief Check this node is in the range of uint64. * @return true if it is uint64. */
include/sonic/dom/genericnode.h:291
↓ 20 callers
Function
TestParseInval
tests/parsenumber_test.cpp:73
↓ 19 callers
Function
TestGetOnDemand
tests/skip_test.cpp:26
↓ 18 callers
Method
End
include/sonic/internal/stack.h:165
↓ 18 callers
Method
IsContainer
* @brief Check the node is an container(object or array). * @return true if it is an object or array. */
include/sonic/dom/genericnode.h:306
↓ 17 callers
Method
FindMember
include/sonic/dom/dynamicnode.h:247
↓ 17 callers
Method
algo
(self)
scripts/tools/draw-png.py:37
↓ 17 callers
Method
to_bitmask
include/sonic/internal/arch/sse/simd.h:292
↓ 15 callers
Method
IsDouble
* @brief Check this node is double. * @return true if it is double. */
include/sonic/dom/genericnode.h:275
↓ 15 callers
Method
IsInt64
* @brief Check this node is in the range of int64. * @return true if it is int64. */
include/sonic/dom/genericnode.h:282
↓ 15 callers
Method
ToString
* @brief Return the context in the buffer. * @return a null-terminate string. * @note a '\0' will be added in the ending, so, this function is n
include/sonic/writebuffer.h:44
↓ 15 callers
Method
destroy
delete DNode's children or copied string
include/sonic/dom/dynamicnode.h:830
↓ 14 callers
Method
IsFalse
* @brief Check this node is false. * @return true if it is false. */
include/sonic/dom/genericnode.h:268
↓ 14 callers
Method
SkipSpace
include/sonic/internal/arch/simd_skip.h:49
↓ 13 callers
Method
Error
include/sonic/error.h:96
↓ 13 callers
Function
InlinedMemcmp
include/sonic/internal/arch/sse/base.h:102
↓ 13 callers
Method
IsStringConst
* @brief Check this node is a const string. "Const" means the string's * buffer is not allocated by any allocator. * @return true if its string
include/sonic/dom/genericnode.h:299
↓ 13 callers
Function
TrailingZeroes
include/sonic/internal/arch/common/arm_common/base.h:32
↓ 12 callers
Method
GetNum
include/sonic/dom/json_pointer.h:67
↓ 12 callers
Method
setChildren
include/sonic/dom/dynamicnode.h:583
↓ 12 callers
Method
store
Memory Operations
include/sonic/internal/arch/avx2/simd.h:99
↓ 11 callers
Function
IsSpace
include/sonic/internal/utils.h:24
↓ 11 callers
Method
IsStr
include/sonic/dom/json_pointer.h:66
↓ 11 callers
Function
setType
include/sonic/dom/genericnode.h:1043
↓ 11 callers
Function
to_bitmask
include/sonic/internal/arch/common/arm_common/simd.h:26
↓ 11 callers
Method
to_bitmask
include/sonic/internal/arch/avx2/simd.h:313
↓ 10 callers
Method
GetErrorOffset
* @brief Get where has parse error */
include/sonic/dom/generic_document.h:179
↓ 10 callers
Method
IsNumber
* @brief Check this node is a number. * @return true if it is a number. */
include/sonic/dom/genericnode.h:241
↓ 10 callers
Function
simd_str2int_sve_8
include/sonic/internal/arch/sve2-128/str2int.h:43
↓ 9 callers
Method
Clear
* @brief Erases all contexts in the buffer. */
include/sonic/internal/stack.h:68
↓ 9 callers
Method
IsBool
* @brief Check this node is boolean. * @return true if it is a boolean. */
include/sonic/dom/genericnode.h:220
↓ 9 callers
Method
IsTrue
* @brief Check this node is true. * @return true if it is true. */
include/sonic/dom/genericnode.h:263
↓ 9 callers
Method
Malloc
include/sonic/allocator.h:39
↓ 9 callers
Method
cputime
(self)
scripts/tools/draw-png.py:46
↓ 9 callers
Function
ieeeParts2Double
tests/ftoa_test.cpp:49
↓ 9 callers
Method
parse
benchmark/json.h:105
↓ 8 callers
Function
GetType
* @brief Get 5-bits type info * @return TypeFlag */
include/sonic/dom/genericnode.h:350
↓ 8 callers
Method
IsNum
include/sonic/dom/json_pointer.h:65
↓ 8 callers
Function
Size
* @brief Get size for string, object, array or raw json. * @return size_t */
include/sonic/dom/genericnode.h:555
↓ 8 callers
Method
store
Memory Operations
include/sonic/internal/arch/sse/simd.h:92
↓ 7 callers
Method
Dump
tests/document_test.cpp:437
↓ 7 callers
Method
EndObject
include/sonic/dom/handler.h:149
↓ 7 callers
Function
Hi32
include/sonic/internal/ftoa.h:713
↓ 7 callers
Function
Lo32
include/sonic/internal/ftoa.h:709
↓ 7 callers
Method
SkipSpaceSafe
include/sonic/internal/arch/simd_skip.h:53
↓ 7 callers
Function
TestFailed
tests/parse_schema_test.cpp:52
↓ 7 callers
Function
TestI64toa
tests/itoa_test.cpp:38
↓ 7 callers
Function
TrailingZeroes
include/sonic/internal/arch/sse/base.h:33
↓ 7 callers
Function
getBasicType
include/sonic/dom/genericnode.h:1034
↓ 7 callers
Function
int64Bits2Double
tests/ftoa_test.cpp:43
↓ 7 callers
Method
rawAssign
include/sonic/dom/dynamicnode.h:863
↓ 7 callers
Function
simd_str2int_sve_l8
include/sonic/internal/arch/sve2-128/str2int.h:54
↓ 7 callers
Method
~DNode
* @brief destructor */
include/sonic/dom/dynamicnode.h:132
↓ 6 callers
Method
EndArray
include/sonic/dom/handler.h:166
↓ 6 callers
Function
EqBytes4
include/sonic/internal/arch/common/skip_common.h:25
↓ 6 callers
Method
Push
include/sonic/internal/stack.h:75
↓ 6 callers
Function
TestSuccess
tests/parse_schema_test.cpp:24
↓ 6 callers
Method
category
(self)
scripts/tools/draw-png.py:26
↓ 6 callers
Function
is_digit
include/sonic/internal/atof_native.h:884
↓ 6 callers
Function
locate_token
return bit position of the first occurrence of the token in a vector return 16 if token does not exist in the vector
include/sonic/internal/arch/sve2-128/unicode.h:72
↓ 6 callers
Function
random_string
tests/memcmp_test.cpp:30
↓ 6 callers
Function
simd8
Zero constructor
include/sonic/internal/arch/neon/simd.h:285
↓ 6 callers
Method
stat
benchmark/json.h:81
↓ 6 callers
Method
str
benchmark/json.h:97
↓ 5 callers
Function
GetNextToken
include/sonic/internal/arch/common/arm_common/skip.inc.h:43
↓ 5 callers
Method
Grow
* @brief Increase the capacity of buffer if cnt is greater than the * remained capacity in the buffer. Otherwise, do nothing. */
include/sonic/internal/stack.h:147
↓ 5 callers
Method
Reserve
* @brief Increase the capacity of buffer if new_cap is greater than the * current capacity(). Otherwise, do nothing. */
include/sonic/internal/stack.h:53
↓ 5 callers
Function
SkipString
include/sonic/internal/arch/x86_ifuncs/skip.h:31
↓ 5 callers
Function
TestGetOnDemandFailed
tests/skip_test.cpp:34
↓ 5 callers
Function
U64toa
include/sonic/internal/itoa.h:119
↓ 5 callers
Method
getArrChildrenFirstUnsafe
include/sonic/dom/dynamicnode.h:562
↓ 5 callers
Method
getObjChildrenFirstUnsafe
include/sonic/dom/dynamicnode.h:577
↓ 4 callers
Function
CountOnes
include/sonic/internal/arch/common/arm_common/base.h:51
↓ 4 callers
Function
DecimalShift
include/sonic/internal/atof_native.h:1187
↓ 4 callers
Function
DoEscape
include/sonic/internal/arch/common/quote_common.h:34
↓ 4 callers
Function
ErrorMsg
include/sonic/error.h:57
↓ 4 callers
Method
GetBool
* @brief Get the boolean value of this node. * @retval true if this node is true, otherwise, false. */
include/sonic/dom/genericnode.h:314
↓ 4 callers
Method
GetParseError
* @brief Get parse error no. */
include/sonic/dom/generic_document.h:172
↓ 4 callers
Function
MulU64
include/sonic/internal/atof_native.h:775
↓ 4 callers
Function
ParseLazy
include/sonic/experiment/lazy_update.h:29
↓ 4 callers
Method
SkipOne
SkipOne skip one raw json value and return the start of value, return the negtive if errors.
include/sonic/internal/arch/simd_skip.h:95
↓ 4 callers
Method
StartArray
include/sonic/dom/handler.h:141
↓ 4 callers
Method
StartObject
include/sonic/dom/handler.h:133
↓ 4 callers
Function
TestParseUnsigned
tests/parsenumber_test.cpp:40
next →
1–100 of 852, ranked by callers