Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for unixOS (0.23 sec)

  1. src/cmd/dist/build.go

    func packagefile(pkg string) string {
    	return pathf("%s/pkg/obj/go-bootstrap/%s_%s/%s.a", goroot, goos, goarch, pkg)
    }
    
    // unixOS is the set of GOOS values matched by the "unix" build tag.
    // This is the same list as in go/build/syslist.go and
    // cmd/go/internal/imports/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: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/go/build/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: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	ctx := testContext(t)
    	invalidKeyIDService, _ := newMockInvalidKeyIDEnvelopeKMSv2Service(ctx, "unix:///tmp/testprovider.sock", 3*time.Second, "")
    	invalidLongKeyIDService, _ := newMockInvalidKeyIDEnvelopeKMSv2Service(ctx, "unix:///tmp/testprovider.sock", 3*time.Second, sampleInvalidKeyID)
    	service, _ := newMockInvalidKeyIDEnvelopeKMSv2Service(ctx, "unix:///tmp/testprovider.sock", 3*time.Second, "1")
    
    	testCases := []struct {
    		desc    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    			},
    			expect: hasContext(&podSyncStatus{
    				fullname:           "running-pod_ns",
    				syncedAt:           time.Unix(1, 0),
    				startedAt:          time.Unix(3, 0),
    				terminatingAt:      time.Unix(3, 0),
    				terminatedAt:       time.Unix(6, 0),
    				gracePeriod:        30,
    				startedTerminating: true,
    				restartRequested:   true, // because we received a create during termination
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. src/time/time_test.go

    // t - 1970 is returned by Unix and Nanosecond.
    // 1970 - 2001 is -(31*365+8)*86400 = -978307200 seconds.
    // 2001 - 1 is 2000*365.2425*86400 = 63113904000 seconds.
    const unixToZero = -978307200 + 63113904000
    
    // abs returns the absolute time stored in t, as seconds and nanoseconds.
    func abs(t Time) (sec, nsec int64) {
    	unix := t.Unix()
    	nano := t.Nanosecond()
    	return unix + unixToZero, int64(nano)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. src/time/time.go

    // UnixMilli returns the local Time corresponding to the given Unix time,
    // msec milliseconds since January 1, 1970 UTC.
    func UnixMilli(msec int64) Time {
    	return Unix(msec/1e3, (msec%1e3)*1e6)
    }
    
    // UnixMicro returns the local Time corresponding to the given Unix time,
    // usec microseconds since January 1, 1970 UTC.
    func UnixMicro(usec int64) Time {
    	return Unix(usec/1e6, (usec%1e6)*1e3)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/httproute_test.go

    				},
    				{
    					Port: &networking.SidecarPort{
    						// Unix domain socket listener
    						Number:   0,
    						Protocol: "HTTP",
    						Name:     "something",
    					},
    					Bind:  "unix://foo/bar/baz",
    					Hosts: []string{"*/bookinfo.com"},
    				},
    				{
    					Port: &networking.SidecarPort{
    						// Unix domain socket listener
    						Number:   0,
    						Protocol: "HTTP",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				ImageGCHighThresholdPercent:               utilpointer.Int32(85),
    				ImageGCLowThresholdPercent:                utilpointer.Int32(80),
    				ContainerRuntimeEndpoint:                  "unix:///run/containerd/containerd.sock",
    				VolumeStatsAggPeriod:                      metav1.Duration{Duration: time.Minute},
    				CgroupsPerQOS:                             utilpointer.Bool(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //
    //	// Open a socket to perform SHA1 hashing.
    //	fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0)
    //	addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"}
    //	unix.Bind(fd, addr)
    //	// Note: unix.Accept does not work at this time; must invoke accept()
    //	// manually using unix.Syscall.
    //	hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    }
    
    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top