Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 540 for num1 (0.08 sec)

  1. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    // sockets contain a bigger number of CPUs (free and busy) than NUMA nodes, or equivalently that each
    // socket contains more than one NUMA node.
    //
    // If instead sockets are lower in the memory hierarchy than NUMA nodes, they are sorted as follows.
    // First, they are sorted by number of free CPUs in the NUMA nodes that contain them. Then, for each
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    				} else if l.numX != 0 || l.unitX != 0 {
    					numValues := numLabels[key]
    					units := numUnits[key]
    					if l.unitX != 0 {
    						var unit string
    						unit, err = getString(p.stringTable, &l.unitX, err)
    						units = padStringArray(units, len(numValues))
    						numUnits[key] = append(units, unit)
    					}
    					numLabels[key] = append(numLabels[key], l.numX)
    				}
    			}
    			if len(labels) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    		},
    		{
    			"dual socket, multi numa per socket, HT, 3 NUMA node free",
    			topoDualSocketMultiNumaPerSocketHT,
    			mustParseCPUSet(t, "1-79"),
    			[]int{1, 2, 3},
    		},
    		{
    			"dual socket, multi numa per socket, HT, 2 NUMA node free",
    			topoDualSocketMultiNumaPerSocketHT,
    			mustParseCPUSet(t, "1-9,11-79"),
    			[]int{2, 3},
    		},
    		{
    			"dual socket, multi numa per socket, HT, 1 NUMA node free",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  4. test/typeparam/issue51925.go

    	if x < y {
    		return x
    	}
    	return y
    }
    
    // Min returns the minimum element of `nums`.
    func Min[T IntLike, NumSlice ~[]T](nums NumSlice) T {
    	if len(nums) == 0 {
    		return T(0)
    	}
    	return Reduce(min[T], nums, nums[0])
    }
    
    // VarMin is the variadic version of Min.
    func VarMin[T IntLike](nums ...T) T {
    	return Min(nums)
    }
    
    type myInt int
    
    func main() {
    	fmt.Println(VarMin(myInt(1), myInt(2)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 963 bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

        }
    
        def "can convert strings to enums using the enum value names"() {
            expect:
            TestEnum.ENUM1 == toEnum(TestEnum, "ENUM1")
            TestEnum.ENUM1 == toEnum(TestEnum, "enum1")
            TestEnum.ENUM1 == toEnum(TestEnum, "EnUm1")
            TestEnum.ENUM2 == toEnum(TestEnum, "enum2")
            TestEnum.ENUM3 == toEnum(TestEnum, "enum3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. src/internal/profile/encode.go

    	encodeInt64Opt(b, 2, p.strX)
    	encodeInt64Opt(b, 3, p.numX)
    }
    
    var labelDecoder = []decoder{
    	nil, // 0
    	// optional int64 key = 1
    	func(b *buffer, m message) error { return decodeInt64(b, &m.(*Label).keyX) },
    	// optional int64 str = 2
    	func(b *buffer, m message) error { return decodeInt64(b, &m.(*Label).strX) },
    	// optional int64 num = 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    				},
    			},
    		},
    		{
    			name:          "Request 11 CPUs, 4 available on NUMA 0, 6 available on NUMA 1",
    			pod:           *testPod4,
    			container:     *testContainer4,
    			defaultCPUSet: cpuset.New(2, 3, 4, 5, 6, 7, 8, 9, 10, 11),
    			expectedHints: nil,
    		},
    		{
    			name:          "Request 2 CPUs, 1 available on NUMA 0, 1 available on NUMA 1",
    			pod:           *testPod1,
    			container:     *testContainer1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/policy_options.go

    	FullPhysicalCPUsOnly bool
    	// Flag to evenly distribute CPUs across NUMA nodes in cases where more
    	// than one NUMA node is required to satisfy the allocation.
    	DistributeCPUsAcrossNUMA bool
    	// Flag to ensure CPUs are considered aligned at socket boundary rather than
    	// NUMA boundary
    	AlignBySocket bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    type singleNumaNodePolicy struct {
    	// numaInfo represents list of NUMA Nodes available on the underlying machine and distances between them
    	numaInfo *NUMAInfo
    	opts     PolicyOptions
    }
    
    var _ Policy = &singleNumaNodePolicy{}
    
    // PolicySingleNumaNode policy name.
    const PolicySingleNumaNode string = "single-numa-node"
    
    // NewSingleNumaNodePolicy returns single-numa-node policy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/topologymanager/topology_manager.go

    )
    
    const (
    	// maxAllowableNUMANodes specifies the maximum number of NUMA Nodes that
    	// the TopologyManager supports on the underlying machine.
    	//
    	// At present, having more than this number of NUMA Nodes will result in a
    	// state explosion when trying to enumerate possible NUMAAffinity masks and
    	// generate hints for them. As such, if more NUMA Nodes than this are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top