Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 379 for unixOS (0.14 sec)

  1. src/cmd/go/internal/imports/build.go

    	"plan9":     true,
    	"solaris":   true,
    	"wasip1":    true,
    	"windows":   true,
    	"zos":       true,
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is not used for filename matching.
    // This is the same list as in go/build/syslist.go and cmd/dist/build.go.
    var unixOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    	"darwin":    true,
    	"dragonfly": true,
    	"freebsd":   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    		return true
    	}
    	if ctxt.GOOS == "illumos" && name == "solaris" {
    		return true
    	}
    	if ctxt.GOOS == "ios" && name == "darwin" {
    		return true
    	}
    	if name == "unix" && unixOS[ctxt.GOOS] {
    		return true
    	}
    	if name == "boringcrypto" {
    		name = "goexperiment.boringcrypto" // boringcrypto is an old name for goexperiment.boringcrypto
    	}
    
    	// other tags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{"-1", time.Unix(-1, -0e0+0e0), true},
    		{"-1.999000", time.Unix(-1, -1e9+1e6), true},
    		{"-1.999999", time.Unix(-1, -1e9+1e3), true},
    		{"-1.999999999", time.Unix(-1, -1e9+1e0), true},
    		{"0.000000001", time.Unix(0, 1e0+0e0), true},
    		{"0.000001", time.Unix(0, 1e3+0e0), true},
    		{"0.001000", time.Unix(0, 1e6+0e0), true},
    		{"0", time.Unix(0, 0e0), true},
    		{"0.999000", time.Unix(0, 1e9-1e6), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/ipvs_linux_test.go

    		}
    	}
    }
    
    func Test_stringToProtocol(t *testing.T) {
    	tests := []string{
    		"TCP", "UDP", "ICMP", "SCTP",
    	}
    	expected := []uint16{
    		uint16(unix.IPPROTO_TCP), uint16(unix.IPPROTO_UDP), uint16(0), uint16(unix.IPPROTO_SCTP),
    	}
    	for i := range tests {
    		got := stringToProtocol(tests[i])
    		if got != expected[i] {
    			t.Errorf("stringToProtocol() failed - got %#v, want %#v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 27 16:37:50 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. pkg/serviceaccount/claims_test.go

    		{
    			name: "deleted now",
    			time: &metav1.Time{Time: time.Unix(nowUnix, 0)},
    		},
    		{
    			name: "deleted near past",
    			time: &metav1.Time{Time: time.Unix(nowUnix-1, 0)},
    		},
    		{
    			name: "deleted near future",
    			time: &metav1.Time{Time: time.Unix(nowUnix+1, 0)},
    		},
    		{
    			name: "deleted now-leeway",
    			time: &metav1.Time{Time: time.Unix(nowUnix-60, 0)},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy

            OperatingSystem.current() instanceof OperatingSystem.Unix
        }
    
        def "UNIX identifies itself correctly"() {
            def os = new OperatingSystem.Unix()
    
            expect:
            !os.windows
            os.unix
            !os.macOsX
        }
    
        def "UNIX does not transform script names"() {
            def os = new OperatingSystem.Unix()
    
            expect:
            os.getScriptName("a.sh") == "a.sh"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. src/net/unixsock.go

    		return nil
    	}
    	return a
    }
    
    // ResolveUnixAddr returns an address of Unix domain socket end point.
    //
    // The network must be a Unix network name.
    //
    // See func [Dial] for a description of the network and address
    // parameters.
    func ResolveUnixAddr(network, address string) (*UnixAddr, error) {
    	switch network {
    	case "unix", "unixgram", "unixpacket":
    		return &UnixAddr{Name: address, Net: network}, nil
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    			Size:       5,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    			Uname:      "dsymonds",
    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    			ChangeTime: time.Unix(1244592783, 0),
    		}, {
    			Name:       "small2.txt",
    			Mode:       0640,
    			Uid:        73025,
    			Gid:        5000,
    			Size:       11,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    		},
    	}, {
    		desc: "invalid url",
    		in:   &apiserver.KMSConfiguration{Endpoint: "unix:///foo\n.socket"},
    		want: field.ErrorList{
    			field.Invalid(endpointField, "unix:///foo\n.socket", fmt.Sprintf(invalidURLErrFmt, `parse "unix:///foo\n.socket": net/url: invalid control character in URL`)),
    		},
    	}}
    
    	for _, tt := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top