- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 3,801 for getT (0.04 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
/** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */ val status: String val code: Int get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[1].toInt() } val message: String get() { val statusParts = status.split(' ', limit = 3)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
R invokerRequest = context.invokerRequest; Function<String, String> extensionSource = expression -> { String value = invokerRequest.userProperties().get(expression); if (value == null) { value = invokerRequest.systemProperties().get(expression); } return value; }; for (CoreExtensionEntry extension : extensions) { container.discoverComponents(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.6K bytes - Viewed (0) -
tests/test_response_change_status_code.py
async def parent_dep(result=Depends(response_status_setter)): return result @app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app) def test_dependency_set_status_code(): response = client.get("/") assert response.status_code == 201, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 589 bytes - Viewed (0) -
docs_src/dependencies/tutorial001_an.py
async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 502 bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.configure_swagger_ui.tutorial001 import app client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert ( '"syntaxHighlight": false' in response.text ), "syntaxHighlight should be included and converted to JSON" assert ( '"dom_id": "#swagger-ui"' in response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/joblog/log/{id} @Execute public JsonResponse<ApiResult> get$log(final String id) { return asJson(new ApiLogResponse().log(jobLogService.getJobLog(id).map(this::createEditBody).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 99), 100, dataset(i)).get(90); } return dummy; } @Benchmark double threePercentiles(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 95, 99), 100, dataset(i)).get(90); } return dummy; } @Benchmark double allDeciles(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 99), 100, dataset(i)).get(90); } return dummy; } @Benchmark double threePercentiles(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 95, 99), 100, dataset(i)).get(90); } return dummy; } @Benchmark double allDeciles(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
private final int size; private int position; /** Returns the element with the specified index. This method is called by {@link #next()}. */ @ParametricNullness protected abstract E get(int index); /** * Constructs an iterator across a sequence of the given size whose initial position is 0. That * is, the first call to {@link #next()} will return the first element (or throw {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new ToolchainsParseException(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0)