Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 211 for IM (0.08 sec)

  1. test/typeparam/absdiff3.go

    type Complex interface {
    	~complex64 | ~complex128
    }
    
    func realimag(x any) (re, im float64) {
    	switch z := x.(type) {
    	case complex64:
    		re = float64(real(z))
    		im = float64(imag(z))
    	case complex128:
    		re = real(z)
    		im = imag(z)
    	default:
    		panic("unknown complex type")
    	}
    	return
    }
    
    func ComplexAbs[T Complex](a T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/dataclasses.md

    Das ist dank **Pydantic** ebenfalls möglich, da es <a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">`dataclasses` intern unterstützt</a>.
    
    Auch wenn im obige Code Pydantic nicht explizit vorkommt, verwendet FastAPI Pydantic, um diese Standard-Datenklassen in Pydantics eigene Variante von Datenklassen zu konvertieren.
    
    Und natürlich wird das gleiche unterstützt:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/subr.go

    		tms = t.AllMethods()
    	}
    	i := 0
    	for _, im := range iface.AllMethods() {
    		for i < len(tms) && tms[i].Sym != im.Sym {
    			i++
    		}
    		if i == len(tms) {
    			*m = im
    			*samename = ifacelookdot(im.Sym, t, true)
    			*ptr = 0
    			return false
    		}
    		tm := tms[i]
    		if tm.Nointerface() || !types.Identical(tm.Type, im.Type) {
    			*m = im
    			*samename = tm
    			*ptr = 0
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/encoder.md

    Sie akzeptiert zum Beispiel keine `datetime`-Objekte, da die nicht kompatibel mit JSON sind.
    
    Ein `datetime`-Objekt müsste also in einen `str` umgewandelt werden, der die Daten im <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO-Format</a> enthält.
    
    Genauso würde die Datenbank kein Pydantic-Modell (ein Objekt mit Attributen) akzeptieren, sondern nur ein `dict`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:07:21 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/go/types/builtins_test.go

    	{"complex", `var re float32; _ = complex(re, 1.0)`, `func(float32, float32) complex64`},
    	{"complex", `var im float64; _ = complex(1, im)`, `func(float64, float64) complex128`},
    	{"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
    	{"complex", `type F64 float64; var re, im F64; _ = complex(re, im)`, `func(p.F64, p.F64) complex128`},
    
    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/additional-status-codes.md

        ```Python hl_lines="4  25"
        {!> ../../../docs_src/additional_status_codes/tutorial001.py!}
        ```
    
    !!! warning "Achtung"
        Wenn Sie eine `Response` direkt zurückgeben, wie im obigen Beispiel, wird sie direkt zurückgegeben.
    
        Sie wird nicht mit einem Modell usw. serialisiert.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 13:04:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/handling-errors.md

    * usw.
    
    In diesen Fällen geben Sie normalerweise einen **HTTP-Statuscode** im Bereich **400** (400 bis 499) zurück.
    
    Das ist vergleichbar mit den HTTP-Statuscodes im Bereich 200 (von 200 bis 299). Diese „200“er Statuscodes bedeuten, dass der Request in einem bestimmten Aspekt ein „Success“ („Erfolg“) war.
    
    Die Statuscodes im 400er-Bereich bedeuten hingegen, dass es einen Fehler gab.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:29 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/first-steps.md

    Betrachten wir es also aus dieser vereinfachten Sicht:
    
    * Der Benutzer gibt den `username` und das `password` im Frontend ein und drückt `Enter`.
    * Das Frontend (das im Browser des Benutzers läuft) sendet diesen `username` und das `password` an eine bestimmte URL in unserer API (deklariert mit `tokenUrl="token"`).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:07:08 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/metadata.md

    | `license_info` | `dict` | Die Lizenzinformationen für die verfügbar gemachte API. Kann mehrere...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:25:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/response-model.md

        * Es wird auch von automatisch Client-Code-generierenden Tools verwendet.
    
    Aber am wichtigsten:
    
    * Es wird die Ausgabedaten auf das **limitieren und filtern**, was im Rückgabetyp definiert ist.
        * Das ist insbesondere für die **Sicherheit** wichtig, mehr dazu unten.
    
    ## `response_model`-Parameter
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top