- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for testfunc0 (0.38 sec)
-
src/cmd/go/internal/load/test.go
type coverInfo struct { Package *Package Vars map[string]*CoverVar } // loadTestFuncs returns the testFuncs describing the tests that will be run. // The returned testFuncs is always non-nil, even if an error occurred while // processing test files. func loadTestFuncs(ptest *Package) (*testFuncs, error) { t := &testFuncs{ Package: ptest, } var err error for _, file := range ptest.TestGoFiles {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/math/big/arith_test.go
testFunVV(t, "addVV_g", addVV_g, arg) testFunVV(t, "addVV", addVV, arg) arg = argVV{a.z, a.y, a.x, a.c} testFunVV(t, "addVV_g symmetric", addVV_g, arg) testFunVV(t, "addVV symmetric", addVV, arg) arg = argVV{a.x, a.z, a.y, a.c} testFunVV(t, "subVV_g", subVV_g, arg) testFunVV(t, "subVV", subVV, arg) arg = argVV{a.y, a.z, a.x, a.c} testFunVV(t, "subVV_g symmetric", subVV_g, arg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 19.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc
} } )mlir"; OwningOpRef<ModuleOp> module_op_ref = ParseModuleOpString(kModuleCode); const auto test_func = module_op_ref->lookupSymbol<func::FuncOp>("test_fold_constant"); ASSERT_THAT(test_func, NotNull()); Operation* mul_op = FindOperationOfType<TF::MulOp>(test_func); SmallVector<Value> results = ConstantFoldOpIfPossible(mul_op); EXPECT_THAT(results, SizeIs(1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 10.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
maker fileMaker tests []testFnc }{{ maker: makeReg{0, ""}, tests: []testFnc{ testRemaining{0, 0}, testWrite{"", 0, nil}, testWrite{"a", 0, ErrWriteTooLong}, testReadFrom{fileOps{""}, 0, nil}, testReadFrom{fileOps{"a"}, 0, ErrWriteTooLong}, testRemaining{0, 0}, }, }, { maker: makeReg{1, "a"}, tests: []testFnc{ testRemaining{1, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator_test.go
NodeCIDRMaskSizes: []int{24}, }, expectedAllocatedCIDR: map[int]string{ 0: "10.10.1.0/24", }, }, } // test function _, tCtx := ktesting.NewTestContext(t) testFunc := func(tc testCase) { fakeNodeInformer := test.FakeNodeInformer(tc.fakeNodeHandler) nodeList, _ := tc.fakeNodeHandler.List(tCtx, metav1.ListOptions{}) // Initialize the range allocator.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
src/archive/tar/reader_test.go
) vectors := []struct { maker fileMaker tests []testFnc }{{ maker: makeReg{"", 0}, tests: []testFnc{ testRemaining{0, 0}, testRead{0, "", io.EOF}, testRead{1, "", io.EOF}, testWriteTo{nil, 0, nil}, testRemaining{0, 0}, }, }, { maker: makeReg{"", 1}, tests: []testFnc{ testRemaining{1, 1}, testRead{5, "", io.ErrUnexpectedEOF},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 21:14:38 UTC 2022 - 47.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc
{MlirOptimizationPassState::Enabled}); GraphDef original_graph_def; graph_->ToGraphDef(&original_graph_def); EXPECT_EQ( function_optimization_pass_.Run( "test_func", device_set_, config_proto_, function_options_, &graph_, flib_.get(), &control_ret_node_names_, &control_rets_updated_), Status(absl::StatusCode::kAborted, "aborted")); verifyGraph(original_graph_def);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 08:25:30 UTC 2024 - 16.1K bytes - Viewed (0) -
src/math/big/nat_test.go
} } } func testFunNN(t *testing.T, msg string, f funNN, a argNN) { z := f(nil, a.x, a.y) if z.cmp(a.z) != 0 { t.Errorf("%s%+v\n\tgot z = %v; want %v", msg, a, z, a.z) } } func TestFunNN(t *testing.T) { for _, a := range sumNN { arg := a testFunNN(t, "add", nat.add, arg) arg = argNN{a.z, a.y, a.x} testFunNN(t, "add symmetric", nat.add, arg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h
CU_pTest CU_add_test(CU_pSuite pSuite, const char* strName, CU_TestFunc pTestFunc); /**< * This function creates a new test having the specified name * and function, and adds it to the specified suite. The new test * is active and able to be executed during a test run. At present, * there is no mechanism for creating a test case independent of a * suite. Neither pSuite, strName, nor pTestFunc may be NULL. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 40.4K bytes - Viewed (0) -
src/text/template/multi_test.go
{"variable declared by template", `{{template "nested" $x:=.SI}},{{index $x 1}}`, "[3 4 5],4", tVal, true}, // User-defined function: test argument evaluator. {"testFunc literal", `{{oneArg "joe"}}`, "oneArg=joe", tVal, true}, {"testFunc .", `{{oneArg .}}`, "oneArg=joe", "joe", true}, } // These strings are also in testdata/*. const multiText1 = ` {{define "x"}}TEXT{{end}} {{define "dotV"}}{{.V}}{{end}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 10:48:29 UTC 2022 - 11.7K bytes - Viewed (0)