Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for testhist (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		for _, op := range tc.ops {
    			t.Run(ipv4+op, func(t *testing.T) {
    				testCost(t, ipv4+op, tc.expectEsimatedCost(ipv4BaseEstimatedCost), tc.expectRuntimeCost(ipv4BaseRuntimeCost))
    			})
    
    			t.Run(ipv6+op, func(t *testing.T) {
    				testCost(t, ipv6+op, tc.expectEsimatedCost(ipv6BaseEstimatedCost), tc.expectRuntimeCost(ipv6BaseRuntimeCost))
    			})
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestGet(validNewJob())
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Job.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestList(validNewJob())
    }
    
    func TestWatch(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_test.go

    		return true
    	}
    	return false
    }
    
    func (h *nextHist) addVar(text string) {
    	l := len(h.texts)
    	h.vars[l-1] = append(h.vars[l-1], text)
    }
    
    func invertMapSU8(hf2i map[string]uint8) map[uint8]string {
    	hi2f := make(map[uint8]string)
    	for hs, i := range hf2i {
    		hi2f[i] = hs
    	}
    	return hi2f
    }
    
    func (h *nextHist) equals(k *nextHist) bool {
    	if len(h.f2i) != len(k.f2i) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/tracing_test.go

    )
    
    func TestConfigureTracingExhaustiveness(t *testing.T) {
    	model.AssertProvidersHandled(configureFromProviderConfigHandled)
    }
    
    func TestConfigureTracing(t *testing.T) {
    	clusterName := "testcluster"
    	authority := "testhost"
    
    	clusterLookupFn = func(push *model.PushContext, service string, port int) (hostname string, cluster string, err error) {
    		return authority, clusterName, nil
    	}
    	defer func() {
    		clusterLookupFn = model.LookupCluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testFirst() {
        assertEquals(1, ContiguousSet.create(Range.closed(1, 3), integers()).first().intValue());
        assertEquals(1, ContiguousSet.create(Range.open(0, 4), integers()).first().intValue());
        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

      // UnitTest has a guard to prevent from calling this method more then once.
      virtual void RegisterTests() {
        for (typename TestInfoContainer::iterator test_it = tests_.begin();
             test_it != tests_.end(); ++test_it) {
          linked_ptr<TestInfo> test_info = *test_it;
          for (typename InstantiationContainer::iterator gen_it =
                   instantiations_.begin(); gen_it != instantiations_.end();
                   ++gen_it) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/flag/flag_test.go

    )
    
    func boolString(s string) string {
    	if s == "0" {
    		return "false"
    	}
    	return "true"
    }
    
    func TestEverything(t *testing.T) {
    	ResetForTesting(nil)
    	Bool("test_bool", false, "bool value")
    	Int("test_int", 0, "int value")
    	Int64("test_int64", 0, "int64 value")
    	Uint("test_uint", 0, "uint value")
    	Uint64("test_uint64", 0, "uint64 value")
    	String("test_string", "0", "string value")
    	Float64("test_float64", 0, "float64 value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. pkg/registry/core/replicationcontroller/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Controller.Store)
    	test.TestGet(validNewController())
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Controller.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Controller.Store)
    	test.TestList(validNewController())
    }
    
    func TestWatch(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(GenericsUtil.getGenericParameter(t2, 0), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testList() throws Exception {
            final Method m1 = ListType.class.getMethod("listOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testSingletonMultisetPollLast() {
        assertEquals(a, sortedMultiset.pollLastEntry());
        assertTrue(sortedMultiset.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedMultiset.firstEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top