Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 368 for unmix (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/proxy/util/nfacct/nfacct_linux_test.go

    			assert.Equal(t, tc.netlinkCalls, len(tc.handler.requests))
    
    			if tc.netlinkCalls > 0 {
    				// validate request
    				assert.Equal(t, cmdNew, tc.handler.requests[0].cmd)
    				assert.Equal(t, uint16(unix.NLM_F_REQUEST|unix.NLM_F_CREATE|unix.NLM_F_ACK), tc.handler.requests[0].flags)
    
    				// validate attribute(NFACCT_NAME)
    				assert.Equal(t, 1, len(tc.handler.requests[0].data))
    				assert.Equal(t,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. pkg/volume/util/fsquota/project.go

    	}
    	return fmt.Errorf("%s exists but is not a plain file, cannot continue", projectsFile)
    }
    
    func lockFile(file *os.File) error {
    	return unix.Flock(int(file.Fd()), unix.LOCK_EX)
    }
    
    func unlockFile(file *os.File) error {
    	return unix.Flock(int(file.Fd()), unix.LOCK_UN)
    }
    
    // openAndLockProjectFiles opens /etc/projects and /etc/projid locked.
    // Creates them if they don't exist
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

    		&metav1.ObjectMeta{Name: "test", ResourceVersion: "1", CreationTimestamp: metav1.NewTime(time.Unix(10, 0))},
    		field.NewPath("field"),
    	); len(errs) != 1 {
    		t.Fatalf("unexpected errors: %v", errs)
    	}
    	if errs := ValidateObjectMetaUpdate(
    		&metav1.ObjectMeta{Name: "test", ResourceVersion: "1", CreationTimestamp: metav1.NewTime(time.Unix(10, 0))},
    		&metav1.ObjectMeta{Name: "test", ResourceVersion: "1"},
    		field.NewPath("field"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  9. security/pkg/pki/util/keycertbundle.go

    		return err
    	}
    
    	return nil
    }
    
    // ExtractRootCertExpiryTimestamp returns the unix timestamp when the root becomes expires.
    func (b *KeyCertBundle) ExtractRootCertExpiryTimestamp() (float64, error) {
    	return extractCertExpiryTimestamp("root cert", b.GetRootCertPem())
    }
    
    // ExtractCACertExpiryTimestamp returns the unix timestamp when the cert chain becomes expires.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. mvnw

        JAVA_HOME=$(java-config --jre-home)
      fi
    fi
    
    # For Cygwin, ensure paths are in UNIX format before anything is touched
    if $cygwin ; then
      [ -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
      [ -n "$JAVA_HOME" ] && [ -d "$JAVA_HOME" ] &&
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top