MCPcopy Create free account

hub / github.com/buger/jsonparser / functions

Functions1,095 in github.com/buger/jsonparser

FunctionBenchmarkJsonParserObjectEachStructMedium
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_medium_payload_test.go:173
FunctionBenchmarkJsonParserObjectEachStructSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:142
FunctionBenchmarkJsonParserSetSmall
Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-
benchmark/benchmark_small_payload_test.go:191
FunctionBenchmarkJsonParserSmall
* github.com/buger/jsonparser */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_small_payload_test.go:44
FunctionBenchmarkParseInt
Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:125
FunctionBenchmarkParseIntOverflows
Old implementation that did not check for overflows. Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:145
FunctionBenchmarkParseIntUnsafeSlower
Alternative implementation using unsafe and delegating to strconv.ParseInt Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
bytes_test.go:135
FunctionBenchmarkParsePath
(b *testing.B)
path_compiler_test.go:292
FunctionBenchmarkSet
BenchmarkSet models Set's former incrementally-grown bytes.Buffer. Verifies: SYS-REQ-009 (Set)
issues_56_107_229_test.go:205
FunctionBenchmarkSetLarge
Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-dete
benchmark/benchmark_set_test.go:12
FunctionBenchmarkSetPreAllocated
BenchmarkSetPreAllocated measures Set's calcAllocateSpace-backed component construction. Verifies: SYS-REQ-009 (Set)
issues_56_107_229_test.go:223
FunctionBenchmarkStringEnd_NoEscape_Long
(b *testing.B)
optimization_bench_test.go:30
FunctionBenchmarkStringEnd_NoEscape_Short
============================================================================= Micro-benchmarks for the fast-path optimizations modeled on PR #285. Ea
optimization_bench_test.go:21
FunctionBenchmarkStringEnd_WithEscape
(b *testing.B)
optimization_bench_test.go:40
FunctionBenchmarkTokenEnd_Boolean
(b *testing.B)
optimization_bench_test.go:74
FunctionBenchmarkTokenEnd_LongNumber
(b *testing.B)
optimization_bench_test.go:64
FunctionBenchmarkTokenEnd_Number
--- tokenEnd --------------------------------------------------------------- Common case: a bare scalar value (number, boolean, null) terminated by a
optimization_bench_test.go:54
FunctionBenchmarkUgirjiMedium
* github.com/ugorji/go/codec */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_medium_payload_test.go:474
FunctionBenchmarkUgirjiSmall
* github.com/ugorji/go/codec */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC
benchmark/benchmark_small_payload_test.go:461
FunctionBenchmarkUjsonMedium
* github.com/mreiferson/go-ujson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_medium_payload_test.go:410
FunctionBenchmarkUjsonSmall
* github.com/mreiferson/go-ujson */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 M
benchmark/benchmark_small_payload_test.go:413
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:282
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:622
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:786
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:948
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1357
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1637
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1841
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2024
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2237
MethodCodecDecodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2465
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:47
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:563
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:727
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:897
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1217
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1542
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1782
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:1946
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2151
MethodCodecEncodeSelf
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_codecgen.go:2370
FunctionFuzzDeleteNative
Verifies: SYS-REQ-035
fuzz_native_test.go:113
FunctionFuzzEachKeyNative
Verifies: SYS-REQ-008
fuzz_native_test.go:129
FunctionFuzzEncodingJSON
============================================================================= The fuzzer (testing.F, native go-fuzz) =================================
encoding_json_fuzz_test.go:653
FunctionFuzzGetBooleanNative
Verifies: SYS-REQ-005
fuzz_native_test.go:209
FunctionFuzzGetFloatNative
Verifies: SYS-REQ-004
fuzz_native_test.go:193
FunctionFuzzGetIntNative
Verifies: SYS-REQ-003
fuzz_native_test.go:201
FunctionFuzzGetStringNative
Verifies: SYS-REQ-002
fuzz_native_test.go:185
FunctionFuzzGetUnsafeStringNative
Verifies: SYS-REQ-011
fuzz_native_test.go:217
FunctionFuzzJSONStructureAware
FuzzJSONStructureAware is the structure-aware fuzzer. It combines: - Grammar-based JSON generation (always emits valid structures). - JSON-aware mutat
json_fuzz_test.go:1509
FunctionFuzzObjectEachNative
Verifies: SYS-REQ-007
fuzz_native_test.go:145
FunctionFuzzParseBoolNative
Verifies: SYS-REQ-012
fuzz_native_test.go:169
FunctionFuzzParseFloatNative
Verifies: SYS-REQ-013
fuzz_native_test.go:153
FunctionFuzzParseIntNative
Verifies: SYS-REQ-015
fuzz_native_test.go:161
FunctionFuzzParseStringNative
Verifies: SYS-REQ-014
fuzz_native_test.go:121
FunctionFuzzPathMutation
FuzzPathMutation mutates BOTH the JSON bytes and the key-path bytes, then exercises the full parser surface. This is the harness that would have caugh
path_fuzz_test.go:165
FunctionFuzzSequence
FuzzSequence runs multi-operation sequences against a single JSON document. Verifies: SYS-REQ-035 (no-panic on sequences of operations). reqproof:pro
path_fuzz_test.go:535
FunctionFuzzSetNative
Verifies: SYS-REQ-009
fuzz_native_test.go:137
FunctionFuzzTokenStartNative
Verifies: SYS-REQ-001
fuzz_native_test.go:177
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:95
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:178
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:232
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:366
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:458
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:504
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:550
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:625
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:671
MethodMarshalEasyJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_easyjson.go:781
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:16
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:209
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:406
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:671
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:864
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:1191
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:1437
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:1751
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:1944
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:2271
MethodMarshalJSON
Benchmark harness support for STK-REQ-004.
benchmark/benchmark_ffjson.go:2603
FunctionStringToBytes
(s string)
bytes_unsafe.go:36
FunctionTestAdditionalFuzzHarnessCoverage
Verifies: SYS-REQ-002 [fuzz] MCDC SYS-REQ-002: N/A Verifies: SYS-REQ-003 [fuzz] MCDC SYS-REQ-003: N/A Verifies: SYS-REQ-004 [fuzz] MCDC SYS-REQ-004: N
mcdc_supplement_test.go:439
FunctionTestApiConsistencyEachKeyMatchesGet
Verifies: SYS-REQ-008 reqproof:proptest parser.EachKey, parser.Get
property_test.go:470
FunctionTestArrayEach
Verifies: SYS-REQ-006 [example] STK-REQ-004:AC-1:acceptance MCDC SYS-REQ-006: addressed_array_is_empty=F, addressed_array_is_well_formed=T, array_call
parser_test.go:1634
FunctionTestArrayEachCallbackErrorNotSwallowed
Verifies: SYS-REQ-052 [boundary] MCDC SYS-REQ-052: array_callback_returns_error=T, array_callback_error_is_propagated=F => FALSE
deep_spec_test.go:1165
FunctionTestArrayEachCallbackReceivesElementError
Verifies: SYS-REQ-052 [malformed] MCDC SYS-REQ-052: array_callback_returns_error=T, array_callback_error_is_propagated=T => TRUE
deep_spec_test.go:1136
FunctionTestArrayEachEmpty
Verifies: SYS-REQ-028 [boundary] MCDC SYS-REQ-028: addressed_array_is_empty=T, addressed_array_is_well_formed=T, empty_array_produces_no_callbacks=T =
parser_test.go:1718
FunctionTestArrayEachErr
Verifies: SYS-REQ-004 (ArrayEach) reqproof:proptest:skip targeted witness/regression test; not a property-test subject
array_each_err_test.go:12
FunctionTestArrayEachErrorPropagation
============================================================================= ArrayEach error propagation and truncation (SYS-REQ-052, SYS-REQ-053, SY
deep_spec_test.go:394
FunctionTestArrayEachMalformedDelimiter
Verifies: SYS-REQ-055 [malformed] ArrayEach with malformed delimiter between elements shall return MalformedArrayError.
deep_spec_test.go:432
FunctionTestArrayEachNonArrayRootNoCallback_SYS029
Verifies: SYS-REQ-029 [malformed_input] SYS-REQ-029:malformed_input:negative SYS-REQ-029:non_array_root_no_callback:negative Negative witness: ArrayEa
parser_test.go:2539
FunctionTestArrayEachSupplementalErrors
Verifies: SYS-REQ-006 [malformed] MCDC SYS-REQ-006: N/A
mcdc_supplement_test.go:241
FunctionTestArrayEachTruncatedAtValueBoundary
============================================================================= ArrayEach truncated at value boundary (SYS-REQ-083) ====================
deep_spec_test.go:840
FunctionTestArrayEachTruncatedMidElement
Verifies: SYS-REQ-053 [malformed] ArrayEach on truncated mid-element shall return error, not panic.
deep_spec_test.go:404
FunctionTestArrayEachWildcard
Verifies: SYS-REQ-113 (wildcard path support) reqproof:proptest:skip targeted witness/regression test; not a property-test subject SYS-REQ-113:nominal
wildcard_test.go:115
FunctionTestArrayEachWithWhiteSpace
Verifies: SYS-REQ-029 [boundary] MCDC SYS-REQ-029: addressed_array_is_well_formed=F, malformed_array_input_returns_error=T => TRUE
parser_test.go:1666
FunctionTestArrayEach_OOB_MalformedElements
ArrayEach infinite loop guard: verify o==0 catches all no-progress cases Verifies: SYS-REQ-006 [boundary]
dead_code_audit_oob_test.go:88
FunctionTestArrayOutOfBounds
Verifies: SYS-REQ-008 [boundary] MCDC SYS-REQ-008: N/A
parser_error_test.go:194
FunctionTestBackslashAtEnd
Verifies: SYS-REQ-063 [malformed] Backslash at end of string shall return MalformedValueError.
deep_spec_test.go:659
FunctionTestBlockEndSentinel
Verifies: SYS-REQ-046 [boundary] blockEnd returns -1 when no matching closing bracket/brace found.
deep_spec_test.go:159
← previousnext →301–400 of 1,095, ranked by callers