Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for tparams (0.87 sec)

  1. src/go/parser/parser.go

    	if p.trace {
    		defer un(trace(p, "FuncType"))
    	}
    
    	pos := p.expect(token.FUNC)
    	tparams, params := p.parseParameters(true)
    	if tparams != nil {
    		p.error(tparams.Pos(), "function type must have no type parameters")
    	}
    	results := p.parseResult()
    
    	return &ast.FuncType{Func: pos, Params: params, Results: results}
    }
    
    func (p *parser) parseMethodSpec() *ast.Field {
    	if p.trace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    		return
    	}
    	var what string
    	switch t := x.typ.(type) {
    	case *Alias, *Named:
    		if isGeneric(t) {
    			what = "type"
    		}
    	case *Signature:
    		if t.tparams != nil {
    			if enableReverseTypeInference && T != nil {
    				check.funcInst(T, x.Pos(), x, nil, true)
    				return
    			}
    			what = "function"
    		}
    	}
    	if what != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    		return
    	}
    	var what string
    	switch t := x.typ.(type) {
    	case *Alias, *Named:
    		if isGeneric(t) {
    			what = "type"
    		}
    	case *Signature:
    		if t.tparams != nil {
    			if enableReverseTypeInference && T != nil {
    				check.funcInst(T, x.Pos(), x, nil, true)
    				return
    			}
    			what = "function"
    		}
    	}
    	if what != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    	return src.NoXPos
    }
    
    func (t *Type) RParams() []*Type {
    	if t.rparams == nil {
    		return nil
    	}
    	return *t.rparams
    }
    
    func (t *Type) SetRParams(rparams []*Type) {
    	if len(rparams) == 0 {
    		base.Fatalf("Setting nil or zero-length rparams")
    	}
    	t.rparams = &rparams
    	// HasShape should be set if any type argument is or has a shape type.
    	for _, rparam := range rparams {
    		if rparam.HasShape() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/out.go

    	return s + "))"
    }
    
    // exportParamName returns the value of param as it should be
    // displayed in a c header file. If param contains any non-ASCII
    // characters, this function will return the character p followed by
    // the value of position; otherwise, this function will return the
    // value of param.
    func exportParamName(param string, position int) string {
    	if param == "" {
    		return fmt.Sprintf("p%d", position)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    //
    // Test then selects subset of params that should match provided configuration
    // and ensuers those params are the only ones used.
    //
    // Also ensures NotFound action is enforced correctly by deleting all found
    // params and ensuring the Action is used.
    //
    // This test is not meant to test every possible scenario of matching/not matching:
    // only that each ParamRef CAN be evaluated correctly for both cluster scoped
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // *unconditionally*.  Therefore these #includes cannot be moved
    // inside #if GTEST_HAS_PARAM_TEST.
    #include "gtest/internal/gtest-internal.h"
    #include "gtest/internal/gtest-param-util.h"
    #include "gtest/internal/gtest-param-util-generated.h"
    
    #if GTEST_HAS_PARAM_TEST
    
    namespace testing {
    
    // Functions producing parameter generators.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/debug.go

    			// if we hit a call, we've gone too far.
    			break
    		}
    	}
    
    	// Now make a pass through the ABI in-params, looking for params
    	// or pieces of params that we didn't encounter in the loop above.
    	for _, inp := range pri.InParams() {
    		if !isNamedRegParam(inp) {
    			continue
    		}
    		n := inp.Name
    
    		// Param is spread across one or more registers. Walk through
    		// each piece to see whether we've seen an arg reg op for it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/traffic-params.yaml.7.template.gen.yaml

    Nicole LiHui <******@****.***> 1717379705 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // *unconditionally*.  Therefore these #includes cannot be moved
    // inside #if GTEST_HAS_PARAM_TEST.
    #include "gtest/internal/gtest-internal.h"
    #include "gtest/internal/gtest-param-util.h"
    #include "gtest/internal/gtest-param-util-generated.h"
    
    #if GTEST_HAS_PARAM_TEST
    
    namespace testing {
    
    // Functions producing parameter generators.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
Back to top