MCPcopy
hub / github.com/kopia/kopia / UInt64Field

Method UInt64Field

internal/contentlog/contentlog_json_writer.go:266–269  ·  view source on GitHub ↗

UInt64Field writes a uint64 field.

(key string, value uint64)

Source from the content-addressed store, hash-verified

264
265// UInt64Field writes a uint64 field.
266func (jw *JSONWriter) UInt64Field(key string, value uint64) {
267 jw.beforeField(key)
268 jw.uint64Value(value)
269}
270
271// UInt64Element writes a uint64 element.
272func (jw *JSONWriter) UInt64Element(value uint64) {

Callers 15

TestEntryWriter_AllTypesFunction · 0.95
TestJSONWriter_UIntTypesFunction · 0.95
TestJSONWriter_EdgeCasesFunction · 0.95
UIntFieldMethod · 0.95
UInt8FieldMethod · 0.95
UInt16FieldMethod · 0.95
UInt32FieldMethod · 0.95
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80
WriteValueToMethod · 0.80

Calls 2

beforeFieldMethod · 0.95
uint64ValueMethod · 0.95

Tested by 3

TestEntryWriter_AllTypesFunction · 0.76
TestJSONWriter_UIntTypesFunction · 0.76
TestJSONWriter_EdgeCasesFunction · 0.76