Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,521 for cases (0.03 sec)

  1. docs/changelogs/changelog_4x.md

            .build()
        ```
    
     *  New: Add `cacheHit`, `cacheMiss`, and `cacheConditionalHit()` events to `EventListener`. Use
        these in logs, metrics, and even test cases to confirm your cache headers are configured as
        expected.
    
     *  New: Constant string `okhttp3.VERSION`. This is a string like "4.5.0-RC1", "4.5.0", or
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Closer.java

      public static Closer create() {
        return new Closer(SUPPRESSING_SUPPRESSOR);
      }
    
      @VisibleForTesting final Suppressor suppressor;
    
      // only need space for 2 elements in most cases, so try to use the smallest array possible
      private final Deque<Closeable> stack = new ArrayDeque<>(4);
      @CheckForNull private Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            url = "http://hoge//a/.././//index.html";
            assertEquals("http://hoge/index.html", htmlTransformer.normalizeUrl(url));
    
            // invalid cases
            url = "http://hoge/index.html;jsessionid";
            assertEquals("http://hoge/index.html;jsessionid", htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html;jsessionid?a=1#HOGE";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    /// info
    
    This requires installing `ujson` for example with `pip install ujson`.
    
    ///
    
    /// warning
    
    `ujson` is less careful than Python's built-in implementation in how it handles some edge-cases.
    
    ///
    
    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial001.py!}
    ```
    
    /// tip
    
    It's possible that `ORJSONResponse` might be a faster alternative.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

       * #sizeIfKnown}, returning true if it's known to be zero and false if it's known to be non-zero.
       * If the size is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code sizeIfKnown} returns zero, it is <i>possible</i> that bytes
       * are actually available for reading. (For example, some special files may return a size of 0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     *
     *   public void onFailure(Call call, IOException e) {
     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
     * These examples will not work if you're consuming the response body on another thread. In such
     * cases the consuming thread must call [close] when it has finished reading the response
     * body.
     *
     * ### The response body can be consumed only once.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/QueuesTest.java

            new LinkedBlockingDeque<Object>(10),
            new PriorityBlockingQueue<Object>(10, Ordering.arbitrary()));
      }
    
      /*
       * We need to perform operations in a thread pool, even for simple cases, because the queue might
       * be a SynchronousQueue.
       */
      private ExecutorService threadPool;
    
      @Override
      public void setUp() {
        threadPool = newCachedThreadPool();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
            // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after deriving another step");
    
            case WILL_CREATE_VALUE_AND_CLOSER:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after calling finishToValueAndCloser()");
    
            case WILL_CLOSE:
            case CLOSING:
            case CLOSED:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top