Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 819 for limits (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/query-param-models.md

    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    如果客戶端嘗試在**查詢參數**中發送一些**額外的**資料,他們將會收到一個**錯誤**回應。
    
    例如,如果客戶端嘗試發送一個值為 `plumbus` 的 `tool` 查詢參數,如:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    他們將收到一個**錯誤**回應,告訴他們查詢參數 `tool` 是不允許的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:32:56 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. src/bytes/buffer_test.go

    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, byte(0), io.EOF)
    		}
    	}
    }
    
    func TestLargeStringWrites(t *testing.T) {
    	var buf Buffer
    	limit := 30
    	if testing.Short() {
    		limit = 9
    	}
    	for i := 3; i < limit; i += 3 {
    		s := fillString(t, "TestLargeWrites (1)", &buf, "", 5, testString)
    		empty(t, "TestLargeStringWrites (2)", &buf, s, make([]byte, len(testString)/i))
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                assertTrue(e.getMessage().contains("10 crawler processes are running"));
                assertTrue(e.getMessage().contains("Max processes are 5"));
            }
        }
    
        // Test execute method with no max process limit
        @Test
        public void test_execute_noMaxProcessLimit() {
            // Setup test
            crawlJob = new CrawlJob() {
                @Override
                protected int getRunningJobCount() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Explicitly specifies the types that should be used for dependency injection.
     * <p>
     * This annotation allows you to limit which types of a bean should be available
     * for injection. It can be used to prevent unintended automatic binding of implemented
     * interfaces or extended classes.
     * <p>
     * Example usage:
     * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/query-param-models.md

    Par exemple, si le client tente d'envoyer un paramètre de requête `tool` avec la valeur `plumbus`, comme :
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Il recevra une réponse d'erreur lui indiquant que le paramètre de requête `tool` n'est pas autorisé :
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/util/Hexdump.java

         *
         * @param val the integer value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(int val, final char dst[], final int dstIndex, int size) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

        chunkSizes = chunkSizes,
        failure = failure,
      )
    }
    
    internal fun decodeRequestLine(requestLine: String?): RequestLine {
      val parts =
        when {
          requestLine != null -> requestLine.split(' ', limit = 3)
          else -> return DEFAULT_REQUEST_LINE_HTTP_1
        }
    
      if (parts.size != 3) {
        throw ProtocolException("unexpected request line: $requestLine")
      }
    
      return RequestLine(
        method = parts[0],
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/query-param-models.md

    Wenn der Client beispielsweise versucht, einen `tool` Query-Parameter mit dem Wert `plumbus` zu senden, wie:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    erhält er eine **Error-Response**, die ihm mitteilt, dass der Query-Parameter `tool` nicht erlaubt ist:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/query-param-models.md

    For example, if the client tries to send a `tool` query parameter with a value of `plumbus`, like:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    They will receive an **error** response telling them that the query parameter `tool` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                assertNull(leaseManager.getLease(key2));
            }
        }
    
        @Test
        @DisplayName("Should evict oldest leases when max limit reached")
        void testMaxLeaseEviction() throws InterruptedException {
            // Create a context with low max lease limit
            Configuration limitedConfig = mock(Configuration.class);
            CIFSContext limitedContext = mock(CIFSContext.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top