Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 323 for CLOSED (0.23 sec)

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

     * ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the
     * bound simply does not exist.
     *
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum BoundType {
      /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */
      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Sep 20 15:57:47 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  2. 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestStreamSupplier.java

     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
      /** Returns whether or not an open stream was closed. */
      boolean wasStreamClosed();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          readControlFrame()
        } else {
          readMessageFrame()
        }
      }
    
      @Throws(IOException::class, ProtocolException::class)
      private fun readHeader() {
        if (closed) throw IOException("closed")
    
        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. 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:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
        TestReader in = new TestReader();
        assertFalse(in.closed());
        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testWriteLines_withSpecificSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultisets.java

          return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return multiset().headMultiset(toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
          return multiset().tailMultiset(fromElement, CLOSED).elementSet();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  8. okhttp/src/main/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(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *
     *  * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web
     *    socket will continue to transmit already-enqueued messages but will refuse to enqueue new
     *    ones.
     *
     *  * **Closed:** the web socket has transmitted all of its messages and has received all messages
     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       * returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> singleton(C value) {
        return closed(value, value);
      }
    
      /**
       * Returns the minimal range that {@linkplain Range#contains(Comparable) contains} all of the
       * given values. The returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top