- Sort Score
- Num 10 results
- Language All
Results 2421 - 2430 of 3,588 for getA (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/tutorial/body.md
使用 [Pydantic](https://docs.pydantic.dev/) 模型来声明**请求体**,能充分利用它的功能和优点。 /// info | 信息 发送数据应使用以下之一:`POST`(最常见)、`PUT`、`DELETE` 或 `PATCH`。 规范中没有定义用 `GET` 请求发送请求体的行为,但 FastAPI 仍支持这种方式,只用于非常复杂/极端的用例。 由于不推荐,在使用 `GET` 时,Swagger UI 的交互式文档不会显示请求体的文档,而且中间的代理可能也不支持它。 /// ## 导入 Pydantic 的 `BaseModel` { #import-pydantics-basemodel } 从 `pydantic` 中导入 `BaseModel`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
tests/prepared_stmt_test.go
// If the conversion is successful, ok will be true and conn will be the converted object; // otherwise, ok will be false and conn will be nil. conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB) // Get the number of statement keys stored in the PreparedStmtDB. lens := len(conn.Stmts.Keys()) // Check if the number of stored statement keys is 0. if lens == 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
@get:PathSensitive(PathSensitivity.RELATIVE) abstract val apiChangesDirectory: DirectoryProperty protected fun loadChanges(): Map<File, List<AcceptedApiChange>> { return apiChangesDirectory.get().asFile.listFiles() ?.filter { it.name.endsWith(".json") }?.associate { it to it.readAcceptedChanges() }?.filterValues {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 04 14:00:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Test for new Let's Encrypt Root Certificate. */ @Tag("Remote") class LetsEncryptClientTest { @Test fun get() { // These tests wont actually run before Android 8.0 as per // https://github.com/mannodermaus/android-junit5 // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Hashing.java
return smear((o == null) ? 0 : o.hashCode()); } private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO; static int closedTableSize(int expectedEntries, double loadFactor) { // Get the recommended table size. // Round down to the nearest power of 2. expectedEntries = max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java
assertFalse(multimap().containsEntry(k3(), v3())); } public void testContainsEntryAgreesWithGet() { for (K k : sampleKeys()) { for (V v : sampleValues()) { assertEquals(multimap().get(k).contains(v), multimap().containsEntry(k, v)); } } } @CollectionSize.Require(absent = ZERO) @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES}) public void testContainsEntryNullYes() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* then: * * <ul> * <li>{@code isDone()} must return {@code true} * <li>{@code isCancelled()} must return {@code false} * <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the * return value of this method as its cause * </ul> * * <p>This method is {@code protected} so that classes like {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/DfsResolver.java
* @return whether the given domain is trusted * @throws CIFSException if the operation fails */ boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException; /** * Get a connection to the domain controller for a given domain * * @param tf the CIFS context * @param domain the domain name * @return connection to the domain controllerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
final int expectedNt = 0xc0000002; Optional<Integer> actual = findNtStatus(dosErr); assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr)); assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt)); } @Test @DisplayName("Unknown DOS error code yields empty Optional") void testUnknownCode() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)