Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Borg (0.25 sec)

  1. src/cmd/cgo/doc.go

    not be referenced from Go code; static functions are permitted.
    
    See $GOROOT/cmd/cgo/internal/teststdio and $GOROOT/misc/cgo/gmp for examples. See
    "C? Go? Cgo!" for an introduction to using cgo:
    https://golang.org/doc/articles/c_go_cgo.html.
    
    CFLAGS, CPPFLAGS, CXXFLAGS, FFLAGS and LDFLAGS may be defined with pseudo
    #cgo directives within these comments to tweak the behavior of the C, C++
    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)
  2. src/archive/zip/reader_test.go

    	Name     string
    	Source   func() (r io.ReaderAt, size int64) // if non-nil, used instead of testdata/<Name> file
    	Comment  string
    	File     []ZipTestFile
    	Obscured bool  // needed for Apple notarization (golang.org/issue/34986)
    	Error    error // the error that Opening this file should return
    }
    
    type ZipTestFile struct {
    	Name     string
    	Mode     fs.FileMode
    	NonUTF8  bool
    	ModTime  time.Time
    	Modified time.Time
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    		if !validPAXRecord(k, v) {
    			return FormatUnknown, nil, headerError{fmt.Sprintf("invalid PAX record: %q", k+" = "+v)}
    		}
    	}
    
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Check sparse files.
    		if len(h.SparseHoles) > 0 || h.Typeflag == TypeGNUSparse {
    			if isHeaderOnlyType(h.Typeflag) {
    				return FormatUnknown, nil, headerError{"header-only type cannot be sparse"}
    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/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    // For example, on return:
    //
    //	w.importMap["math"] = "math"
    //	w.importDir["math"] = "<goroot>/src/math"
    //
    //	w.importMap["golang.org/x/net/route"] = "vendor/golang.org/x/net/route"
    //	w.importDir["vendor/golang.org/x/net/route"] = "<goroot>/src/vendor/golang.org/x/net/route"
    //
    // Since the set of packages that exist depends on context, the result of
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    			// then it is impossible to distinguish between a valid GNU file
    			// and an invalid pre-Go1.8 file.
    			//
    			// See https://golang.org/issues/12594
    			// See https://golang.org/issues/21005
    			if p2.err != nil {
    				hdr.AccessTime, hdr.ChangeTime = time.Time{}, time.Time{}
    				ustar := tr.blk.toUSTAR()
    				if s := p.parseString(ustar.prefix()); isASCII(s) {
    					prefix = s
    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)
  7. src/archive/zip/writer.go

    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    	}
    	if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh {
    		// See https://golang.org/issue/11144 confusion.
    		return errors.New("archive/zip: invalid duplicate FileHeader")
    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    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)
  8. src/archive/tar/writer_test.go

    				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,
    						Name:        "sparse.db",
    						Size:        1000,
    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)
  9. src/archive/tar/tar_test.go

    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "testdata/"; g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    	}
    	// Ignoring c_ISGID for golang.org/issue/4867
    	if g, e := h.Mode&^c_ISGID, int64(fi.Mode().Perm()); g != e {
    		t.Errorf("Mode = %#o; want %#o", g, e)
    	}
    	if g, e := h.Size, int64(0); g != e {
    		t.Errorf("Size = %v; want %v", g, e)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top