- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 546 for Extras (0.2 sec)
-
internal/bpool/pool.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bpool import "sync" // Pool is a single type sync.Pool with a few extra properties: // If New is not set Get may return the zero value of T. type Pool[T any] struct { New func() T p sync.Pool } // Get will retuen a new T func (p *Pool[T]) Get() T { v, ok := p.p.Get().(T)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 1.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
public Map<String, String> extraInterpolationSource() { Map<String, String> extra = new HashMap<>(); extra.put("session.topDirectory", topDirectory.toString()); if (rootDirectory != null) { extra.put("session.rootDirectory", rootDirectory.toString()); } return extra; } } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params-str-validations.md
Dado que `Annotated` puede tener más de una anotación de metadato, ahora podrías incluso usar la misma función con otras herramientas, como <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">Typer</a>. 🚀 ## Agregar más validaciones { #add-more-validations } También puedes agregar un parámetro `min_length`:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
* Buffer type for device information. */ int DEVICE_INFO_TYPE = 0xE; /** * Buffer type for device claims information. */ int DEVICE_CLAIMS_TYPE = 0xF; /** * Flag for extra SIDs in logon information. */ int LOGON_EXTRA_SIDS = 0x20; /** * Flag for resource groups in logon information. */ int LOGON_RESOURCE_GROUPS = 0x200; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
builder.append(args[i++]); templateStart = placeholderStart + 2; } builder.append(template.substring(templateStart)); // if we run out of placeholders, append the extra args in square braces if (i < args.length) { builder.append(" ["); builder.append(args[i++]); while (i < args.length) { builder.append(", "); builder.append(args[i++]); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/header-param-models.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 17:03:13 UTC 2025 - 3K bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial002_an_py310.py
from typing import Annotated from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): model_config = {"extra": "forbid"} session_id: str fatebook_tracker: str | None = None googall_tracker: str | None = None @app.get("/items/") async def read_items(cookies: Annotated[Cookies, Cookie()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 383 bytes - Viewed (0) -
docs/ja/docs/tutorial/cookie-param-models.md
Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。 {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *} もしクライアントが**余分なクッキー**を送ろうとすると、**エラー**レスポンスが返されます。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:21:27 UTC 2025 - 4.5K bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial002_an_py39.py
from typing import Annotated, Union from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): model_config = {"extra": "forbid"} session_id: str fatebook_tracker: Union[str, None] = None googall_tracker: Union[str, None] = None @app.get("/items/") async def read_items(cookies: Annotated[Cookies, Cookie()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 402 bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/Beta.java
* annotation implies nothing about the quality or performance of the API in question, only the fact * that it is not "API-frozen." * * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get * included on users' CLASSPATHs, outside the library developers' control) to do so. * * @author Kevin Bourrillion */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 1.8K bytes - Viewed (0)