- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 284 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) -
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) -
pilot/pkg/networking/core/httproute_test.go
"test-headless.com:8888": {"test-headless.com:8888": true, "*.test-headless.com:8888": true}, "test-private-2.com:60": { "test-private-2.com:60": true, "9.9.9.10:60": true, }, "test-private.com:70": { "test-private.com:70": true, "9.9.9.9:70": true, }, "test-private.com:80": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
if !got.Equal(want) { t.Errorf("getPodsForStatefulSet() = %v, want %v", got, want) } } func TestOrphanedPodsWithPVCDeletePolicy(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.StatefulSetAutoDeletePVC, true) testFn := func(t *testing.T, scaledownPolicy, deletionPolicy apps.PersistentVolumeClaimRetentionPolicyType) { set := newStatefulSet(4) *set.Spec.Replicas = 2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0)