Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 415 for SWAP (0.04 sec)

  1. pkg/kubelet/server/stats/summary.go

    	}
    
    	nodeStats := statsapi.NodeStats{
    		NodeName:         node.Name,
    		CPU:              rootStats.CPU,
    		Memory:           rootStats.Memory,
    		Swap:             rootStats.Swap,
    		Network:          networkStats,
    		StartTime:        sp.systemBootTime,
    		Fs:               rootFsStats,
    		Runtime:          &statsapi.RuntimeStats{ContainerFs: containerFsStats, ImageFs: imageFsStats},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			swapBehavior:                types.LimitedSwap,
    			addContainerWithoutRequests: true,
    			addGuaranteedContainer:      false,
    		},
    		// All the above examples with Swap disabled on node
    		{
    			name:                       "Swap disabled on node, cgroups v1, LimitedSwap, Burstable QoS",
    			swapDisabledOnNode:         true,
    			cgroupVersion:              cgroupV1,
    			qosClass:                   v1.PodQOSBurstable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  3. pkg/kubelet/util/sliceutils/sliceutils.go

    // timestamps in ascending order.
    type PodsByCreationTime []*v1.Pod
    
    func (s PodsByCreationTime) Len() int {
    	return len(s)
    }
    
    func (s PodsByCreationTime) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    }
    
    func (s PodsByCreationTime) Less(i, j int) bool {
    	return s[i].CreationTimestamp.Before(&s[j].CreationTimestamp)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compilation_cluster_signature_test.cc

      args[1].shape = TensorShape({4, 0});
    
      TF_ASSERT_OK_AND_ASSIGN(DeviceCompilationClusterSignature s1,
                              DeviceCompilationClusterSignature::Build(fn, args));
    
      using std::swap;  // go/using-std-swap
      swap(args[0], args[1]);
      TF_ASSERT_OK_AND_ASSIGN(DeviceCompilationClusterSignature s2,
                              DeviceCompilationClusterSignature::Build(fn, args));
    
      EXPECT_NE(s1.HumanString(), s2.HumanString());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/go/doc/testdata/examples/multiple.golden

    // the Age field.
    type ByAge []Person
    
    // Len returns the number of elements in ByAge.
    func (a ByAge) Len() int { return len(a) }
    
    // Swap swaps the elements in ByAge.
    func (a ByAge) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a ByAge) Less(i, j int) bool { return a[i].Age < a[j].Age }
    
    // people is the array of Person
    var people = []Person{
    	{"Bob", 31},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    						Time:                 testTime,
    						UsageCoreNanoSeconds: uint64Ptr(10000000000),
    					},
    					Memory: &statsapi.MemoryStats{
    						Time:            testTime,
    						WorkingSetBytes: uint64Ptr(1000),
    					},
    					Swap: &statsapi.SwapStats{
    						Time:           testTime,
    						SwapUsageBytes: uint64Ptr(500),
    					},
    				},
    			},
    			summaryErr: nil,
    			expectedMetrics: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  7. src/internal/reflectlite/swapper.go

    func Swapper(slice any) func(i, j int) {
    	v := ValueOf(slice)
    	if v.Kind() != Slice {
    		panic(&ValueError{Method: "Swapper", Kind: v.Kind()})
    	}
    	// Fast path for slices of size 0 and 1. Nothing to swap.
    	switch v.Len() {
    	case 0:
    		return func(i, j int) { panic("reflect: slice index out of range") }
    	case 1:
    		return func(i, j int) {
    			if i != 0 || j != 0 {
    				panic("reflect: slice index out of range")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/reflect/swapper.go

    func Swapper(slice any) func(i, j int) {
    	v := ValueOf(slice)
    	if v.Kind() != Slice {
    		panic(&ValueError{Method: "Swapper", Kind: v.Kind()})
    	}
    	// Fast path for slices of size 0 and 1. Nothing to swap.
    	switch v.Len() {
    	case 0:
    		return func(i, j int) { panic("reflect: slice index out of range") }
    	case 1:
    		return func(i, j int) {
    			if i != 0 || j != 0 {
    				panic("reflect: slice index out of range")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/internal/bytealg/compare_ppc64x.s

    	LXVD2X	(R9)(R6),V4
    	VCMPEQUDCC	V3,V4,V1
    	BGE	CR6,different
    	RET
    
    	PCALIGN $16
    different:
    #ifdef	GOARCH_ppc64le
    	MOVD	$byteswap<>+00(SB),R16
    	LXVD2X	(R16)(R0),SWAP	// Set up swap string
    
    	VPERM	V3,V3,SWAP,V3
    	VPERM	V4,V4,SWAP,V4
    #endif
    
    	MFVSRD	VS35,R16	// move upper doublewords of A and B into GPR for comparison
    	MFVSRD	VS36,R10
    
    	CMPU	R16,R10
    	BEQ	lower
    	SETB_CR0_NE(R3)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/go/doc/testdata/examples/multiple.go

    // ByAge implements sort.Interface for []Person based on
    // the Age field.
    type ByAge []Person
    
    // Len returns the number of elements in ByAge.
    func (a ByAge) Len() int { return len(a) }
    
    // Swap swaps the elements in ByAge.
    func (a ByAge) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a ByAge) Less(i, j int) bool { return a[i].Age < a[j].Age }
    
    // people is the array of Person
    var people = []Person{
    	{"Bob", 31},
    	{"John", 42},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top