- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for Generics (0.05 seconds)
-
generics.go
Jinzhu <******@****.***> 1762092514 +0800
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
docs/ru/docs/python-types.md
И тогда вам не придётся задумываться о названиях вроде `Optional` и `Union`. 😎 #### Generic-типы { #generic-types } Типы, которые принимают параметры типов в квадратных скобках, называются **Generic-типами** или **Generics**, например: //// tab | Python 3.10+ Вы можете использовать те же встроенные типы как generics (с квадратными скобками и типами внутри): * `list` * `tuple` * `set` * `dict`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 24.4K bytes - Click Count (0) -
tests/generics_test.go
}, { Name: "generics-nested-joins-2", Manager: GetUser("generics-nested-joins-manager-2", Config{Company: true, NamedPet: true}), NamedPet: &Pet{Name: "generics-nested-joins-namepet-2", Toy: Toy{Name: "generics-nested-joins-namepet-toy-2"}}, }, } ctx := context.Background() db := gorm.G[User](DB)Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
docs/en/docs/python-types.md
And then you won't have to worry about names like `Optional` and `Union`. 😎 #### Generic types { #generic-types } These types that take type parameters in square brackets are called **Generic types** or **Generics**, for example: //// tab | Python 3.10+ You can use the same builtin types as generics (with square brackets and types inside): * `list` * `tuple` * `set` * `dict`
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/de/docs/python-types.md
Und dann müssen Sie sich nicht mehr um Namen wie `Optional` und `Union` kümmern. 😎 #### Generische Typen { #generic-types } Diese Typen, die Typ-Parameter in eckigen Klammern akzeptieren, werden **generische Typen** oder **Generics** genannt. //// tab | Python 3.10+ Sie können die eingebauten Typen als Generics verwenden (mit eckigen Klammern und Typen darin): * `list` * `tuple` * `set` * `dict`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.9K bytes - Click Count (1) -
internal/grid/README.md
// Do something with payload return NewMSSWith(map[string]string{"result": "ok"}), nil } // Create a typed handler. // Due to current generics limitations, a constructor of the empty type must be provided. instance := grid.NewSingleHandler[*grid.MSS, *grid.MSS](h, grid.NewMSS, grid.NewMSS) // Register the handler on the managerCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/es/docs/python-types.md
Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎 #### Tipos genéricos { #generic-types } Estos tipos que toman parámetros de tipo en corchetes se llaman **Tipos Genéricos** o **Genéricos**, por ejemplo: //// tab | Python 3.10+ Puedes usar los mismos tipos integrados como genéricos (con corchetes y tipos dentro): * `list` * `tuple` * `set` * `dict`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (1) -
docs/pt/docs/python-types.md
E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎 #### Tipos genéricos { #generic-types } Esses tipos que usam parâmetros de tipo entre colchetes são chamados **tipos genéricos** ou **genéricos**. Por exemplo: //// tab | Python 3.10+ Você pode utilizar os mesmos tipos internos como genéricos (com colchetes e tipos dentro): * `list` * `tuple` * `set` * `dict`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.7K bytes - Click Count (0) -
doc/go_spec.html
Type equations are always solved for the bound type parameters only. </p> <p> Type inference supports calls of generic functions and assignments of generic functions to (explicitly function-typed) variables. This includes passing generic functions as arguments to other (possibly also generic) functions, and returning generic functions as results. Type inference operates on a set of equations specific to each of these cases.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
docs/zh-hant/llm-prompt.md
### `///` admonitions 1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.). 2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK. 3) If a generic title is present, prefer these canonical titles: - `/// note | 注意` Notes: - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`. - Example canonical titles used in existing docs:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:49:46 GMT 2025 - 2.2K bytes - Click Count (0)