- Sort Score
- Num 10 results
- Language All
Results 1591 - 1600 of 2,423 for checks (0.05 seconds)
-
android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java
import org.jspecify.annotations.NullUnmarked; /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */ @NullUnmarked final class UnannotatedJavaClass { // The Checker Framework assumes that unannotated types are non-null instead of unspecified. @SuppressWarnings("nullness:return.type.incompatible") static Object getNull() { return null; } private UnannotatedJavaClass() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(expected.isEmpty() ? -1 : expected.length(), reader.read(buf)); assertThat(new String(buf)).isEqualTo(expected); assertFullyRead(reader); // read in chunks to fixed array reader = new CharSequenceReader(charSequence); buf = new char[5]; StringBuilder builder = new StringBuilder(); int read; while ((read = reader.read(buf, 0, buf.length)) != -1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/cookie-param-models.md
在 **Pydantic 模型**中宣告所需的 **Cookie** 參數,接著將參數宣告為 `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** 會從請求收到的 **Cookie** 中擷取 **每個欄位** 的資料,並交給你定義的 Pydantic 模型。 ## 查看文件 { #check-the-docs } 你可以在 `/docs` 的文件介面中看到已定義的 Cookie: <div class="screenshot"> <img src="/img/tutorial/cookie-param-models/image01.png"> </div> /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.9K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
private val errorLogFile = File("gradle-project-health.log") @TaskAction fun fixProjectHealth() { if (!errorLogFile.exists()) { println("Error log not found! Run the projectHealth check first and redirect output.") return } val dependencyFixes = mutableMapOf<String, MutableList<String>>() val dependenciesToRemove = mutableMapOf<String, MutableList<String>>()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
logger.fine(" Sizes: " + formatFeatureSet(sizesToTest)); if (sizesToTest.isEmpty()) { throw new IllegalStateException( name + ": no CollectionSizes specified (check the argument to " + "FeatureSpecificTestSuiteBuilder.withFeatures().)"); } TestSuite suite = new TestSuite(name); for (Feature<?> collectionSize : sizesToTest) { String oneSizeName =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
int expected = original & 0xFF; NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/sub-applications.md
### 掛載子應用程式 { #mount-the-sub-application } 在你的頂層應用程式 `app` 中,掛載子應用程式 `subapi`。 在此範例中,它會被掛載在路徑 `/subapi`: {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *} ### 檢查自動 API 文件 { #check-the-automatic-api-docs } 現在,執行 `fastapi` 指令: <div class="termy"> ```console $ fastapi dev <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/tr/docs/tutorial/query-params.md
{* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} Bu durumda, fonksiyon parametresi `q` isteğe bağlı olur ve varsayılan olarak `None` olur. /// check | Ek bilgi Ayrıca, **FastAPI** path parametresi olan `item_id`'nin bir path parametresi olduğunu ve `q`'nun path olmadığını fark edecek kadar akıllıdır; dolayısıyla bu bir query parametresidir. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
logForbiddenAPIsOutput(forbiddenApisOutput); throw new IllegalStateException( "All excluded classes seem to have no issues. This is sometimes an indication that the check silently failed" ); } assertNoPointlessExclusions("are not missing", missingClassExcludes, missingClasses); missingClasses.removeAll(missingClassExcludes); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0)