Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for encodeMessage (0.23 sec)

  1. src/internal/profile/encode.go

    func (p *Profile) encode(b *buffer) {
    	for _, x := range p.SampleType {
    		encodeMessage(b, 1, x)
    	}
    	for _, x := range p.Sample {
    		encodeMessage(b, 2, x)
    	}
    	for _, x := range p.Mapping {
    		encodeMessage(b, 3, x)
    	}
    	for _, x := range p.Location {
    		encodeMessage(b, 4, x)
    	}
    	for _, x := range p.Function {
    		encodeMessage(b, 5, x)
    	}
    	encodeStrings(b, 6, p.stringTable)
    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 *Profile) encode(b *buffer) {
    	for _, x := range p.SampleType {
    		encodeMessage(b, 1, x)
    	}
    	for _, x := range p.Sample {
    		encodeMessage(b, 2, x)
    	}
    	for _, x := range p.Mapping {
    		encodeMessage(b, 3, x)
    	}
    	for _, x := range p.Location {
    		encodeMessage(b, 4, x)
    	}
    	for _, x := range p.Function {
    		encodeMessage(b, 5, x)
    	}
    	encodeStrings(b, 6, p.stringTable)
    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/main/java/jcifs/dcerpc/DcerpcHandle.java

                bind();
            }
            byte[] inB = this.transportContext.getBufferCache().getBuffer();
            byte[] out = this.transportContext.getBufferCache().getBuffer();
            try {
                NdrBuffer buf = encodeMessage(msg, out);
                int off = sendFragments(msg, out, buf);
    
                // last fragment gets written (possibly) using transact/call semantics
                int have = doSendReceiveFragment(out, off, msg.length, inB);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  4. src/internal/profile/proto.go

    		encodeUint64(b, tag, 1)
    	} else {
    		encodeUint64(b, tag, 0)
    	}
    }
    
    func encodeBoolOpt(b *buffer, tag int, x bool) {
    	if !x {
    		return
    	}
    	encodeBool(b, tag, x)
    }
    
    func encodeMessage(b *buffer, tag int, m message) {
    	n1 := len(b.data)
    	m.encode(b)
    	n2 := len(b.data)
    	encodeLength(b, tag, n2-n1)
    	n3 := len(b.data)
    	copy(b.tmp[:], b.data[n2:n3])
    	copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/proto.go

    	if x {
    		encodeUint64(b, tag, 1)
    	} else {
    		encodeUint64(b, tag, 0)
    	}
    }
    
    func encodeBoolOpt(b *buffer, tag int, x bool) {
    	if x {
    		encodeBool(b, tag, x)
    	}
    }
    
    func encodeMessage(b *buffer, tag int, m message) {
    	n1 := len(b.data)
    	m.encode(b)
    	n2 := len(b.data)
    	encodeLength(b, tag, n2-n1)
    	n3 := len(b.data)
    	copy(b.tmp[:], b.data[n2:n3])
    	copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    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