Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encodeUint64 (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top