Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Case (0.17 sec)

  1. src/compress/zlib/reader.go

    }
    
    func (z *reader) Read(p []byte) (int, error) {
    	if z.err != nil {
    		return 0, z.err
    	}
    
    	var n int
    	n, z.err = z.decompressor.Read(p)
    	z.digest.Write(p[0:n])
    	if z.err != io.EOF {
    		// In the normal case we return here.
    		return n, z.err
    	}
    
    	// Finished file; check checksum.
    	if _, err := io.ReadFull(z.r, z.scratch[0:4]); err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		z.err = err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    		case paxUid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Uid = int(id64) // Integer overflow possible
    		case paxGid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/compress/lzw/reader.go

    			r.last = decoderInvalidCode
    			continue
    		case code == r.eof:
    			r.err = io.EOF
    			break loop
    		case code <= r.hi:
    			c, i := code, len(r.output)-1
    			if code == r.hi && r.last != decoderInvalidCode {
    				// code == hi is a special case which expands to the last expansion
    				// followed by the head of the last expansion. To find the head, we walk
    				// the prefix chain until we find a literal code.
    				c = r.last
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top