- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 155 for testhost (0.12 sec)
-
src/cmd/go/testdata/script/list_test_simple.txt
-- go.mod -- module m go 1.16 -- bench_test.go -- package testlist import ( "fmt" "testing" ) func BenchmarkSimplefunc(b *testing.B) { b.StopTimer() b.StartTimer() for i := 0; i < b.N; i++ { _ = fmt.Sprint("Test for bench") } } -- example_test.go -- package testlist import ( "fmt" ) func ExampleSimple() { fmt.Println("Test with Output.")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 856 bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
Helpers.testComparator(comparator, ordered); } public void testSort() { testSort(new int[] {}, new int[] {}); testSort(new int[] {2}, new int[] {2}); testSort(new int[] {2, 1, 0}, new int[] {0, 1, 2}); testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST}); } static void testSort(int[] input, int[] expected) { input = Arrays.copyOf(input, input.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 16:10:08 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
Helpers.testComparator(comparator, ordered); } public void testSort() { testSort(new long[] {}, new long[] {}); testSort(new long[] {2}, new long[] {2}); testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2}); testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST}); } static void testSort(long[] input, long[] expected) { input = Arrays.copyOf(input, input.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:36:17 UTC 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} } } public void testSort() { testSort(new byte[] {}, new byte[] {}); testSort(new byte[] {2}, new byte[] {2}); testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2}); testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST}); } static void testSort(byte[] input, byte[] expected) { input = Arrays.copyOf(input, input.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 13.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go
th := NewTestableTimingRatioHistogram(clk.Now, &TimingRatioHistogramOpts{ compbasemetrics.TimingHistogramOpts{ Namespace: "testns", Subsystem: "testsubsys", Name: "testhist", Help: "Me", Buckets: []float64{1, 2, 4, 8, 16, 32}, }, 1}) registry := compbasemetrics.NewKubeRegistry() registry.MustRegister(th) var x int b.StartTimer()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 16:03:06 UTC 2022 - 8.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
} t.Fatalf("%v", errList) } estCost, err := env.EstimateCost(compiled, est) if err != nil { t.Fatalf("%v", err) } if estCost.Min != expectEsimatedCost.Min || estCost.Max != expectEsimatedCost.Max { t.Errorf("Expected estimated cost of %d..%d but got %d..%d", expectEsimatedCost.Min, expectEsimatedCost.Max, estCost.Min, estCost.Max) } prog, err := env.Program(compiled, cel.CostTracking(est))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/inst_test.go
package test import ( "internal/testenv" "os" "path/filepath" "regexp" "testing" ) // TestInst tests that only one instantiation of Sort is created, even though generic // Sort is used for multiple pointer types across two packages. func TestInst(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveGoRun(t) // Build ptrsort.go, which uses package mysort. var output []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} typ := inst.Inst.Type testInst := test.instances[ii] if got := inst.Name.Value; got != testInst.name { t.Fatalf("got name %s, want %s", got, testInst.name) } if len(targs) != len(testInst.targs) { t.Fatalf("got %d type arguments; want %d", len(targs), len(testInst.targs)) } for i, targ := range targs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
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) -
pkg/registry/storage/csistoragecapacity/storage/storage_test.go
test := genericregistrytest.New(t, storage.Store) test.TestGet(validNewCSIStorageCapacity("foo")) } func TestList(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store) test.TestList(validNewCSIStorageCapacity("foo")) } func TestWatch(t *testing.T) { storage, server := newStorage(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 03 19:54:14 UTC 2020 - 4.4K bytes - Viewed (0)