Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for uint64 (0.45 sec)

  1. src/archive/zip/reader.go

    type readBuf []byte
    
    func (b *readBuf) uint8() uint8 {
    	v := (*b)[0]
    	*b = (*b)[1:]
    	return v
    }
    
    func (b *readBuf) uint16() uint16 {
    	v := binary.LittleEndian.Uint16(*b)
    	*b = (*b)[2:]
    	return v
    }
    
    func (b *readBuf) uint32() uint32 {
    	v := binary.LittleEndian.Uint32(*b)
    	*b = (*b)[4:]
    	return v
    }
    
    func (b *readBuf) uint64() uint64 {
    	v := binary.LittleEndian.Uint64(*b)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    	if int64(len(b)) > fr.nb {
    		b = b[:fr.nb]
    	}
    	if len(b) > 0 {
    		n, err = fr.r.Read(b)
    		fr.nb -= int64(n)
    	}
    	switch {
    	case err == io.EOF && fr.nb > 0:
    		return n, io.ErrUnexpectedEOF
    	case err == nil && fr.nb == 0:
    		return n, io.EOF
    	default:
    		return n, err
    	}
    }
    
    func (fr *regFileReader) WriteTo(w io.Writer) (int64, error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/hash/reader.go

    // are not empty then it will check whether the computed
    // match the reference values.
    type Reader struct {
    	src         io.Reader
    	bytesRead   int64
    	expectedMin int64
    	expectedMax int64
    
    	size       int64
    	actualSize int64
    
    	checksum      etag.ETag
    	contentSHA256 []byte
    
    	// Content checksum
    	contentHash   Checksum
    	contentHasher hash.Hash
    	disableMD5    bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
Back to top