- Sort Score
- Num 10 results
- Language All
Results 2181 - 2190 of 3,625 for List (0.09 seconds)
-
docs/zh-hant/docs/tutorial/encoder.md
# JSON 相容編碼器 { #json-compatible-encoder } 在某些情況下,你可能需要將某種資料型別(例如 Pydantic 模型)轉換為與 JSON 相容的類型(例如 `dict`、`list` 等)。 例如,當你需要把它儲存在資料庫中。 為此,**FastAPI** 提供了 `jsonable_encoder()` 函式。 ## 使用 `jsonable_encoder` { #using-the-jsonable-encoder } 想像你有一個只接受與 JSON 相容資料的資料庫 `fake_db`。 例如,它不接受 `datetime` 物件,因為那與 JSON 不相容。 因此,必須將 `datetime` 物件轉為一個以 [ISO 格式](https://en.wikipedia.org/wiki/ISO_8601) 表示資料的 `str`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.5K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
) require(lineFound) { "File '$docFile' does not contain the expected compatibility line: '$linePrefix'" } } protected fun fetchVersionsFromMavenMetadata(url: String): List<String> = DocumentBuilderFactory.newInstance().apply { setFeature("http://apache.org/xml/features/disallow-doctype-decl", true) setFeature("http://xml.org/sax/features/external-general-entities", false)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
} } finally { lock.writeLock().unlock(); } } /** * Get all children * * @return list of child file info */ public List<FileInfo> getChildren() { lock.readLock().lock(); try { lastAccessTime = System.currentTimeMillis(); return new ArrayList<>(children.values());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
import static java.util.Arrays.asList; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import junit.framework.Test; /** * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known * bugs in OpenJDK 6 or higher. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
if reducedErr != nil { return FileInfo{}, reducedErr } // List all the file commit ids from parts metadata. modTimes := listObjectModtimes(partsMetadata, errs) // Count all latest updated FileInfo values var count int var latestFileInfo FileInfo // Reduce list of UUIDs to a single common value - i.e. the last updated Time modTime := commonTime(modTimes, expectedRQuorum)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java
package org.codelibs.fess.app.web.api.admin.searchlist; import org.codelibs.fess.app.web.admin.searchlist.ListForm; import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; /** * Search request body for search list administration API. */ public class SearchBody extends ListForm { /** * Default constructor. */ public SearchBody() { super(); } // `size` is an alias of `num`.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS). return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
} } /** * LSA referenced domain list. */ public static class LsarRefDomainList extends NdrObject { /** * Default constructor for LsarRefDomainList. */ public LsarRefDomainList() { // Default constructor } /** Number of domains in the list. */ public int count;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0) -
android/guava-bom/pom.xml
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <!-- Sonatype requires that we list someone here. Guava has many contributors: https://github.com/google/guava/graphs/contributors --> <developer> <id>cpovirk</id> <name>Chris Povirk</name> <email>******@****.***</email> </developer>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 12 15:41:31 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
assertEquals(42, groovyEngine.evaluate(script, params)); } /** * Test that list operations work */ @Test public void test_evaluate_listOperations() { final Map<String, Object> params = new HashMap<>(); final String script = "def list = [1, 2, 3, 4, 5]; return list.sum()"; assertEquals(15, groovyEngine.evaluate(script, params)); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0)