Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 927 for limitTo (0.08 sec)

  1. docs/recipes.md

            String content;
          }
        ```
    
    ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava])
    
    To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
              "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes",
            )
          }
    
          val responseBytes = body.source().readByteString()
    
          return DnsRecordCodec.decodeAnswers(hostname, responseBytes)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * <pre>{@code
     * class CrawlingService extends AbstractScheduledService {
     *   private Set<Uri> visited;
     *   private Queue<Uri> toCrawl;
     *   protected void startUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * Tasks execute with the same happens-before order that the function calls to {@link #submit} and
     * {@link #submitAsync} that submitted those tasks had.
     *
     * <p>This class has limited support for cancellation and other "early completions":
     *
     * <ul>
     *   <li>While calls to {@code submit} and {@code submitAsync} return a {@code Future} that can be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    // callers to indicate if they want to disable md5sum checksum.
    func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) {
    	// return hard limited reader
    	return newReader(ctx, src, opts.Size, opts.MD5Hex, opts.SHA256Hex, opts.ActualSize, opts.DisableMD5, opts.ForceMD5)
    }
    
    // NewReader returns a new Reader that wraps src and computes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/dependencies/index.md

    πŸ‘† πŸ’ͺ πŸ’­ ⚫️ *➑ πŸ› οΈ πŸ”’* 🍡 "πŸ‘¨β€πŸŽ¨" (🍡 `@app.get("/some-path")`).
    
    &amp; ⚫️ πŸ’ͺ πŸ“¨ πŸ•³ πŸ‘† πŸ’š.
    
    πŸ‘‰ πŸ’Ό, πŸ‘‰ πŸ”— βŒ›:
    
    * πŸ“¦ πŸ”’ πŸ”’ `q` πŸ‘ˆ `str`.
    * πŸ“¦ πŸ”’ πŸ”’ `skip` πŸ‘ˆ `int`, &amp; πŸ”’ `0`.
    * πŸ“¦ πŸ”’ πŸ”’ `limit` πŸ‘ˆ `int`, &amp; πŸ”’ `100`.
    
    &amp; ‴️ ⚫️ πŸ“¨ `dict` βš— πŸ“š πŸ’².
    
    ### πŸ—„ `Depends`
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; πŸ”›
    
    ```Python hl_lines="3"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("enclosed object too large")
        }
      }
    
      /** Object identifiers are nominally self-delimiting. Outrun the limit with one. */
      @Test fun `variable length long outruns limit`() {
        val bytes = "060229ffffff7f".decodeHex()
        assertFailsWith<ProtocolException> {
          Adapters.OBJECT_IDENTIFIER.fromDer(bytes)
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    		objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    		if err != nil {
    			return err
    		}
    
    		// Calculate a hash of the key for the id of the ES document.
    		// Id's are limited to 512 bytes in V7+, so we need to do this.
    		var keyHash string
    		{
    			key := eventData.S3.Bucket.Name + "/" + objectName
    			if target.client.isAtleastV7() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    이 λ§€κ°œλ³€μˆ˜λ“€μ€ **FastAPI**κ°€ μ˜μ‘΄μ„±μ„ "ν•΄κ²°"ν•˜κΈ° μœ„ν•΄ μ‚¬μš©ν•  κ²ƒμž…λ‹ˆλ‹€
    
    ν•¨μˆ˜μ™€ 클래슀 두 가지 방식 λͺ¨λ‘, μ•„λž˜ μš”μ†Œλ₯Ό κ°–μŠ΅λ‹ˆλ‹€:
    
    * `λ¬Έμžμ—΄`μ΄λ©΄μ„œ 선택사항인 쿼리 λ§€κ°œλ³€μˆ˜ `q`.
    * 기본값이 `0`μ΄λ©΄μ„œ `μ •μˆ˜ν˜•`인 쿼리 λ§€κ°œλ³€μˆ˜ `skip`
    * 기본값이 `100`μ΄λ©΄μ„œ `μ •μˆ˜ν˜•`인 쿼리 λ§€κ°œλ³€μˆ˜ `limit`
    
    두 가지 방식 λͺ¨λ‘, λ°μ΄ν„°λŠ” λ³€ν™˜, κ²€μ¦λ˜κ³  OpenAPI μŠ€ν‚€λ§ˆμ— λ¬Έμ„œν™”λ©λ‹ˆλ‹€.
    
    ## μ‚¬μš©ν•΄λ΄…μ‹œλ‹€!
    
    이제 μ•„λž˜μ˜ 클래슀λ₯Ό μ΄μš©ν•΄μ„œ μ˜μ‘΄μ„±μ„ μ •μ˜ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    //// tab | 파이썬 3.6 이상
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    In this case, this dependency expects:
    
    * An optional query parameter `q` that is a `str`.
    * An optional query parameter `skip` that is an `int`, and by default is `0`.
    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    /// info
    
    FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top