Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 502 for pos1 (0.02 sec)

  1. docs/uk/docs/tutorial/cors.md

    * Додайте його як "middleware" у Ваш додаток **FastAPI**.
    
    
    Також можна вказати, чи дозволяє Ваш бекенд:
    
    * Облікові дані (заголовки авторизації, сookies, тощо).
    * Конкретні HTTP-методи (`POST`, `PUT`) або всі за допомогою `"*"`
    * Конкретні HTTP-заголовки або всі за допомогою `"*"`.
    
    
    {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:34:34 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/SmbResourceTest.java

                // When
                OutputStream os1 = mockResource.openOutputStream();
                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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              val connectResult =
                try {
                  plan.connectTcp()
                } catch (e: Throwable) {
                  ConnectResult(plan, throwable = e)
                }
              // Only post a result if this hasn't since been canceled.
              if (plan in tcpConnectsInFlight) {
                connectResults.put(connectResult)
              }
              return -1L
            }
          },
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/auth-handler_test.go

    					Path:     SlashSeparator,
    					RawQuery: "X-Amz-Credential=EXAMPLEINVALIDEXAMPL%2Fs3%2F20160314%2Fus-east-1",
    				},
    			},
    			authT: authTypePresigned,
    		},
    		// Test case - 5
    		// Check for post policy.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top