Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for testfunc0 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top