Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for encodeUint64Opt (0.29 sec)

  1. src/internal/profile/encode.go

    }
    
    func (p *Mapping) decoder() []decoder {
    	return mappingDecoder
    }
    
    func (p *Mapping) encode(b *buffer) {
    	encodeUint64Opt(b, 1, p.ID)
    	encodeUint64Opt(b, 2, p.Start)
    	encodeUint64Opt(b, 3, p.Limit)
    	encodeUint64Opt(b, 4, p.Offset)
    	encodeInt64Opt(b, 5, p.fileX)
    	encodeInt64Opt(b, 6, p.buildIDX)
    	encodeBoolOpt(b, 7, p.HasFunctions)
    	encodeBoolOpt(b, 8, p.HasFilenames)
    	encodeBoolOpt(b, 9, p.HasLineNumbers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    }
    
    func (p *Mapping) decoder() []decoder {
    	return mappingDecoder
    }
    
    func (p *Mapping) encode(b *buffer) {
    	encodeUint64Opt(b, 1, p.ID)
    	encodeUint64Opt(b, 2, p.Start)
    	encodeUint64Opt(b, 3, p.Limit)
    	encodeUint64Opt(b, 4, p.Offset)
    	encodeInt64Opt(b, 5, p.fileX)
    	encodeInt64Opt(b, 6, p.buildIDX)
    	encodeBoolOpt(b, 7, p.HasFunctions)
    	encodeBoolOpt(b, 8, p.HasFilenames)
    	encodeBoolOpt(b, 9, p.HasLineNumbers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. src/internal/profile/proto.go

    		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
    	}
    	encodeInt64(b, tag, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/proto.go

    		copy(b.tmp[:], b.data[n2:n3])
    		copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    		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)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top