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
↓ 1 callers
Function
sort_by_labels
(groups, labels)
scripts/tools/draw-png.py:270
↓ 1 callers
Method
stat_impl
benchmark/cjson.hpp:53
↓ 1 callers
Method
str_impl
benchmark/cjson.hpp:24
↓ 1 callers
Method
stringfy_impl
benchmark/cjson.hpp:43
↓ 1 callers
Function
wide_chars
(s)
scripts/tools/draw-png.py:171
↓ 1 callers
Method
~MetaNode
include/sonic/dom/dynamicnode.h:355
Method
AdaptiveChunkPolicy
include/sonic/allocator.h:152
Method
Add100Nodes
tests/node_test.cpp:109
Method
AddChunk
Creates a new chunk. ! \param capacity Capacity of the chunk in bytes. \return true if success. */
include/sonic/allocator.h:437
Function
AddMember
* @brief Add a new member for this object. * @param key new member's name, must be string * @param value rvalue of the added value node * @pa
include/sonic/dom/genericnode.h:784
Method
AlignBuffer
include/sonic/allocator.h:452
Function
AtPointer
include/sonic/dom/genericnode.h:697
Function
AtPointerHelper
tests/node_test.cpp:333
Function
BM_Decode
benchmark/main.cpp:139
Function
BM_Encode
benchmark/main.cpp:42
Function
BM_Find
benchmark/main.cpp:98
Function
BM_RapidjsonSaxOnDemand
benchmark/ondemand.hpp:95
Function
BM_SIMDjsonOnDemand
benchmark/ondemand.hpp:75
Function
BM_SonicOnDemand
benchmark/ondemand.hpp:39
Function
BM_Stat
benchmark/main.cpp:56
Method
Begin
include/sonic/writebuffer.h:148
Method
Bool
benchmark/rapidjson_sax.hpp:70
Method
Bool
include/sonic/dom/schema_handler.h:126
Method
BsIndex
include/sonic/internal/arch/avx2/unicode.h:51
Function
CBegin
* @brief Get array const begin iterator * @return ValueIterator */
include/sonic/dom/genericnode.h:854
Function
CEnd
* @brief Get array const end iterator * @return ValueIterator */
include/sonic/dom/genericnode.h:881
Function
CMemberBegin
* @brief Get object const begin iterator. * @return MemberIterator */
include/sonic/dom/genericnode.h:602
Function
CMemberEnd
* @brief Get object const end iterator. * @return MemberIterator */
include/sonic/dom/genericnode.h:629
Method
Capacity
Computes the total capacity of allocated memory chunks. ! \return total capacity in bytes. */
include/sonic/allocator.h:338
Method
Capacity
include/sonic/writebuffer.h:51
Method
ChunkSize
include/sonic/allocator.h:155
Method
Clear
Deallocates all memory chunks, excluding the first/user one.
include/sonic/allocator.h:322
Method
Clear
* @brief Erases all contexts in the buffer. */
include/sonic/writebuffer.h:63
Function
ClearLowestBit
result might be undefined when input_num is zero */
include/sonic/internal/arch/avx2/base.h:70
Function
ClearLowestBit
result might be undefined when input_num is zero */
include/sonic/internal/arch/common/arm_common/base.h:42
Function
ClearLowestBit
result might be undefined when input_num is zero */
include/sonic/internal/arch/sse/base.h:43
Function
ConstMemberIterator FindMember
* @brief Find a specific member in object. A member is a pair node of key and * name. * @param key string view of the string key * @retval Me
include/sonic/dom/genericnode.h:683
Function
CountOnes
include/sonic/internal/arch/avx2/base.h:83
Function
CountOnes
include/sonic/internal/arch/sse/base.h:56
Method
CreateNode
tests/node_test.cpp:34
Method
DNode
* @brief move constructor * @param rhs moved value, must be a rvalue reference */
include/sonic/dom/dynamicnode.h:63
Method
Data
include/sonic/dom/json_pointer.h:70
Method
DocumentTest
tests/document_test.cpp:257
Method
Double
benchmark/rapidjson_sax.hpp:74
Method
Double
include/sonic/dom/schema_handler.h:156
Function
Dump
include/sonic/dom/genericnode.h:1011
Function
Empty
* @brief Check string, array or object is empty. * @retval true is empty * @retval false is not empty * @note The type of this node must be s
include/sonic/dom/genericnode.h:566
Method
Empty
include/sonic/writebuffer.h:52
Function
End
* @brief Get array end iterator * @return ValueIterator */
include/sonic/dom/genericnode.h:863
Method
End
include/sonic/writebuffer.h:135
Method
EndArray
benchmark/rapidjson_sax.hpp:55
Method
EndArray
include/sonic/dom/schema_handler.h:273
Method
EndArray
include/sonic/dom/handler.h:237
Method
EndObject
benchmark/rapidjson_sax.hpp:45
Method
EndObject
include/sonic/dom/schema_handler.h:232
Method
EndObject
include/sonic/dom/handler.h:251
Function
Erase
* @brief erase specific element in an array by an iterator * @param pos ValueIterator for expected erasing element. * @return ValueIterator the
include/sonic/dom/genericnode.h:968
Function
EraseMember
* @brief Remove specific range [first, last) in an object * @param first range start * @param last range end * @return iterator following the
include/sonic/dom/genericnode.h:817
Function
F64Decimal F64ToDecimal
Rendering float point number into decimal. The function used Schubfach algorithm, reference: The Schubfach way to render doubles, Raffaello Giuliet
include/sonic/internal/ftoa.h:924
Method
Find
include/sonic/internal/arch/avx2/unicode.h:61
Method
Find
include/sonic/internal/arch/neon/unicode.h:66
Method
Find
include/sonic/internal/arch/sve2-128/unicode.h:81
Method
Find
include/sonic/internal/arch/sse/unicode.h:61
Method
Free
Frees a memory block (concept Allocator)
include/sonic/allocator.h:419
Method
GenericDocument
* @brief Default GenericDocument constructor. * @param allocator Allocator pointer to maintain all nodes' memory. If it is * not given or nullpt
include/sonic/dom/generic_document.h:35
Method
GenericJsonPointer
include/sonic/dom/json_pointer.h:83
Method
GenericJsonPointerNode
include/sonic/dom/json_pointer.h:38
Method
GenericNode
* @brief Default constructor, which creates a null node. */
include/sonic/dom/genericnode.h:72
Method
GetArrayElem
include/sonic/internal/arch/simd_skip.h:58
Method
GetChunkBuffer
include/sonic/allocator.h:202
Method
GetChunkHead
include/sonic/allocator.h:198
Function
GetDouble
* @brief Get double data. * @return double */
include/sonic/dom/genericnode.h:374
Function
GetEscapeMask4
include/sonic/internal/arch/common/quote_common.h:27
Function
GetEscaped
include/sonic/internal/arch/common/unicode_common.h:270
Function
GetInt64
* @brief Get int64 data. * @return int64_t */
include/sonic/dom/genericnode.h:358
Function
GetNextToken
include/sonic/internal/arch/common/x86_common/skip.inc.h:38
Function
GetNonSpaceBits
include/sonic/internal/arch/avx2/unicode.h:70
Method
GetStat
benchmark/yyjson.hpp:67
Method
GetStats
benchmark/sonic.hpp:90
Method
GetStats
benchmark/rapidjson.hpp:87
Method
GetStats
benchmark/yyjson.hpp:81
Function
GetStringBits
include/sonic/internal/arch/common/arm_common/skip.inc.h:22
Function
GetStringBits
include/sonic/internal/arch/common/x86_common/skip.inc.h:17
Function
GetUint64
* @brief Get uint64 data. * @return uint64_t */
include/sonic/dom/genericnode.h:366
Method
GetUintHandler
benchmark/rapidjson_sax.hpp:16
Method
HasBackslash
include/sonic/internal/arch/avx2/unicode.h:44
Function
HasMember
* @brief Check object has the specific key. * @param key string view of the string key * @return bool */
include/sonic/dom/genericnode.h:661
Method
HasQuoteFirst
include/sonic/internal/arch/avx2/unicode.h:41
Method
HasUnescaped
include/sonic/internal/arch/avx2/unicode.h:47
Function
InlinedMemcmp
include/sonic/internal/arch/avx2/base.h:318
Function
InlinedMemcmp
include/sonic/internal/arch/common/arm_common/base.h:79
Function
InlinedMemcmpEq
include/sonic/internal/arch/avx2/base.h:283
Function
InlinedMemcmpEq
include/sonic/internal/arch/common/arm_common/base.h:74
Method
Int
benchmark/rapidjson_sax.hpp:79
Method
Int
include/sonic/dom/schema_handler.h:146
Method
Int
include/sonic/dom/handler.h:117
Method
Int64
benchmark/rapidjson_sax.hpp:83
Function
IsAscii
include/sonic/internal/arch/avx2/base.h:101
Method
JsonCppParseResult
benchmark/jsoncpp.hpp:33
Method
Key
check whether the path is finished
benchmark/rapidjson_sax.hpp:29
← previous
next →
301–400 of 852, ranked by callers