Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Lyding (0.15 sec)

  1. src/bytes/bytes.go

    func CutPrefix(s, prefix []byte) (after []byte, found bool) {
    	if !HasPrefix(s, prefix) {
    		return s, false
    	}
    	return s[len(prefix):], true
    }
    
    // CutSuffix returns s without the provided ending suffix byte slice
    // and reports whether it found the suffix.
    // If s doesn't end with suffix, CutSuffix returns s, false.
    // If suffix is the empty byte slice, CutSuffix returns s, true.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	_go_.o        # gc-compiled object for _cgo_gotypes.go, _cgo_import.go, *.cgo1.go
    	_all.o        # gcc-compiled object for _cgo_export.c, *.cgo2.c
    
    If there is an error generating the _cgo_import.go file, then, instead
    of adding _cgo_import.go to the package, the go tool adds an empty
    file named dynimportfail. The _cgo_import.go file is only needed when
    using internal linking mode, which is not the default when linking
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	paxGNUSparseRealSize  = "GNU.sparse.realsize"
    )
    
    // basicKeys is a set of the PAX keys for which we have built-in support.
    // This does not contain "charset" or "comment", which are both PAX-specific,
    // so adding them as first-class features of Header is unlikely.
    // Users can use the PAXRecords field to set it themselves.
    var basicKeys = map[string]bool{
    	paxPath: true, paxLinkpath: true, paxSize: true, paxUid: true, paxGid: true,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. src/archive/zip/writer.go

    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the zip using deflate while maintaining the directory structure.
    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tr *Reader) writeTo(w io.Writer) (int64, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    	n, err := tr.curr.WriteTo(w)
    	if err != nil {
    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)
  6. src/archive/tar/writer_test.go

    				Gid:      1000,
    				Uname:    "rawr",
    				Gname:    "dsnet",
    				ModTime:  time.Unix(0, 0),
    				Format:   FormatGNU,
    			}, nil},
    			testClose{nil},
    		},
    		// TODO(dsnet): Re-enable this test when adding sparse support.
    		// See https://golang.org/issue/22735
    		/*
    			}, {
    				file: "testdata/gnu-nil-sparse-data.tar",
    				tests: []testFnc{
    					testHeader{Header{
    						Typeflag:    TypeGNUSparse,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top