- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 71 for testfunc (0.52 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h
* * 24-May-2006 Added callbacks for suite start and complete events. * Added tracking/reported of elapsed time. (JDS) */ /** @file * Test run management functions (user interface). * The TestRun module implements functions supporting the running * of tests elements (suites and tests). This includes functions for * running suites and tests, retrieving the number of tests/suites run,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 22K 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) -
test/typeparam/issue50485.dir/a.go
func LessGiven[T ImplicitOrd]() Ord[T] { return LessFunc[T](func(a, b T) bool { return a < b }) } type Eq[T any] interface { Eqv(a T, b T) bool } type Ord[T any] interface { Eq[T] Less(a T, b T) bool } type LessFunc[T any] func(a, b T) bool func (r LessFunc[T]) Eqv(a, b T) bool { return r(a, b) == false && r(b, a) == false } func (r LessFunc[T]) Less(a, b T) bool { return r(a, b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K 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) -
pkg/scheduler/internal/heap/heap.go
// in "items". queue []string // keyFunc is used to make the key used for queued item insertion and retrieval, and // should be deterministic. keyFunc KeyFunc // lessFunc is used to compare two objects in the heap. lessFunc lessFunc } var ( _ = heap.Interface(&data{}) // heapData is a standard heap ) // Less compares two objects and returns true if the first one should go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 29 18:37:35 UTC 2022 - 6.7K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption_test.go
}})) } } func TestGetPodsToPreempt(t *testing.T) { type testRun struct { testName string preemptor *v1.Pod inputPods []*v1.Pod insufficientResources admissionRequirementList expectErr bool expectedOutput []*v1.Pod } allPods := getTestPods() runs := []testRun{ { testName: "no requirements",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 10:04:08 UTC 2022 - 19.2K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy
return lib(); } """ } @Override protected void changeTestImplementation() { file("src/test/cpp/test_lib.cpp") << """ void test_func() { } """ } @Override protected void assertTestCasesRan() { // ok } @Override protected String[] getTasksToCompileComponentUnderTest(String architecture) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithoutComponentIntegrationTest.groovy
return test(); } """ } @Override protected void changeTestImplementation() { file("src/test/cpp/test.cpp") << """ void test_func() { } """ } @Override protected void assertTestCasesRan() { // Ok } @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
src/compress/flate/deflate_test.go
t.Logf("#%d: write %d-%d", i, lo, hi) if _, err := w.Write(input[lo:hi]); err != nil { t.Errorf("testSync: write: %v", err) return } if i == 0 { if err := w.Flush(); err != nil { t.Errorf("testSync: flush: %v", err) return } } else { if err := w.Close(); err != nil { t.Errorf("testSync: close: %v", err) } } buf.ReadMode() out := make([]byte, hi-lo+1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.6K bytes - Viewed (0)