Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Borg (0.15 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/tar/writer.go

    }
    
    func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error {
    	realName, realSize := hdr.Name, hdr.Size
    
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Handle sparse files.
    		var spd sparseDatas
    		var spb []byte
    		if len(hdr.SparseHoles) > 0 {
    			sph := append([]sparseEntry{}, hdr.SparseHoles...) // Copy sparse map
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    	if len(b) >= maxInt/count {
    		panic("bytes: Repeat output length overflow")
    	}
    	n := len(b) * count
    
    	if len(b) == 0 {
    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)
  4. src/archive/tar/format.go

    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    	// FormatPAX represents the PAX header format defined in POSIX.1-2001.
    	//
    	// PAX extends USTAR by writing a special file with Typeflag TypeXHeader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    		case zip64ExtraID:
    			f.zip64 = true
    
    			// update directory values from the zip64 extra block.
    			// They should only be consulted if the sizes read earlier
    			// are maxed out.
    			// See golang.org/issue/13367.
    			if needUSize {
    				needUSize = false
    				if len(fieldBuf) < 8 {
    					return ErrFormat
    				}
    				f.UncompressedSize64 = fieldBuf.uint64()
    			}
    			if needCSize {
    				needCSize = false
    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)
  6. 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)
  7. src/bytes/buffer.go

    // If the allocation fails, it panics with ErrTooLarge.
    func growSlice(b []byte, n int) []byte {
    	defer func() {
    		if recover() != nil {
    			panic(ErrTooLarge)
    		}
    	}()
    	// TODO(http://golang.org/issue/51462): We should rely on the append-make
    	// pattern so that the compiler can call runtime.growslice. For example:
    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    			Name:       "file4",
    			ModTime:    time.Unix(1400000000, 0),
    			PAXRecords: map[string]string{"mtime": "1400000000"},
    			Format:     FormatPAX,
    		}},
    	}, {
    		file: "testdata/nil-uid.tar", // golang.org/issue/5290
    		headers: []*Header{{
    			Name:     "P1050238.JPG.log",
    			Mode:     0664,
    			Uid:      0,
    			Gid:      0,
    			Size:     14,
    			ModTime:  time.Unix(1365454838, 0),
    			Typeflag: TypeReg,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. api/go1.4.txt

    # CL 153420045 crypto/x509: continue to recognise MaxPathLen of zero as "no value"., Adam Langley <agl@golang.org>
    pkg crypto/x509, type Certificate struct, MaxPathLenZero bool
    
    # CL 158950043 database/sql: add Drivers, returning list of registered drivers, Russ Cox <rsc@golang.org>
    pkg database/sql, func Drivers() []string
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  10. 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)
Back to top