- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 3,848 for wget (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/CountTest.java
@GwtCompatible @ElementTypesAreNonnullByDefault public class CountTest extends TestCase { public void testGet() { assertEquals(20, new Count(20).get()); } public void testGetAndAdd() { Count holder = new Count(20); assertEquals(20, holder.get()); holder.add(1); assertEquals(21, holder.get()); } public void testAddAndGet() { Count holder = new Count(20); assertEquals(21, holder.addAndGet(1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
status: str title: str class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b(): pass # pragma: no cover
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
assertMapsEqual(expected, map); assertEquals(expected.get("a"), map.get("a")); assertEquals(expected.containsKey("a"), map.containsKey("a")); assertEquals(expected.get("b"), map.get("b")); assertEquals(expected.containsKey("b"), map.containsKey("b")); assertEquals(expected.get("c"), map.get("c")); assertEquals(expected.containsKey("c"), map.containsKey("c")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java
result.setEndTime(DfTypeUtil.toLong(source.get("endTime"))); result.setJobName(DfTypeUtil.toString(source.get("jobName"))); result.setJobStatus(DfTypeUtil.toString(source.get("jobStatus"))); result.setLastUpdated(DfTypeUtil.toLong(source.get("lastUpdated"))); result.setScriptData(DfTypeUtil.toString(source.get("scriptData")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsBadWordBhv.java
result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setSuggestWord(DfTypeUtil.toString(source.get("suggestWord"))); result.setTargetLabel(DfTypeUtil.toString(source.get("targetLabel"))); result.setTargetRole(DfTypeUtil.toString(source.get("targetRole")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/LongAddables.java
new Supplier<LongAddable>() { @Override public LongAddable get() { return new LongAdder(); } }; } catch (Throwable t) { // we really want to catch *everything* supplier = new Supplier<LongAddable>() { @Override public LongAddable get() { return new PureJavaLongAddable(); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 04 17:27:14 UTC 2022 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial001.py
from docs_src.custom_response.tutorial001 import app client = TestClient(app) def test_get_custom_response(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py
client = TestClient(app) def test_get(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1020 bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an_py39.py
@needs_py39 def test_no_token(client: TestClient): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" @needs_py39 def test_token(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
val String.barExt: String get() = "bar" var Int.bazarExt: String get() = "bar" set(value) = Unit """ private val existingSource = """ class ExistingClass { class ExistingNestedClass(foo: String) } val valTurnedIntoVar: String get() = "" typealias ExistingTypeAlias = String
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 27 13:51:10 UTC 2024 - 6.4K bytes - Viewed (0)