- Sort Score
- Result 10 results
- Languages All
Results 2641 - 2650 of 3,853 for Uint (0.06 sec)
-
docs/zh/docs/python-types.md
# Python 类型提示简介 **Python 3.6+ 版本**加入了对"类型提示"的支持。 这些**"类型提示"**是一种新的语法(在 Python 3.6 版本加入)用来声明一个变量的<abbr title="例如:str、int、float、bool">类型</abbr>。 通过声明变量的类型,编辑器和一些工具能给你提供更好的支持。 这只是一个关于 Python 类型提示的**快速入门 / 复习**。它仅涵盖与 **FastAPI** 一起使用所需的最少部分...实际上只有很少一点。 整个 **FastAPI** 都基于这些类型提示构建,它们带来了许多优点和好处。 但即使你不会用到 **FastAPI**,了解一下类型提示也会让你从中受益。 /// note 如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。 /// ## 动机 让我们从一个简单的例子开始:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/os-readdir_test.go
t.Fatalf("expected = %s, got: %s", r.entries, entries) } } } } func TestReadDirN(t *testing.T) { testCases := []struct { numFiles int n int expectedNum int }{ {0, 0, 0}, {0, 1, 0}, {1, 0, 0}, {0, -1, 0}, {1, -1, 1}, {10, -1, 10}, {1, 1, 1}, {2, 1, 1}, {10, 9, 9}, {10, 10, 10}, {10, 11, 10},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
srcCfg := getServerSystemCfg() clnts := newBootstrapRESTClients(endpointServerPools, gm) var onlineServers int var offlineEndpoints []error var incorrectConfigs []error var retries int var mu sync.Mutex for onlineServers < len(clnts)/2 { var wg sync.WaitGroup wg.Add(len(clnts)) onlineServers = 0 for _, clnt := range clnts {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt
clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use { assertThat(it.code).isEqualTo(200) } } @ParameterizedTest @ValueSource(ints = [1, 2]) fun paramTest( instance: Int, server: MockWebServer, ) { assertThat(server).isSameInstanceAs(instanceServer) } companion object { private lateinit var staticServer: MockWebServer @JvmStatic @BeforeAll
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
protected FessConfig fessConfig; public List<StopwordsItem> getStopwordsList(final String dictId, final StopwordsPager stopwordsPager) { return getStopwordsFile(dictId).map(file -> { final int pageSize = stopwordsPager.getPageSize(); final PagingList<StopwordsItem> stopwordsList = file.selectList((stopwordsPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
@Resource protected FessConfig fessConfig; public List<SynonymItem> getSynonymList(final String dictId, final SynonymPager synonymPager) { return getSynonymFile(dictId).map(file -> { final int pageSize = synonymPager.getPageSize(); final PagingList<SynonymItem> synonymList = file.selectList((synonymPager.getCurrentPageNumber() - 1) * pageSize, pageSize); // update pager
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
getMap().inverse().values().remove(k0()); expectMissing(e0()); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testKeySetIteratorRemove() { int initialSize = getNumElements(); Iterator<K> iterator = getMap().keySet().iterator(); iterator.next(); iterator.remove(); assertEquals(initialSize - 1, getMap().size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java
} if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(lastmod, sitemapUrl.lastmod)) { return true; } return false; } @Override public int hashCode() { return loc.hashCode() + lastmod.hashCode(); } @Override public String toString() { return "SitemapFile [loc=" + loc + ", lastmod=" + lastmod + "]"; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.7K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
} @AfterEach void tearDown() throws Exception { this.validator = null; } private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) { assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals())); assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.8K bytes - Viewed (0)