- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 448 for pos2 (0.02 sec)
-
docs/pt/docs/tutorial/response-model.md
Você pode usar o parâmetro `response_model` em qualquer uma das *operações de rota*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *} /// note | Nota Observe que `response_model` é um parâmetro do método "decorator" (`get`, `post`, etc). Não da sua *função de operação de rota*, como todos os parâmetros e corpo. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:51:05 UTC 2024 - 16.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
} // POST /api/admin/elevateword/setting /** * Creates a new elevate word setting. * Also adds the elevate word to the suggest helper for search enhancement. * * @param body elevate word setting data to create * @return JSON response with created setting ID and status */ @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java
requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).post("/api/admin/fileconfig/setting") .then() .body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getFileConfigId() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Test various positions int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 }; for (int pos : positions) { int padding = (int) pad8Method.invoke(req, pos); // Verify padding makes position 8-byte aligned assertEquals(0, (pos + padding) % 8); } } @Test @DisplayName("Should write bytes at different buffer offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
byte[] value = new byte[random.nextInt(128)]; random.nextBytes(value); int pos = random.nextInt(value.length + 1); int limit = pos + random.nextInt(value.length - pos + 1); for (PrimitiveSink sink : sinks) { ByteBuffer buffer = ByteBuffer.wrap(value); Java8Compatibility.position(buffer, pos); Java8Compatibility.limit(buffer, limit); sink.putBytes(buffer);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
val e = assertFailsWith<IllegalArgumentException> { Request .Builder() .url(server.url("/")) .header("Connection", "upgrade") .post("Hello".toRequestBody()) .build() } assertThat(e).hasMessage("expected a null request body with 'Connection: upgrade'") } private fun enableTls(vararg protocols: Protocol) { client =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
OutputStream os2 = mockResource.openOutputStream(true); OutputStream os3 = mockResource.openOutputStream(false, 1); OutputStream os4 = mockResource.openOutputStream(true, 1, 2, 3); // Then assertNotNull(os1, "Default output stream should not be null"); assertNotNull(os2, "Output stream with append should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java
requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).post("/api/admin/webconfig/setting") .then() .body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getWebConfigId() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
MEDIA_TYPE_PNG); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build(); Response response = client.newCall(request).execute(); if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
labelBody.put("name", TEST_LABEL); labelBody.put("value", TEST_LABEL); labelBody.put("included_paths", ".*tools.*"); Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0)