- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 823 for RParams (0.11 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) -
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) -
docs/zh/docs/tutorial/path-params.md
这在开发调试与 API 交互的代码时非常有用。 ## 查看文档 访问 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>,查看自动生成的 API 文档: <img src="/img/tutorial/path-params/image01.png"> !!! check "检查" 还是使用 Python 类型声明,**FastAPI** 提供了(集成 Swagger UI 的)API 文档。 注意,路径参数的类型是整数。 ## 基于标准的好处,备选文档
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 01 05:35:40 UTC 2024 - 7.6K bytes - Viewed (0)