Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 86 of 86 for OpType (0.15 sec)

  1. src/go/parser/parser.go

    			// the decision towards a type parameter list.
    			if pname, ptype := extractName(x, p.tok == token.COMMA); pname != nil && (ptype != nil || p.tok != token.RBRACK) {
    				// spec.Name "[" pname ...
    				// spec.Name "[" pname ptype ...
    				// spec.Name "[" pname ptype "," ...
    				p.parseGenericType(spec, lbrack, pname, ptype) // ptype may be nil
    			} else {
    				// spec.Name "[" pname "]" ...
    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/api_test.go

    				// type with TypeArgs results in an identical instance.
    				ptype := useMap[inst.Ident].Type()
    				lister, _ := ptype.(interface{ TypeParams() *TypeParamList })
    				if lister == nil || lister.TypeParams().Len() == 0 {
    					t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Ident, ptype)
    				}
    				inst2, err := Instantiate(nil, ptype, targs, true)
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    				// type with TypeArgs results in an identical instance.
    				ptype := useMap[inst.Name].Type()
    				lister, _ := ptype.(interface{ TypeParams() *TypeParamList })
    				if lister == nil || lister.TypeParams().Len() == 0 {
    					t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Name, ptype)
    				}
    				inst2, err := Instantiate(nil, ptype, targs, true)
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    			break
    		}
    		if st.str[0] == 'Q' {
    			// This is a requires clause.
    			break
    		}
    		ptype := st.demangleType(false)
    
    		if len(ret) == 0 && explicitObjectParameter {
    			ptype = &ExplicitObjectParameter{Base: ptype}
    		}
    
    		ret = append(ret, ptype)
    	}
    
    	// There should always be at least one type.  A function that
    	// takes no arguments will have a single parameter type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		// constants to the parameter type, to avoid a type mismatch.
    		ptype := p.rewriteUnsafe(param.Go)
    
    		if !p.needsPointerCheck(f, param.Go, args[i]) || param.BadPointer || p.checkUnsafeStringData(args[i]) {
    			if ptype != param.Go {
    				needsUnsafe = true
    			}
    			fmt.Fprintf(&sb, "var _cgo%d %s = %s; ", i,
    				gofmt(ptype), gofmtPos(arg, origArg.Pos()))
    			continue
    		}
    
    		// Check for &a[i].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    // TODO/NICETOHAVE:
    //   - eliminate DW_CLS_ if not used
    //   - package info in compilation units
    //   - assign types to their packages
    //   - gdb uses c syntax, meaning clumsy quoting is needed for go identifiers. eg
    //     ptype struct '[]uint8' and qualifiers need to be quoted away
    //   - file:line info for variables
    //   - make strings a typedef so prettyprinters can see the underlying string type
    
    package ld
    
    import (
    	"cmd/internal/dwarf"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top