Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for typelink (0.15 sec)

  1. src/cmd/compile/internal/types2/typestring.go

    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/comparator.go

    	}
    	mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
    	if err != nil {
    		// istioctl should keep going if it encounters new Envoy versions; ignore unknown types
    		return &exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}, nil
    	}
    	return legacyproto.MessageV1(mt.New().Interface()), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/go/types/typexpr.go

    		msg = "array length %s must be integer"
    	}
    	check.errorf(&x, InvalidArrayLen, msg, &x)
    	return -1
    }
    
    // typeList provides the list of types corresponding to the incoming expression list.
    // If an error occurred, the result is nil, but all list elements were type-checked.
    func (check *Checker) typeList(list []ast.Expr) []Type {
    	res := make([]Type, len(list)) // res != nil even if len(list) == 0
    	for i, x := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    }
    
    // buildTypeInfo constructs the type information for the type
    // and stores it in the type info map.
    func buildTypeInfo(ut *userTypeInfo, rt reflect.Type) (*typeInfo, error) {
    	typeLock.Lock()
    	defer typeLock.Unlock()
    
    	if info := lookupTypeInfo(rt); info != nil {
    		return info, nil
    	}
    
    	gt, err := getBaseType(rt.Name(), rt)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typexpr.go

    		msg = "array length %s must be integer"
    	}
    	check.errorf(&x, InvalidArrayLen, msg, &x)
    	return -1
    }
    
    // typeList provides the list of types corresponding to the incoming expression list.
    // If an error occurred, the result is nil, but all list elements were type-checked.
    func (check *Checker) typeList(list []syntax.Expr) []Type {
    	res := make([]Type, len(list)) // res != nil even if len(list) == 0
    	for i, x := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    	}
    	return x
    }
    
    // typeList parses a non-empty, comma-separated list of types,
    // optionally followed by a comma. If strict is set to false,
    // the first element may also be a (non-type) expression.
    // If there is more than one argument, the result is a *ListExpr.
    // The comma result indicates whether there was a (separating or
    // trailing) comma.
    //
    // typeList = arg { "," arg } [ "," ] .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. api/go1.23.txt

    pkg go/types, method (*Alias) Origin() *Alias #67143
    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
    pkg go/types, method (*Func) Signature() *Signature #65772
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. JavadocStyleGuide.md

       }
    }
    ```
    
    Basic formatting rules:
    
    - The first line contains the begin-comment delimiter ( `/**`).
    - The first sentence is a summary.
    - Notice the inline tag `{@link URL}`, which converts to an HTML hyperlink pointing to the documentation for the URL class.
    - If you have more than one paragraph in the doc comment, separate the paragraphs with a `<p>` paragraph tag, as shown.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    }
    
    // instance holds information that is only necessary for instantiated named
    // types.
    type instance struct {
    	orig            *Named    // original, uninstantiated type
    	targs           *TypeList // type arguments
    	expandedMethods int       // number of expanded methods; expandedMethods <= len(orig.methods)
    	ctxt            *Context  // local Context; set to nil after full expansion
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/call.go

    	// targs and xlist are the type arguments and corresponding type expressions, or nil.
    	var targs []Type
    	var xlist []syntax.Expr
    	if inst != nil {
    		xlist = syntax.UnpackListExpr(inst.Index)
    		targs = check.typeList(xlist)
    		if targs == nil {
    			x.mode = invalid
    			return nil, nil
    		}
    		assert(len(targs) == len(xlist))
    	}
    
    	// Check the number of type arguments (got) vs number of type parameters (want).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top