- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for encodeUint64 (0.17 sec)
-
src/internal/profile/proto.go
copy(b.data[n1:], b.tmp[:n3-n2]) return } for _, u := range x { encodeUint64(b, tag, u) } } func encodeUint64Opt(b *buffer, tag int, x uint64) { if x == 0 { return } encodeUint64(b, tag, x) } func encodeInt64(b *buffer, tag int, x int64) { u := uint64(x) encodeUint64(b, tag, u) } func encodeInt64Opt(b *buffer, tag int, x int64) { if x == 0 { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 16:20:57 UTC 2022 - 6.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/proto.go
copy(b.data[n1:], b.tmp[:n3-n2]) return } for _, u := range x { encodeUint64(b, tag, u) } } func encodeUint64Opt(b *buffer, tag int, x uint64) { if x == 0 { return } encodeUint64(b, tag, x) } func encodeInt64(b *buffer, tag int, x int64) { u := uint64(x) encodeUint64(b, tag, u) } func encodeInt64s(b *buffer, tag int, x []int64) { if len(x) > 2 { // Use packed encoding
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 7.4K bytes - Viewed (0) -
src/internal/profile/proto_test.go
func(b *buffer, m message) error { return decodeInt64s(b, &m.(*packedInts).int64s) }, } } func (u *packedInts) encode(b *buffer) { encodeUint64s(b, 1, u.uint64s) encodeInt64s(b, 2, u.int64s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
encodeInt64Opt(b, 10, p.DurationNanos) if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) { encodeMessage(b, 11, p.PeriodType) } encodeInt64Opt(b, 12, p.Period) encodeInt64s(b, 13, p.commentX) encodeInt64(b, 14, p.defaultSampleTypeX) } var profileDecoder = []decoder{ nil, // 0 // repeated ValueType sample_type = 1 func(b *buffer, m message) error { x := new(ValueType)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
src/internal/profile/encode.go
} func (p *Sample) decoder() []decoder { return sampleDecoder } func (p *Sample) encode(b *buffer) { encodeUint64s(b, 1, p.locationIDX) for _, x := range p.Value { encodeInt64(b, 2, x) } for _, x := range p.labelX { encodeMessage(b, 3, x) } } var sampleDecoder = []decoder{ nil, // 0 // repeated uint64 location = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 13.6K bytes - Viewed (0)