Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PutUvarint (0.11 sec)

  1. internal/hash/checksum.go

    // ReadCheckSums reads the values back.
    func (c *Checksum) AppendTo(b []byte, parts []byte) []byte {
    	if c == nil {
    		return nil
    	}
    	var tmp [binary.MaxVarintLen32]byte
    	n := binary.PutUvarint(tmp[:], uint64(c.Type))
    	crc := c.Raw
    	if c.Type.Trailing() {
    		// When we serialize we don't care if it was trailing.
    		c.Type ^= ChecksumTrailing
    	}
    	if len(crc) != c.Type.RawByteLen() {
    		return b
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg encoding/binary, const MaxVarintLen16 ideal-int
    pkg encoding/binary, const MaxVarintLen32 ideal-int
    pkg encoding/binary, const MaxVarintLen64 ideal-int
    pkg encoding/binary, func PutUvarint([]uint8, uint64) int
    pkg encoding/binary, func PutVarint([]uint8, int64) int
    pkg encoding/binary, func Read(io.Reader, ByteOrder, interface{}) error
    pkg encoding/binary, func ReadUvarint(io.ByteReader) (uint64, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top