Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Major (0.16 sec)

  1. src/archive/tar/stat_unix.go

    		switch runtime.GOOS {
    		case "aix":
    			var major, minor uint32
    			major = uint32((dev & 0x3fffffff00000000) >> 32)
    			minor = uint32((dev & 0x00000000ffffffff) >> 0)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    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)
  2. src/cmd/cgo/internal/swig/swig_test.go

    		return
    	}
    	t.Logf("found swig version %d.%d.%d", major, minor, patch)
    	if major < 3 || (major == 3 && minor == 0 && patch < 6) {
    		t.Skip("test requires swig 3.0.6 or later")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue27340/a.go

    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    // typedef struct {
    // 	int a;
    // } issue27340Struct, *issue27340Ptr;
    //
    // static void issue27340CFunc(issue27340Ptr p) {}
    //
    // #else /* _GNU_MAJOR_ < 5 */
    //
    // typedef struct {
    // 	int a;
    // } issue27340Struct;
    //
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	paxGNUSparseOffset    = "GNU.sparse.offset"
    	paxGNUSparseNumBytes  = "GNU.sparse.numbytes"
    	paxGNUSparseMap       = "GNU.sparse.map"
    	paxGNUSparseName      = "GNU.sparse.name"
    	paxGNUSparseMajor     = "GNU.sparse.major"
    	paxGNUSparseMinor     = "GNU.sparse.minor"
    	paxGNUSparseSize      = "GNU.sparse.size"
    	paxGNUSparseRealSize  = "GNU.sparse.realsize"
    )
    
    // basicKeys is a set of the PAX keys for which we have built-in support.
    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)
  5. src/archive/tar/reader_test.go

    			ModTime:  time.Unix(1392337404, 0),
    			Typeflag: 0x30,
    			Linkname: "",
    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			PAXRecords: map[string]string{
    				"GNU.sparse.major":    "1",
    				"GNU.sparse.minor":    "0",
    				"GNU.sparse.realsize": "200",
    				"GNU.sparse.name":     "sparse-posix-1.0",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:     "end",
    			Mode:     420,
    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)
  6. src/archive/tar/reader.go

    	// Identify the version of GNU headers.
    	var is1x0 bool
    	major, minor := hdr.PAXRecords[paxGNUSparseMajor], hdr.PAXRecords[paxGNUSparseMinor]
    	switch {
    	case major == "0" && (minor == "0" || minor == "1"):
    		is1x0 = false
    	case major == "1" && minor == "0":
    		is1x0 = true
    	case major != "" || minor != "":
    		return nil, nil // Unknown GNU sparse PAX version
    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

    		// field directly themselves. All other approaches sets UTC.
    		fh.ModifiedDate, fh.ModifiedTime = timeToMsDosTime(fh.Modified)
    
    		// Use "extended timestamp" format since this is what Info-ZIP uses.
    		// Nearly every major ZIP implementation uses a different format,
    		// but at least most seem to be able to understand the other formats.
    		//
    		// This format happens to be identical for both local and central header
    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. misc/ios/go_ios_exec.go

    		}
    	}
    	if iosVer == "" || buildVer == "" {
    		return "", errors.New("failed to parse ideviceinfo output")
    	}
    	verSplit := strings.Split(iosVer, ".")
    	if len(verSplit) > 2 {
    		// Developer images are specific to major.minor ios version.
    		// Cut off the patch version.
    		iosVer = strings.Join(verSplit[:2], ".")
    	}
    	sdkBase := "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top