MCPcopy
hub / github.com/pingcap/tidb / appendUint32

Function appendUint32

pkg/types/json_binary.go:742–746  ·  view source on GitHub ↗
(buf []byte, v uint32)

Source from the content-addressed store, hash-verified

740}
741
742func appendUint32(buf []byte, v uint32) []byte {
743 var tmp [4]byte
744 jsonEndian.PutUint32(tmp[:], v)
745 return append(buf, tmp[:]...)
746}
747
748func appendBinaryNumber(buf []byte, x json.Number) (JSONTypeCode, []byte, error) {
749 // The type interpretation process is as follows:

Callers 14

appendBinaryArrayFunction · 0.85
appendBinaryObjectFunction · 0.85
TestCursorExistsFlagFunction · 0.85
TestCursorWithParamsFunction · 0.85
TestCursorFetchResetFunction · 0.85
dispatchSendLongDataFunction · 0.85
TestDateTimeTypesFunction · 0.85

Calls

no outgoing calls

Tested by 12

TestCursorExistsFlagFunction · 0.68
TestCursorWithParamsFunction · 0.68
TestCursorFetchResetFunction · 0.68
dispatchSendLongDataFunction · 0.68
TestDateTimeTypesFunction · 0.68