MCPcopy Create free account
hub / github.com/buger/jsonparser / init

Function init

benchmark/benchmark_codecgen.go:36–44  ·  view source on GitHub ↗

Benchmark harness support for STK-REQ-004.

()

Source from the content-addressed store, hash-verified

34
35// Benchmark harness support for STK-REQ-004.
36func init() {
37 if codec1978.GenVersion != 10 {
38 _, file, _, _ := runtime.Caller(0)
39 panic("codecgen version mismatch: current: 10, need " + strconv.FormatInt(int64(codec1978.GenVersion), 10) + ". Re-generate file: " + file)
40 }
41 if false {
42 var _ byte = 0 // reference the types, but skip this branch at build/run time
43 }
44}
45
46// Benchmark harness support for STK-REQ-004.
47func (x *SmallPayload) CodecEncodeSelf(e *codec1978.Encoder) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected