Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 166 for CLOSED (0.3 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

      fun request(): Request
    
      /**
       * Immediately and violently release resources held by this event source. This does nothing if
       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

                // Before blocking, confirm that the stream we're writing is still open. It's possible
                // that the stream has since been closed (such as if this write timed out.)
                if (!streams.containsKey(streamId)) {
                  throw IOException("stream closed")
                }
                wait() // Wait until we receive a WINDOW_UPDATE.
              }
            } catch (e: InterruptedException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeSet.java

     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
     * rangeSet.add(Range.closed(1, 10)); // {[1, 10]}
     * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)}
     * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    @NullUnmarked
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
      @Param({"10", "100", "1000", "10000", "100000"})
      int datasetSize;
    
      @Param QuantilesAlgorithm algorithm;
    
      private final double[][] datasets = new double[0x100][];
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      }
    
      private companion object {
        /**
         * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response
         * isn't transmitted because the connection is closed before this response is returned.
         */
        private val DEAD_LETTER = MockResponse(code = HTTP_UNAVAILABLE)
    
        private val logger = Logger.getLogger(QueueDispatcher::class.java.name)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/InputStreamUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param is the input stream (must not be {@literal null})
         * @return the byte array
         */
        public static final byte[] getBytes(final InputStream is) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                      multiset = multiset.tailMultiset(firstInclusive, BoundType.CLOSED);
                    } else if (from == Bound.EXCLUSIVE) {
                      multiset = multiset.tailMultiset(firstExclusive, BoundType.OPEN);
                    }
    
                    if (to == Bound.INCLUSIVE) {
                      multiset = multiset.headMultiset(lastInclusive, BoundType.CLOSED);
                    } else if (to == Bound.EXCLUSIVE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeSet.java

                positiveRangesByUpperBound
                    .tailMap(
                        complementLowerBoundWindow.lowerEndpoint(),
                        complementLowerBoundWindow.lowerBoundType() == BoundType.CLOSED)
                    .values();
          } else {
            positiveRanges = positiveRangesByUpperBound.values();
          }
          PeekingIterator<Range<C>> positiveItr = Iterators.peekingIterator(positiveRanges.iterator());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A readable source of bytes, such as a file. Unlike an {@link InputStream}, a {@code ByteSource}
     * is not an open, stateful stream for input that can be read and closed. Instead, it is an
     * immutable <i>supplier</i> of {@code InputStream} instances.
     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * client.connectionPool().evictAll();
     * ```
     *
     * If your client has a cache, call [close()][Cache.close]. Note that it is an error to create calls
     * against a cache that is closed, and doing so will cause the call to crash.
     *
     * ```java
     * client.cache().close();
     * ```
     *
     * OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they
     * remain idle.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top