- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 529 for testfn (0.17 sec)
-
pkg/test/framework/components/echo/echotest/run.go
// }) func (t *T) RunFromClusters(testFn oneClusterOneTest) { t.toEachDeployment(t.rootCtx, func(ctx framework.TestContext, dstInstances echo.Instances) { t.setupPair(ctx, nil, echo.Services{dstInstances}) if len(ctx.Clusters()) == 1 { testFn(ctx, ctx.Clusters()[0], dstInstances) } else { t.fromEachCluster(ctx, func(ctx framework.TestContext, c cluster.Cluster) { testFn(ctx, c, dstInstances) }) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
testKn[0] = uint32((dn / q) * m1) testKn[1] = 0 testWn[0] = float32(q / m1) testWn[127] = float32(dn / m1) testFn[0] = 1.0 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) for i := 126; i >= 1; i-- { dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn))) testKn[i+1] = uint32((dn / tn) * m1) tn = dn testFn[i] = float32(math.Exp(-0.5 * dn * dn)) testWn[i] = float32(dn / m1) } return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
test/fixedbugs/bug455.go
package main type test_i interface { Test() test_i Result() bool } type test_t struct { } func newTest() *test_t { return &test_t{} } type testFn func(string) testFn func main() { test := newTest() switch { case test. Test(). Test(). Test(). Test(). Test(). Test(). Test(). Test(). Test(). Test(). Result():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 777 bytes - Viewed (0) -
pkg/controller/history/controller_history_test.go
}, } for i := range tests { testFn(&tests[i], t) } } func TestFakeHistory_ListControllerRevisions(t *testing.T) { type testcase struct { name string parent metav1.Object selector labels.Selector revisions []*apps.ControllerRevision want map[string]bool } testFn := func(test *testcase, t *testing.T) { client := fake.NewSimpleClientset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 49.1K bytes - Viewed (0) -
src/math/rand/rand_test.go
testKn[0] = uint32((dn / q) * m1) testKn[1] = 0 testWn[0] = float32(q / m1) testWn[127] = float32(dn / m1) testFn[0] = 1.0 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) for i := 126; i >= 1; i-- { dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn))) testKn[i+1] = uint32((dn / tn) * m1) tn = dn testFn[i] = float32(math.Exp(-0.5 * dn * dn)) testWn[i] = float32(dn / m1) } return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
return node; } } // namespace GraphDef DeviceCompilerSerializeTest::GetTestGraph( const PartialTensorShape& input_shape) { FunctionDef make_test_fn = FunctionDefHelper::Define( "TestFn", {"a:float", "b:float", "c:float"}, {"m:float"}, {}, {{{"d"}, "Add", {"a", "b"}, {{"T", DT_FLOAT}}}, {{"e"}, "Mul", {"d", "c"}, {{"T", DT_FLOAT}}}, {{"f"}, "Add", {"e", "a"}, {{"T", DT_FLOAT}}},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
} if !test.err && !history.EqualRevision(update, test.expectedUpdate) { t.Errorf("%s: for update want %v got %v", test.name, test.expectedUpdate, update) } if !test.err && test.expectedCurrent != nil && current != nil && test.expectedCurrent.Revision != current.Revision { t.Errorf("%s: for current revision want %d got %d", test.name, test.expectedCurrent.Revision, current.Revision) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
} } func TestStatefulPodControlUpdatePodClaimForRetentionPolicy(t *testing.T) { // All the update conditions are tested exhaustively in stateful_set_utils_test. This // tests the wiring from the pod control to that method. testFn := func(t *testing.T) { _, ctx := ktesting.NewTestContext(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
zeroSizedVariable := struct{}{} fmt.Println(zeroSizedVariable) } ` func TestZeroSizedVariable(t *testing.T) { testenv.MustHaveGoBuild(t) mustHaveDWARF(t) t.Parallel() if testing.Short() { t.Skip("skipping test in short mode.") } // This test verifies that the compiler emits DIEs for zero sized variables // (for example variables of type 'struct {}').
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
} t.ResetTimer() return server } func BenchmarkStats(t *testing.B) { tests := map[int]string{ 1: "1kb", 1 << 10: "1mb", 10 << 10: "10mb", } for size, v := range tests { server := initServerWithSize(t, size) t.Run("stats-fmttext-"+v, func(t *testing.B) { for i := 0; i < t.N; i++ { req := &http.Request{} req.Header = make(http.Header)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0)