- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 1,681 for tone (0.05 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java
*/ void setRepository(ArtifactRepository remoteRepository); /** * Get the repository metadata associated with this marker. * * @return the metadata, or <code>null</code> if none loaded */ Metadata getMetadata(); /** * Set the metadata contents. * * @param metadata the metadata */ void setMetadata(Metadata metadata); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
{* ../../docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py hl[4,18] *} ### Migrate in steps { #migrate-in-steps } /// tip First try with `bump-pydantic`, if your tests pass and that works, then you're done in one command. ✨ /// If `bump-pydantic` doesn't work for your use case, you can use the support for both Pydantic v1 and v2 models in the same app to do the migration to Pydantic v2 gradually.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
} } return MinimalCollection.of(elements); } }) .named("MinimalCollection") .withFeatures(CollectionFeature.NONE, CollectionSize.ANY) .createTestSuite(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer.py
app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: str | None = Security(oauth2_scheme)): return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 401, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
maven-tests/mvnw
# hash string like Java String::hashCode hash_string() { str="${1:-}" h=0 while [ -n "$str" ]; do char="${str%"${str#?}"}" h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296)) str="${str#?}" done printf %x\\n $h } verbose() { :; } [ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; } die() { printf %s\\n "$1" >&2 exit 1 } trim() { # MWRAPPER-139:Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/custom-docs-ui-assets.md
若你所在的國家限制部分網址,這會很有用。 ### 停用自動產生的文件 { #disable-the-automatic-docs } 第一步是停用自動文件,因為預設會使用預設的 CDN。 要停用它們,建立 `FastAPI` 應用時把相關 URL 設為 `None`: {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[8] *} ### 加入自訂文件 { #include-the-custom-docs } 現在你可以為自訂文件建立「路徑操作(path operation)」。 你可以重用 FastAPI 的內部函式來建立文件的 HTML 頁面,並傳入所需參數:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/sql-databases.md
终于,我们英雄的身份得到了保护!🥷 它还重新声明了 `id: int`。这样我们便与 API 客户端建立了一种**约定**,使他们始终可以期待 `id` 存在并且是一个整数 `int`(永远不会是 `None`)。 /// tip | 提示 确保返回模型始终提供一个值并且始终是 `int`(而不是 `None`)对 API 客户端非常有用,他们可以在这种确定性下编写更简单的代码。 此外,**自动生成的客户端**将拥有更简洁的接口,这样与你的 API 交互的开发者就能更轻松地使用你的 API。😎 /// `HeroPublic` 中的所有字段都与 `HeroBase` 中的相同,其中 `id` 声明为 `int`(不是 `None`): * `id` * `name` * `age`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
Jenkinsfile
#!groovy pipeline { agent none // save some io during the build options { skipDefaultCheckout() durabilityHint('PERFORMANCE_OPTIMIZED') disableRestartFromStage() } stages { stage("Build / Test - JDK17") { agent { node { label 'ubuntu' } } steps { timeout(time: 210, unit: 'MINUTES') { checkout scm mavenBuild("jdk_17_latest", "") script {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 26 16:20:31 GMT 2026 - 2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-updates.md
`PUT` 用於接收應該取代現有資料的資料。 ### 關於取代的警告 { #warning-about-replacing } 這表示,如果你想用 `PUT` 並在 body 中包含以下內容來更新項目 `bar`: ```Python { "name": "Barz", "price": 3, "description": None, } ``` 由於這裡沒有包含已儲存的屬性 `"tax": 20.2`,輸入的模型會採用預設值 `"tax": 10.5`。 最終資料會以這個「新的」 `tax` 值 `10.5` 被儲存。 ## 使用 `PATCH` 進行部分更新 { #partial-updates-with-patch }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
for (; ; ) { boolean done = true; for (int i = 0; i < aa.length(); i++) { double v = aa.get(i); assertTrue(v >= 0); if (v != 0) { done = false; if (aa.compareAndSet(i, v, v - 1.0)) { ++counts; } } } if (done) { break; } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0)