Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,062 for tparams (0.43 sec)

  1. test/typeparam/tparam1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Basic type parameter list type-checking (not syntax) errors.
    
    package tparam1
    
    // The predeclared identifier "any" may be used in place of interface{}.
    var _ any
    
    func _(_ any)
    
    type _[_ any] struct{}
    
    const N = 10
    
    type (
    	_                     []struct{}  // slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    		return
    	}
    	var what string
    	switch t := x.typ.(type) {
    	case *Alias, *Named:
    		if isGeneric(t) {
    			what = "type"
    		}
    	case *Signature:
    		if t.tparams != nil {
    			if enableReverseTypeInference && T != nil {
    				check.funcInst(T, x.Pos(), x, nil, true)
    				return
    			}
    			what = "function"
    		}
    	}
    	if what != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/types2/expr.go

    		return
    	}
    	var what string
    	switch t := x.typ.(type) {
    	case *Alias, *Named:
    		if isGeneric(t) {
    			what = "type"
    		}
    	case *Signature:
    		if t.tparams != nil {
    			if enableReverseTypeInference && T != nil {
    				check.funcInst(T, x.Pos(), x, nil, true)
    				return
    			}
    			what = "function"
    		}
    	}
    	if what != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image01.png">
    
    !!! check "Заметка"
        Ещё раз, просто используя определения типов, **FastAPI** обеспечивает автоматическую интерактивную документацию (с интеграцией Swagger UI).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    	if !Vnamed || !Tnamed {
    		return types.AssignableTo(V, T)
    	}
    
    	vtparams := VN.TypeParams()
    	ttparams := TN.TypeParams()
    	if vtparams.Len() == 0 || vtparams.Len() != ttparams.Len() || VN.TypeArgs().Len() != 0 || TN.TypeArgs().Len() != 0 {
    		return types.AssignableTo(V, T)
    	}
    
    	// V and T have the same (non-zero) number of type params. Instantiate both
    	// with the type parameters of V. This must always succeed for V, and will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. docs/pt/docs/tutorial/path-params.md

    Quando você abrir o seu navegador em <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, você verá de forma automática e interativa a documentação da API como:
    
    <img src="/img/tutorial/path-params/image01.png">
    
    !!! check "Verifique"
    	Novamente, apenas com a mesma declaração de tipo do Python, o **FastAPI** te dá de forma automática e interativa a documentação (integrada com o Swagger UI).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/path-params.md

    ## 🧾
    
    &amp; 🕐❔ 👆 📂 👆 🖥 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, 👆 🔜 👀 🏧, 🎓, 🛠️ 🧾 💖:
    
    <img src="/img/tutorial/path-params/image01.png">
    
    !!! check
        🔄, ⏮️ 👈 🎏 🐍 🆎 📄, **FastAPI** 🤝 👆 🏧, 🎓 🧾 (🛠️ 🦁 🎚).
    
        👀 👈 ➡ 🔢 📣 🔢.
    
    ## 🐩-⚓️ 💰, 🎛 🧾
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image01.png">
    
    !!! check "Ek bilgi"
        Üstelik, sadece aynı Python tip tanımlaması ile, **FastAPI** size otomatik ve interaktif (Swagger UI ile entegre) bir dokümantasyon sağlar.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top