Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,236 for ncalls (0.38 sec)

  1. test/range4.go

    			}
    		}
    	}
    }
    
    func testcalls1() {
    	ncalls := 0
    	for k, v := range iter3(1, 2, 3) {
    		_, _ = k, v
    		ncalls++
    	}
    	if ncalls != 3 {
    		println("wrong number of calls:", ncalls, "!= 3")
    		panic("fail")
    	}
    }
    
    func main() {
    	testfunc0()
    	testfunc1()
    	testfunc2()
    	testfunc3()
    	testfunc4()
    	testfunc5()
    	testfunc6()
    	testfunc7()
    	testfunc8()
    	testfunc9()
    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/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		if !push {
    			return true
    		}
    		call := n.(*ast.CallExpr)
    		if !isHTTPFuncOrMethodOnClient(pass.TypesInfo, call) {
    			return true // the function call is not related to this check.
    		}
    
    		// Find the innermost containing block, and get the list
    		// of statements starting with the one containing call.
    		stmts, ncalls := restOfBlock(stack)
    		if len(stmts) < 2 {
    			// The call to the http function is the last statement of the block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	finalSeats uint64
    }
    
    func newUniformClient(hash uint64, nThreads, nCalls int, execDuration, thinkDuration time.Duration) uniformClient {
    	return uniformClient{
    		hash:          hash,
    		nThreads:      nThreads,
    		nCalls:        nCalls,
    		execDuration:  execDuration,
    		thinkDuration: thinkDuration,
    		initialSeats:  1,
    		finalSeats:    1,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/inlheur/testdata/props/calls.go

    		callee(len(s))
    		break
    	}
    }
    
    // calls.go T_calls_on_panic_paths 67 0 1
    // <endpropsdump>
    // {"Flags":0,"ParamFlags":[0,0],"ResultFlags":null}
    // callsite: calls.go:69:9|0 flagstr "CallSiteOnPanicPath" flagval 2 score 42 mask 1 maskstr "panicPathAdj"
    // callsite: calls.go:73:9|1 flagstr "CallSiteOnPanicPath" flagval 2 score 42 mask 1 maskstr "panicPathAdj"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-skip-partitioned-calls.mlir

    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=true | FileCheck %s --check-prefix=CHECK-SKIP
    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=false | FileCheck %s --check-prefix=CHECK-NOSKIP
    
    module {
      func.func @partitioned_call(%arg0: tensor<1x2x2x3xf32>) -> (tensor<1x2x2x3xf32>) {
        %0 = "tf.StatefulPartitionedCall"(%arg0) <{
          config = "", config_proto = "", executor_type = "", f = @some_func
        }> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/dwarfgen/dwinl.go

    		CallPos:   callPos,
    		AbsFunSym: absFnSym,
    		Root:      parCallIdx == -1,
    	}
    	dwcalls.Calls = append(dwcalls.Calls, ic)
    	callIdx = len(dwcalls.Calls) - 1
    	imap[inlIdx] = callIdx
    
    	if parCallIdx != -1 {
    		// Add this inline to parent's child list
    		dwcalls.Calls[parCallIdx].Children = append(dwcalls.Calls[parCallIdx].Children, callIdx)
    	}
    
    	return callIdx
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/call.go

    	} else {
    		if ddd {
    			// standard_func(a, b, c...)
    			//check.errorf(call.Ellipsis, "cannot use ... in call to non-variadic %s", call.Fun)
    			check.errorf(call, NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
    			return
    		}
    		// standard_func(a, b, c)
    	}
    
    	// check argument count
    	if nargs != npars {
    		var at poser = call
    		qualifier := "not enough"
    		if nargs > npars {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. src/go/types/call.go

    	}
    	// x.typ may be generic
    
    	switch x.mode {
    	case invalid:
    		check.use(call.Args...)
    		x.expr = call
    		return statement
    
    	case typexpr:
    		// conversion
    		check.nonGeneric(nil, x)
    		if x.mode == invalid {
    			return conversion
    		}
    		T := x.typ
    		x.mode = invalid
    		switch n := len(call.Args); n {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15609.dir/call.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 67 bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/common/call.go

    		err = opts.Check(result, err)
    		if err != nil {
    			err = fmt.Errorf("call failed from %s to %s (using %s): %v",
    				srcName, getTargetURL(opts), opts.Scheme, err)
    		}
    
    		return result, err
    	}
    
    	if opts.Retry.NoRetry {
    		// Retry is disabled, just send once.
    		t0 := time.Now()
    		defer func() {
    			scopes.Framework.Debugf("echo call complete with duration %v", time.Since(t0))
    		}()
    		return sendAndValidate()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top