- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,042 for RParams (0.2 sec)
-
src/cmd/compile/internal/types2/signature.go
_, rname, rparams := check.unpackRecv(recvPar.Type, true) if len(rparams) > 0 { // The scope of the type parameter T in "func (r T[T]) f()" // starts after f, not at "r"; see #52038. scopePos := ftyp.Pos() tparams := make([]*TypeParam, len(rparams)) for i, rparam := range rparams { tparams[i] = check.declareTypeParam(rparam, scopePos) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
src/go/types/signature.go
_, rname, rparams := check.unpackRecv(recvPar.List[0].Type, true) if len(rparams) > 0 { // The scope of the type parameter T in "func (r T[T]) f()" // starts after f, not at "r"; see #52038. scopePos := ftyp.Params.Pos() tparams := check.declareTypeParams(nil, rparams, scopePos) sig.rparams = bindTParams(tparams)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 13K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
func (r *importReader) kind() itag { return itag(r.uint64()) } func (r *importReader) signature(recv *types.Var, rparams, tparams []*types.TypeParam) *types.Signature { params := r.paramList() results := r.paramList() variadic := params.Len() > 0 && r.bool() return types.NewSignatureType(recv, rparams, tparams, params, results, variadic) } func (r *importReader) tparamList() []*types.TypeParam { n := r.uint64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
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) -
src/go/types/subst.go
recv := t.recv params := subst.tuple(t.params) results := subst.tuple(t.results) if params != t.params || results != t.results { return &Signature{ rparams: t.rparams, // TODO(gri) why can't we nil out tparams here, rather than in instantiate? tparams: t.tparams, // instantiated signatures have a nil scope recv: recv, params: params, results: results,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
recv := t.recv params := subst.tuple(t.params) results := subst.tuple(t.results) if params != t.params || results != t.results { return &Signature{ rparams: t.rparams, // TODO(gri) why can't we nil out tparams here, rather than in instantiate? tparams: t.tparams, // instantiated signatures have a nil scope recv: recv, params: params, results: results,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
func (r *reader) signature(recv *types.Var, rtparams, tparams []*types.TypeParam) *types.Signature { r.Sync(pkgbits.SyncSignature) params := r.params() results := r.params() variadic := r.Bool() return types.NewSignatureType(recv, rtparams, tparams, params, results, variadic) } func (r *reader) params() *types.Tuple { r.Sync(pkgbits.SyncParams) params := make([]*types.Var, r.Len()) for i := range params {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/param/params.go
package param // Params for a Template. type Params map[string]any // NewParams returns a new Params instance. func NewParams() Params { return make(Params) } func (p Params) Get(k string) any { return p[k] } func (p Params) GetWellKnown(k WellKnown) any { return p[k.String()] } func (p Params) Set(k string, v any) Params { p[k] = v return p }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.6K bytes - Viewed (0) -
src/crypto/elliptic/params.go
return specific.ScalarBaseMult(k) } return curve.ScalarMult(curve.Gx, curve.Gy, k) } func matchesSpecificCurve(params *CurveParams) (Curve, bool) { for _, c := range []Curve{p224, p256, p384, p521} { if params == c.Params() { return c, true } } return nil, false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 14.1K bytes - Viewed (0)