Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 510 for tcCall (0.13 sec)

  1. src/go/types/util.go

    // hasDots reports whether the last argument in the call is followed by ...
    func hasDots(call *ast.CallExpr) bool { return call.Ellipsis.IsValid() }
    
    // dddErrPos returns the positioner for reporting an invalid ... use in a call.
    func dddErrPos(call *ast.CallExpr) positioner { return atPos(call.Ellipsis) }
    
    // argErrPos returns positioner for reporting an invalid argument count.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. test/inline_endian.go

    	b = binary.LittleEndian.AppendUint16(b, 16) // ERROR "inlining call to binary.littleEndian.AppendUint16"
    	return b
    }
    
    func appendBigEndian(b []byte) []byte { // ERROR "can inline appendBigEndian" "leaking param: b to result ~r0 level=0"
    	b = binary.BigEndian.AppendUint64(b, 64) // ERROR "inlining call to binary.bigEndian.AppendUint64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:05:02 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue48835.go

    func f() {
    	var x int
    	f0(1)              // ERROR "too many arguments in call to f0\n\thave \(number\)\n\twant \(\)"
    	f0(x)              // ERROR "too many arguments in call to f0\n\thave \(int\)\n\twant \(\)"
    	f1()               // ERROR "not enough arguments in call to f1\n\thave \(\)\n\twant \(int\)"
    	f1(1, 2)           // ERROR "too many arguments in call to f1\n\thave \(number, number\)\n\twant \(int\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 20:57:46 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/serviceentry_simulation_test.go

    				{
    					Name: "HTTP call",
    					Call: simulation.Call{
    						Address:    "240.240.91.120",
    						Port:       80,
    						HostHeader: "istio.io",
    						Protocol:   simulation.HTTP,
    					},
    					Result: simulation.Result{
    						ListenerMatched: "0.0.0.0_80",
    						ClusterMatched:  "outbound|80||istio.io",
    					},
    				},
    				{
    					Name: "HTTPS call",
    					Call: simulation.Call{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/testdata/callback/main.go

    	cb := NewCallback()
    
    	c.SetCallback(cb)
    	s := c.Call()
    	if s != "Callback::run" {
    		fatal("unexpected string from Call: %q", s)
    	}
    	c.DelCallback()
    }
    
    func testCallback() {
    	c := NewCaller()
    	cb := NewDirectorCallback(&GoCallback{})
    	c.SetCallback(cb)
    	s := c.Call()
    	if s != "GoCallback.Run" {
    		fatal("unexpected string from Call with callback: %q", s)
    	}
    	c.DelCallback()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go

    func (b *JobSpecApplyConfiguration) WithCompletionMode(value batchv1.CompletionMode) *JobSpecApplyConfiguration {
    	b.CompletionMode = &value
    	return b
    }
    
    // WithSuspend sets the Suspend field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Suspend field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. 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)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.ir.txt

              BLOCK_BODY
                CALL 'public final fun consume (n: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
                  n: GET_VAR 'val x: kotlin.Int [val] declared in <root>.test' type=kotlin.Int origin=null
            CALL 'local final fun call (): kotlin.Unit declared in <root>.test' type=kotlin.Unit origin=null
      FILE fqName:<root> fileName:fragment.kt
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue52193.go

    	p256 := ecdh.P256() // ERROR "inlining call to ecdh.P256"
    
    	ourKey, err := p256.GenerateKey(rand.Reader) // ERROR "devirtualizing p256.GenerateKey" "inlining call to ecdh.*GenerateKey"
    	if err != nil {
    		return nil, err
    	}
    
    	peerPublic, err := p256.NewPublicKey(peerShare) // ERROR "devirtualizing p256.NewPublicKey" "inlining call to ecdh.*NewPublicKey"
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 17:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. test/live_uintptrkeepalive.go

    	var t int
    	implicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func autotmpExplicit() { // ERROR "can inline autotmpExplicit"
    	var t int
    	explicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to explicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top