- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,941 for get2 (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
// next map.get() when(backingMap.get(KEY)).thenReturn(existingZero); // since get returned zero, try a replace; that fails due to a simulated race when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing); // another map.get()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
cmd/signature-v4.go
if !defaultSigParams.Contains(k) { query[k] = v } } // Get the encoded query. encodedQuery := query.Encode() // Verify if date query is same. if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) { return ErrSignatureDoesNotMatch } // Verify if expires query is same. if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) { return ErrSignatureDoesNotMatch }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java
result.setDisplayName(DfTypeUtil.toString(source.get("displayName"))); result.setEmployeeNumber(DfTypeUtil.toString(source.get("employeeNumber"))); result.setEmployeeType(DfTypeUtil.toString(source.get("employeeType"))); result.setFacsimileTelephoneNumber(DfTypeUtil.toString(source.get("facsimileTelephoneNumber")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
crawlerStatsHelper.record(key, "aaa"); crawlerStatsHelper.discard(key); logger.info(localLogMsg.get()); assertNull(localLogMsg.get()); crawlerStatsHelper.done(key); logger.info(localLogMsg.get()); assertNull(localLogMsg.get()); localLogMsg.remove(); } public void test_beginWithRecordOnDestroy() { String key = "test";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an.py
return client def test_users_token_jessica(client: TestClient): response = client.get("/users?token=jessica") assert response.status_code == 200 assert response.json() == [{"username": "Rick"}, {"username": "Morty"}] def test_users_with_no_token(client: TestClient): response = client.get("/users") assert response.status_code == 422 assert response.json() == IsDict( {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
app = FastAPI() @app.get("/int/{param:int}") def int_convertor(param: int = Path()): return {"int": param} @app.get("/float/{param:float}") def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param} @app.get("/query/") def query_convertor(param: str = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
client = get_client() response = client.get("/openapi.json") assert response.status_code == 404, response.text response = client.get("/docs") assert response.status_code == 404, response.text response = client.get("/redoc") assert response.status_code == 404, response.text @needs_pydanticv2 def test_root(): client = get_client() response = client.get("/") assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.8K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
inappropriate. * New: `HttpUrl.get(String)` is an alternative to `HttpUrl.parse(String)` that throws an exception when the URL is malformed instead of returning null. Use this to avoid checking for null in situations where the input is known to be well-formed. We've also added `MediaType.get(String)` which is an exception-throwing alternative to `MediaType.parse(String)`.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
20); assertEquals(4, itemList2.size()); assertEquals("token4", itemList2.get(3).getToken()); assertEquals("seg4", itemList2.get(3).getSegmentation()); assertEquals("reading4", itemList2.get(3).getReading()); assertEquals("pos4", itemList2.get(3).getPos()); final KuromojiItem kuromojiItem2 = new KuromojiItem(0, "token5",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/test_query.py
def test_query_optional(): response = client.get("/query/optional") assert response.status_code == 200 assert response.json() == "foo bar" def test_query_optional_query_baz(): response = client.get("/query/optional?query=baz") assert response.status_code == 200 assert response.json() == "foo bar baz" def test_query_optional_not_declared_baz(): response = client.get("/query/optional?not_declared=baz")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 11.4K bytes - Viewed (0)