- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for TypeList (0.25 sec)
-
src/go/types/context.go
// if performance is an issue. h.typ(orig) if len(targs) > 0 { // TODO(rfindley): consider asserting on isGeneric(typ) here, if and when // isGeneric handles *Signature types. h.typeList(targs) } return strings.ReplaceAll(buf.String(), " ", "#") } // lookup returns an existing instantiation of orig with targs, if it exists. // Otherwise, it returns nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/go/types/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 - 24K bytes - Viewed (0) -
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) -
src/go/types/call.go
// targs and xlist are the type arguments and corresponding type expressions, or nil. var targs []Type var xlist []ast.Expr if ix != nil { xlist = ix.Indices 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 - 33.5K bytes - Viewed (0) -
src/go/types/api.go
// function instantiations. For type instantiations, [Type] will be of dynamic // type *[Named]. For function instantiations, [Type] will be of dynamic type // *Signature. type Instance struct { TypeArgs *TypeList Type Type } // An Initializer describes a package-level variable, or a list of variables in case // of a multi-valued initialization expression, and the corresponding initialization // expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// function instantiations. For type instantiations, Type will be of dynamic // type *Named. For function instantiations, Type will be of dynamic type // *Signature. type Instance struct { TypeArgs *TypeList Type Type } // An Initializer describes a package-level variable, or a list of variables in case // of a multi-valued initialization expression, and the corresponding initialization // expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
return static_cast<void*>(s); }; AttrValue v; v.set_type(DT_FLOAT); CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrType", v); } TEST_F(TestKernelAttr, TypeList) { auto my_create_func = [](TF_OpKernelConstruction* ctx) { struct MyCustomKernel* s = new struct MyCustomKernel; s->created = true; s->compute_called = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0)