Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 600 for num1 (0.08 sec)

  1. 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)
  2. 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)
  3. test/goprint.go

    	go println(42, true, false, true, 1.5, "world", (chan int)(nil), []int(nil), (map[string]int)(nil), (func())(nil), byte(255))
    	for {
    		numg := runtime.NumGoroutine()
    		if numg > numg0 {
    			if time.Now().After(deadline) {
    				log.Fatalf("%d goroutines > initial %d after deadline", numg, numg0)
    			}
    			runtime.Gosched()
    			continue
    		}
    		break
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 10 19:38:06 UTC 2019
    - 722 bytes
    - Viewed (0)
  4. 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)
  5. src/hash/maphash/maphash_test.go

    	for i, h := range hh {
    		if sum != h.Sum64() {
    			t.Errorf("hash %d not identical to a single Write", i)
    		}
    	}
    
    	if sum1 := Bytes(hh[0].Seed(), b); sum1 != hh[0].Sum64() {
    		t.Errorf("hash using Bytes not identical to a single Write")
    	}
    
    	if sum1 := String(hh[0].Seed(), string(b)); sum1 != hh[0].Sum64() {
    		t.Errorf("hash using String not identical to a single Write")
    	}
    }
    
    func TestHashBytesVsString(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    			}
    
    			// validates that the limit has non-zero value
    			if q.IsZero() {
    				errors = append(errors, fmt.Errorf("invalid configuration: reserved memory may not be zero for NUMA node %d and resource %q", numaNode, resourceName))
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:31:31 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. src/go/internal/gccgoimporter/testdata/issue30628.go

    package issue30628
    
    import (
    	"os"
    	"sync"
    )
    
    const numR = int32(os.O_TRUNC + 5)
    
    type Apple struct {
    	hey sync.RWMutex
    	x   int
    	RQ  [numR]struct {
    		Count    uintptr
    		NumBytes uintptr
    		Last     uintptr
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 20:50:13 UTC 2019
    - 211 bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

            def spec = { it < 5 }
            def filter = { Integer[] nums -> filter(nums as List, spec) }
    
            expect:
            filter(1, 2, 3) == [1, 2, 3]
            filter(7, 8, 9) == []
            filter() == []
            filter(4, 5, 6) == [4]
        }
    
        def "array filtering"() {
            given:
            def spec = { it < 5 }
            def filter = { Integer[] nums -> filter(nums, spec) }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

                extern int sum1(int a, int b) asm("_sum1");
                extern int sum2(int a, int b) asm("_sum2");
                #endif
    
                int main () {
                    printf("foo%dfoo%d", sum1(1, 0), sum2(1, 1));
                    fflush(stdout);
                    return 0;
                }
    
                """),
                sourceFile("asm", "foo1/sum.s", getAsmSource("sum1")),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/validation/validation_reserved_memory_test.go

    							v1.ResourceMemory: *resource.NewQuantity(128, resource.DecimalSI),
    						},
    					},
    				},
    			},
    			expectedError: nil,
    		},
    		{
    			description: "The reserved memory has duplications for the NUMA node and limit type",
    			kubeletConfiguration: &kubeletconfig.KubeletConfiguration{
    				ReservedMemory: []kubeletconfig.MemoryReservation{
    					{
    						NumaNode: 0,
    						Limits: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:38:01 UTC 2021
    - 3.7K bytes
    - Viewed (0)
Back to top