Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for CLOSED (0.15 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(set, Sets.subSet(set, Range.closed(0, 12)));
        assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.closed(0, 4)));
        assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.closed(2, 6)));
        assertEquals(ImmutableSortedSet.of(4, 6), Sets.subSet(set, Range.closed(3, 7)));
        assertEquals(empty, Sets.subSet(set, Range.closed(20, 30)));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. okhttp/src/main/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.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(map, Maps.subMap(map, Range.closed(0, 12)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.closed(0, 4)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0, 6, 0), Maps.subMap(map, Range.closed(2, 6)));
        assertEquals(ImmutableSortedMap.of(4, 0, 6, 0), Maps.subMap(map, Range.closed(3, 7)));
        assertEquals(empty, Maps.subMap(map, Range.closed(20, 30)));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(map, Maps.subMap(map, Range.closed(0, 12)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.closed(0, 4)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0, 6, 0), Maps.subMap(map, Range.closed(2, 6)));
        assertEquals(ImmutableSortedMap.of(4, 0, 6, 0), Maps.subMap(map, Range.closed(3, 7)));
        assertEquals(empty, Maps.subMap(map, Range.closed(20, 30)));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
            finally {
                this.socket.setSoTimeout(this.transportContext.getConfig().getSoTimeout());
            }
            int size = Encdec.dec_uint16be(this.sbuf, 2) & 0xFFFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

              range.lowerBoundType() == BoundType.CLOSED,
              range.upperEndpoint(),
              range.upperBoundType() == BoundType.CLOSED);
        } else if (range.hasLowerBound()) {
          return set.tailSet(range.lowerEndpoint(), range.lowerBoundType() == BoundType.CLOSED);
        } else if (range.hasUpperBound()) {
          return set.headSet(range.upperEndpoint(), range.upperBoundType() == BoundType.CLOSED);
        }
        return checkNotNull(set);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        val expected = if (windows) arrayOf("DIRTY k1") else arrayOf("DIRTY k1", "REMOVE k1")
        assertJournalEquals(*expected)
        editor.commit()
        assertJournalEquals(*expected) // 'REMOVE k1' not written because journal is closed.
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun journalDoesNotIncludeReadOfYetUnpublishedValue(parameters: Pair<FileSystem, Boolean>) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val out = stream.getSink().buffer()
        source.close()
        assertFailsWith<IOException> {
          source.read(Buffer(), 1)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream closed")
        }
        assertFailsWith<IOException> {
          out.writeUtf8("a")
          out.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream finished")
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top