Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for strict (0.2 sec)

  1. src/bytes/reader.go

    // io.ByteScanner, and io.RuneScanner interfaces by reading from
    // a byte slice.
    // Unlike a [Buffer], a Reader is read-only and supports seeking.
    // The zero value for Reader operates like a Reader of an empty slice.
    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    }
    
    func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil }
    
    func (f *fileListEntry) String() string {
    	return fs.FormatDirEntry(f)
    }
    
    // toValidName coerces name to be a valid name for fs.FS.Open.
    func toValidName(name string) string {
    	name = strings.ReplaceAll(name, `\`, `/`)
    	p := path.Clean(name)
    
    	p = strings.TrimPrefix(p, "/")
    
    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)
  3. src/archive/tar/reader.go

    					hdr.Xattrs = make(map[string]string)
    				}
    				hdr.Xattrs[k[len(paxSchilyXattr):]] = v
    			}
    		}
    		if err != nil {
    			return ErrHeader
    		}
    	}
    	hdr.PAXRecords = paxHdrs
    	return nil
    }
    
    // parsePAX parses PAX headers.
    // If an extended header (type 'x') is invalid, ErrHeader is returned.
    func parsePAX(r io.Reader) (map[string]string, error) {
    	buf, err := readSpecialFile(r)
    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)
Back to top