Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Testfunc (0.14 sec)

  1. 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)
  2. 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)
  3. test/range4.go

    	}
    	if ncalls != 3 {
    		println("wrong number of calls:", ncalls, "!= 3")
    		panic("fail")
    	}
    }
    
    func main() {
    	testfunc0()
    	testfunc1()
    	testfunc2()
    	testfunc3()
    	testfunc4()
    	testfunc5()
    	testfunc6()
    	testfunc7()
    	testfunc8()
    	testfunc9()
    	testcalls()
    	testcalls1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. 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)
  5. pkg/config/schema/kubeclient/common.go

    	return c.Informers().InformerFor(g, opts, func() cache.SharedIndexInformer {
    		inf := cache.NewSharedIndexInformerWithOptions(
    			&cache.ListWatch{
    				ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithApplicationIntegrationTest.groovy

                    return app();
                }
            """
        }
    
        @Override
        protected void changeTestImplementation() {
            file("src/test/cpp/test_app.cpp") << """
                void test_func() { }
            """
        }
    
        @Override
        protected void assertTestCasesRan() {
            // Ok
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "application"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

        OpBuilder builder(launch);
        auto call_op = builder.create<TF::PartitionedCallOp>(
            module.getLoc(), launch.getResultTypes(), launch.getOperands(),
            SymbolRefAttr::get(builder.getContext(), launch.getFunc()),
            /*config=*/builder.getStringAttr(""),
            /*config_proto=*/builder.getStringAttr(""),
            /*executor_type=*/builder.getStringAttr(""));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

            mirrored_replicate_args.insert(
                mlir::cast<IntegerAttr>(mirrored_index).getInt());
          }
        }
        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
          auto operand = SkipIdentityAndReadVariable(entry.value());
          auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top