- Sort Score
- Result 10 results
- Languages All
Results 2781 - 2790 of 2,870 for getS (0.19 sec)
-
android/guava-tests/test/com/google/common/hash/HashingTest.java
countRemaps(r.nextLong(), map); } for (int shard = 2; shard <= MAX_SHARDS; shard++) { // Rough: don't exceed 1.2x the expected number of remaps by more than 20 assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20); } } private void countRemaps(long h, AtomicLongMap<Integer> map) { int last = 0; for (int shards = 2; shards <= MAX_SHARDS; shards++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
cmd/endpoint_test.go
} } } if err != nil && testCase.expectedErr == nil { t.Errorf("Test %d: error: expected = <nil>, got = %v, testCase: %v", i+1, err, testCase) } }) } } // Tests get local peer functionality, local peer is supposed to only return one entry per minio service. // So it means that if you have say localhost:9000 and localhost:9001 as endpointArgs then localhost:9001
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
tests/hooks_test.go
} p4 := Product{Code: "after_save_error", Price: 100} DB.Save(&p4) if err := DB.First(&Product{}, "code = ?", "after_save_error").Error; err == nil { t.Fatalf("Record should be reverted if get an error in after save callback") } p5 := Product{Code: "after_delete_error", Price: 100} DB.Save(&p5) if err := DB.First(&Product{}, "code = ?", "after_delete_error").Error; err != nil {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
src/bufio/scan_test.go
numSplits := 0 const okCount = 7 errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF { panic("didn't get enough data") } if numSplits >= okCount { return 0, nil, testError } numSplits++ return 1, data[0:1], nil } // Read the data. const text = "abcdefghijklmnopqrstuvwxyz"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
validate(form, messages -> {}, this::asDictIndexHtml); pageNumber.ifPresent(num -> { synonymPager.setCurrentPageNumber(pageNumber.get()); }).orElse(() -> { synonymPager.setCurrentPageNumber(0); }); return asHtml(path_AdminDictSynonym_AdminDictSynonymJsp).renderWith(data -> { searchPaging(data, form);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.7K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
*/ @Test fun proxySelectorNotCalledForNullHost() { // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation. // It is not okay in URI, and so it's stripped and we get a URI with a null host. val bogusHostname = ">" val address = factory.newAddress( uriHost = bogusHostname, uriPort = uriPort, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name = new Name(mockConfig); Field configField = Name.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(name)); } @Test void constructor_withAllParameters_shouldInitializeCorrectly() { Name name = new Name(mockConfig, "TestName", 0x20, "custom.scope"); assertEquals("TESTNAME", name.name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
docs/ru/docs/deployment/docker.md
* Создайте файл `main.py` и заполните его: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Dec 12 22:48:28 UTC 2024 - 57.6K bytes - Viewed (0) -
docs/ja/docs/async.md
次のような、`await` を使用して呼び出すべきサードパーティライブラリを使用している場合: ```Python results = await some_library() ``` 以下の様に `async def` を使用して*path operation 関数*を宣言します。 ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` /// note | 備考 `async def` を使用して作成された関数の内部でしか `await` は使用できません。 /// ---
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
// Make sure it returned a copy list.set(0, 4.0); assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0}); newArray[1] = 5.0; assertThat((double) list.get(1)).isEqualTo(1.0); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0, 3.0};Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0)