Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 166 for CLOSED (0.04 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
      override fun onClosed(eventSource: EventSource) {
        get().log("[ES] onClosed", Platform.INFO, null)
        events.add(Closed)
        drainCancelQueue(eventSource)
      }
    
      override fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
        get().log("[ES] onFailure", Platform.INFO, t)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        private TestCloseable(@Nullable Throwable throwOnClose) {
          this.throwOnClose = throwOnClose;
        }
    
        boolean isClosed() {
          return closed;
        }
    
        @Override
        public void close() throws IOException {
          closed = true;
          if (throwOnClose != null) {
            throwIfInstanceOf(throwOnClose, IOException.class);
            throwIfUnchecked(throwOnClose);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED));
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
        return getSubMultiset(
            elementSet.tailIndex(lowerBound, checkNotNull(boundType) == CLOSED), length);
      }
    
      ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        private TestCloseable(@Nullable Throwable throwOnClose) {
          this.throwOnClose = throwOnClose;
        }
    
        boolean isClosed() {
          return closed;
        }
    
        @Override
        public void close() throws IOException {
          closed = true;
          if (throwOnClose != null) {
            throwIfInstanceOf(throwOnClose, IOException.class);
            throwIfUnchecked(throwOnClose);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSink.java

    import java.util.stream.Stream;
    
    /**
     * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a
     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        /**
         * Do not instantiate.
         */
        protected PropertiesUtil() {
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param in the input stream (must not be {@literal null})
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

       *  * 8 bytes: *n*: upstream data size
       *  * 8 bytes: *m*: metadata size
       *  * *n* bytes: upstream data
       *  * *m* bytes: metadata
       *
       * This is closed and assigned to null when the last source is closed and no further sources
       * are permitted.
       */
      var file: RandomAccessFile?,
      /**
       * Null once the file has a complete copy of the upstream bytes. Only the [upstreamReader] thread
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        BoundType typeAsLowerBound() {
          return BoundType.CLOSED;
        }
    
        @Override
        BoundType typeAsUpperBound() {
          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          return (lowerEndpoint.compareTo(upperEndpoint) <= 0)
              ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain)
              : new EmptyContiguousSet<C>(domain);
        }
      }
    
      @Override
      public Range<C> range() {
        return range(CLOSED, CLOSED);
      }
    
      @Override
      public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top