Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 542 for wLimit (0.08 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         */
        int findMin(int index, int len) {
          if (index >= size) {
            return -1;
          }
          checkState(index > 0);
          int limit = min(index, size - len) + len;
          int minIndex = index;
          for (int i = index + 1; i < limit; i++) {
            if (compareElements(i, minIndex) < 0) {
              minIndex = i;
            }
          }
          return minIndex;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. 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)
  3. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. 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)
  5. helm-releases/minio-1.0.2.tgz

    .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for Minio service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail. echo "Connecting to Minio server: $SCHEME://$MINIO_E...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    In beiden FΓ€llen wird sie haben:
    
    * Einen optionalen `q`-Query-Parameter, der ein `str` ist.
    * Einen `skip`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `0`.
    * Einen `limit`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `100`.
    
    In beiden FΓ€llen werden die Daten konvertiert, validiert, im OpenAPI-Schema dokumentiert, usw.
    
    ## Verwendung
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top