- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for testfunc0 (0.27 sec)
-
test/range4.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 16:00:53 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/volume/util/resize_util_test.go
expectedPVC *v1.PersistentVolumeClaim testFunc func(*v1.PersistentVolumeClaim, clientset.Interface, resource.Quantity) (*v1.PersistentVolumeClaim, error) }{ { name: "mark fs resize, with no other conditions", pvc: basePVC.get(), expectedPVC: basePVC.withStorageResourceStatus(v1.PersistentVolumeClaimNodeResizePending).get(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_profiler_test.cc
TEST(DeviceCompilationProfilerTest, RegisterExecution) { DeviceCompilationProfiler* profiler = new DeviceCompilationProfiler(); core::ScopedUnref profiler_ref(profiler); NameAttrList function; function.set_name("TestFunc"); for (int i = 0; i < 5; ++i) { profiler->RegisterExecution(function); } TF_ASSERT_OK_AND_ASSIGN(auto stats, profiler->GetCompileStats(function)); EXPECT_EQ(stats.execution_count, 5); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 22 21:06:33 UTC 2022 - 8.7K bytes - Viewed (0) -
src/math/big/arith_s390x_test.go
if hasVX { for _, a := range sumVV { arg := a testFunVV(t, "addVV_novec", addVV_novec, arg) arg = argVV{a.z, a.y, a.x, a.c} testFunVV(t, "addVV_novec symmetric", addVV_novec, arg) arg = argVV{a.x, a.z, a.y, a.c} testFunVV(t, "subVV_novec", subVV_novec, arg) arg = argVV{a.y, a.z, a.x, a.c} testFunVV(t, "subVV_novec symmetric", subVV_novec, arg) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 770 bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/closure_test.go
a := 0 b := func() { switch { } a++ } b() b() return a } func testCFunc(t *testing.T) { if want, got := 2, testCFunc_ssa(); got != want { t.Errorf("expected %d, got %d", want, got) } } // TestClosure tests closure related behavior. func TestClosure(t *testing.T) { testCFunc(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 572 bytes - Viewed (0) -
test/fixedbugs/bug447.go
ftype := fmt.Sprintf("float%d", fWidth) seg := strings.Replace(testSegment, "$F", ftype, -1) seg = strings.Replace(seg, "$I", itype, -1) segs.WriteString(seg) } body := strings.Replace(testFunc, "$I", itype, -1) if typ[0] == 'u' { body = strings.Replace(body, "$TEST", " || i < 0", 1) } else { body = strings.Replace(body, "$TEST", "", 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner_test.go
{Version: " ", Err: true}, {Version: "1", ExpectVersion: 1}, {Version: "10", ExpectVersion: 10}, } v := APIObjectVersioner{} testFuncs := []func(string) (uint64, error){ v.ParseResourceVersion, } for _, testCase := range testCases { for i, f := range testFuncs { version, err := f(testCase.Version) switch { case testCase.Err && err == nil:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 16:18:15 UTC 2022 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
fmt.Fprintf(w, " a,b int%d\n", sz) fmt.Fprintf(w, " add,sub,mul,div,mod int%d\n", sz) fmt.Fprintf(w, "}\n") } // the function being tested testFunc, err := template.New("testFunc").Parse( `//go:noinline func {{.Name}}_{{.Stype}}_ssa(a, b {{.Stype}}) {{.Stype}} { return a {{.SymFirst}} b } `) if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
test/rangegen.go
code0 := gen(b, "testFunc"+s, "", "yield2", i, double, func(c int) bool { return c == j || c == k }) code1 := gen(b, "testSlice"+s, "_, ", "slice2", i, double, func(c int) bool { return c == j || c == k }) if code0 != code1 { panic("bad generator") } tests += "test" + s + "()\n" p(b, testCode, "test"+s, []int{j, k}, "testFunc"+s, "testSlice"+s) flush(false) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 23:35:19 UTC 2023 - 8.4K bytes - Viewed (0) -
cluster/addons/addon-manager/kube-addons-test.sh
return 1 fi } function test_func() { local -r name="${1}" echo_blue "=== TEST ${name}" setup if ! "${name}"; then failures=$((failures+1)) error "=== FAIL" else echo_green "=== PASS" fi teardown } failures=0 test_func test_create_resource_reconcile test_func test_create_resource_ensureexists test_func test_create_multiresource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 25 02:46:18 UTC 2021 - 9.3K bytes - Viewed (0)