Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 120 for testhist (0.24 sec)

  1. pkg/kubelet/cm/topologymanager/scope_container.go

    		bestHint, admit := s.calculateAffinity(pod, &container)
    		klog.InfoS("Best TopologyHint", "bestHint", bestHint, "pod", klog.KObj(pod), "containerName", container.Name)
    
    		if !admit {
    			metrics.TopologyManagerAdmissionErrorsTotal.Inc()
    			return admission.GetPodAdmitResult(&TopologyAffinityError{})
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/scope_pod.go

    	}
    	return providersHints
    }
    
    func (s *podScope) calculateAffinity(pod *v1.Pod) (TopologyHint, bool) {
    	providersHints := s.accumulateProvidersHints(pod)
    	bestHint, admit := s.policy.Merge(providersHints)
    	klog.InfoS("PodTopologyHint", "bestHint", bestHint)
    	return bestHint, admit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy_restricted.go

    	filteredHints := filterProvidersHints(providersHints)
    	merger := NewHintMerger(p.numaInfo, filteredHints, p.Name(), p.opts)
    	bestHint := merger.Merge()
    	admit := p.canAdmitPodResult(&bestHint)
    	return bestHint, admit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy.go

    		bestHint = m.compare(bestHint, &mergedHint)
    	})
    
    	if bestHint == nil {
    		bestHint = &TopologyHint{defaultAffinity, false}
    	}
    
    	return *bestHint
    }
    
    // Iterate over all permutations of hints in 'allProviderHints [][]TopologyHint'.
    //
    // This procedure is implemented as a recursive function over the set of hints
    // in 'allproviderHints[i]'. It applies the function 'callback' to each
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context_test.go

    			serviceNs:   "test1",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    			proxyNs:     "test1",
    			serviceNs:   "test2",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    			proxyNs:     "test2",
    			serviceNs:   "test1",
    			host:        testhost,
    			wantSubsets: []string{"subset3", "subset4"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    	merger := NewHintMerger(p.numaInfo, singleNumaHints, p.Name(), p.opts)
    	bestHint := merger.Merge()
    
    	if bestHint.NUMANodeAffinity.IsEqual(p.numaInfo.DefaultAffinityMask()) {
    		bestHint = TopologyHint{nil, bestHint.Preferred}
    	}
    
    	admit := p.canAdmitPodResult(&bestHint)
    	return bestHint, admit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
        inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines()
    
      val flatClassnameList =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. pkg/registry/storage/volumeattributesclass/storage/storage_test.go

    	test.TestGet(validNewVolumeAttributesClass("foo"))
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).ClusterScope()
    	test.TestList(validNewVolumeAttributesClass("foo"))
    }
    
    func TestWatch(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testSingletonMapPollLast() {
        assertEquals(a, navigableMap.pollLastEntry());
        assertTrue(navigableMap.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testSingletonMapPollLast() {
        assertEquals(a, navigableMap.pollLastEntry());
        assertTrue(navigableMap.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top