Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 379 for unixOS (0.11 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_test.go

    		},
    		{
    			name:            "One valid CRI socket leads to success",
    			existingSockets: []string{"unix:///foo/bar.sock"},
    			expectedError:   false,
    			expectedSocket:  "unix:///foo/bar.sock",
    		},
    		{
    			name: "Multiple CRI sockets lead to an error",
    			existingSockets: []string{
    				"unix:///foo/bar.sock",
    				"unix:///foo/baz.sock",
    			},
    			expectedError: true,
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. .teamcity/mvnw

    fi
    
    # For Cygwin, ensure paths are in UNIX format before anything is touched
    if $cygwin ; then
      [ -n "$M2_HOME" ] &&
        M2_HOME=`cygpath --unix "$M2_HOME"`
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
      [ -n "$CLASSPATH" ] &&
        CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
    fi
    
    # For Mingw, ensure paths are in UNIX format before anything is touched
    if $mingw ; then
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    func (l *ReplicationLastHour) addsize(sz int64) {
    	min := time.Now().Unix() / 60
    	l.forwardTo(min)
    	winIdx := min % 60
    	l.Totals[winIdx].merge(AccElem{Total: min, Size: sz, N: 1})
    	l.LastMin = min
    }
    
    // Merge all recorded counts of last hour into one
    func (l *ReplicationLastHour) getTotal() AccElem {
    	var res AccElem
    	min := time.Now().Unix() / 60
    	l.forwardTo(min)
    	for _, elem := range l.Totals[:] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/scheduler/rate_limited_queue_test.go

    		case "first":
    			if !value.AddedAt.Equal(time.Unix(0, time.Millisecond.Nanoseconds())) {
    				t.Fatalf("added time for %s is %v", value.Value, value.AddedAt)
    			}
    
    		case "second":
    			if !value.AddedAt.Equal(time.Unix(0, 2*time.Millisecond.Nanoseconds())) {
    				t.Fatalf("added time for %s is %v", value.Value, value.AddedAt)
    			}
    			if hasQueued {
    				if !value.ProcessAt.Equal(time.Unix(0, 6*time.Millisecond.Nanoseconds())) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 17:40:33 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider.go

    		StartTime: metav1.NewTime(time.Unix(0, container.CreatedAt)),
    		CPU:       &statsapi.CPUStats{},
    		Memory:    &statsapi.MemoryStats{},
    		Rootfs:    &statsapi.FsStats{},
    		Swap:      &statsapi.SwapStats{},
    		// UserDefinedMetrics is not supported by CRI.
    	}
    	if stats.Cpu != nil {
    		result.CPU.Time = metav1.NewTime(time.Unix(0, stats.Cpu.Timestamp))
    		if stats.Cpu.UsageCoreNanoSeconds != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    		if err := unix.Unshare(unix.CLONE_NEWNS); err != nil {
    			return fmt.Errorf("failed to unshare to new mount namespace: %v", err)
    		}
    		if err := n.Set(); err != nil {
    			return fmt.Errorf("failed to reset network namespace: %v", err)
    		}
    		// Remount / as a private mount so that our mounts do not impact outside the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    		Name:      "c0",
    		StartTime: v1.NewTime(time.Unix(0, containerStartTime.Unix())),
    		CPU: &statsapi.CPUStats{
    			Time:                 v1.NewTime(time.Unix(0, cpuUsageTimestamp)),
    			UsageNanoCores:       toP(cpuUsageNanoCores),
    			UsageCoreNanoSeconds: toP(cpuUsageNanoSeconds),
    		},
    		Memory: &statsapi.MemoryStats{
    			Time:            v1.NewTime(time.Unix(0, memoryUsageTimestamp)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/provider_test.go

    }
    
    func checkNetworkStats(t *testing.T, label string, seed int, stats *statsapi.NetworkStats) {
    	assert.NotNil(t, stats)
    	assert.EqualValues(t, testTime(timestamp, seed).Unix(), stats.Time.Time.Unix(), label+".Net.Time")
    	assert.EqualValues(t, "eth0", stats.Name, "default interface name is not eth0")
    	assert.EqualValues(t, seed+offsetNetRxBytes, *stats.RxBytes, label+".Net.RxBytes")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/database/sql/convert_test.go

    		// From time.Time:
    		{s: time.Unix(1, 0).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01Z"},
    		{s: time.Unix(1453874597, 0).In(time.FixedZone("here", -3600*8)), d: &scanstr, wantstr: "2016-01-26T22:03:17-08:00"},
    		{s: time.Unix(1, 2).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01.000000002Z"},
    		{s: time.Time{}, d: &scanstr, wantstr: "0001-01-01T00:00:00Z"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. src/encoding/asn1/marshal_test.go

    	{flagTest{true}, "30028000"},
    	{flagTest{false}, "3000"},
    	{time.Unix(0, 0).UTC(), "170d3730303130313030303030305a"},
    	{time.Unix(1258325776, 0).UTC(), "170d3039313131353232353631365a"},
    	{time.Unix(1258325776, 0).In(PST), "17113039313131353134353631362d30383030"},
    	{farFuture(), "180f32313030303430353132303130315a"},
    	{generalizedTimeTest{time.Unix(1258325776, 0).UTC()}, "3011180f32303039313131353232353631365a"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top