Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 28 of 28 for IsClosed (0.06 seconds)

  1. okhttp/api/jvm/okhttp.api

    	public final fun directoryPath ()Lokio/Path;
    	public final fun evictAll ()V
    	public fun flush ()V
    	public final fun hitCount ()I
    	public final fun initialize ()V
    	public final fun isClosed ()Z
    	public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String;
    	public final fun maxSize ()J
    	public final fun networkCount ()I
    	public final fun requestCount ()I
    	public final fun size ()J
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_CCM, DialectVersion.SMB302, encKey, decKey, keyManager);
    
            assertFalse(context.isClosed());
    
            // When
            context.close();
    
            // Then
            assertTrue(context.isClosed());
    
            // Should be idempotent
            assertDoesNotThrow(() -> context.close());
    
            // Cleanup
            keyManager.close();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                        JsonParser jsonParser;
    
                        try {
                            jsonParser = jf.createParser(quoted);
                            while(jsonParser.isClosed() == false) {
                                jsonParser.nextToken();
                            }
                        } catch (JsonParseException e) {
                            throw new InvalidUserDataException("Invalid json in "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  4. okhttp/api/android/okhttp.api

    	public final fun directoryPath ()Lokio/Path;
    	public final fun evictAll ()V
    	public fun flush ()V
    	public final fun hitCount ()I
    	public final fun initialize ()V
    	public final fun isClosed ()Z
    	public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String;
    	public final fun maxSize ()J
    	public final fun networkCount ()I
    	public final fun requestCount ()I
    	public final fun size ()J
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, Int.MAX_VALUE.toLong(), taskRunner).also {
            toClose.add(it)
          }
        assertThat(cache.isClosed()).isFalse()
        cache.close()
        assertThat(cache.isClosed()).isTrue()
      }
    
      @Test
      fun journalWriteFailsDuringEdit() {
        set("a", "a", "a")
        set("b", "b", "b")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

        public boolean isDisconnected() {
            final Socket s = this.socket;
            return super.isDisconnected() || s == null || s.isClosed();
        }
    
        @Override
        public boolean isFailed() {
            final Socket s = this.socket;
            return super.isFailed() || s == null || s.isClosed();
        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      static void assertClosed(TestCloseable closeable1, TestCloseable... moreCloseables)
          throws IOException {
        for (TestCloseable closeable : asList(closeable1, moreCloseables)) {
          assertWithMessage("%s.isClosed()", closeable).that(closeable.awaitClosed()).isTrue();
        }
      }
    
      private ClosingFuture<Object> failedClosingFuture() {
        return ClosingFuture.from(immediateFailedFuture(exception));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      static void assertClosed(TestCloseable closeable1, TestCloseable... moreCloseables)
          throws IOException {
        for (TestCloseable closeable : asList(closeable1, moreCloseables)) {
          assertWithMessage("%s.isClosed()", closeable).that(closeable.awaitClosed()).isTrue();
        }
      }
    
      private ClosingFuture<Object> failedClosingFuture() {
        return ClosingFuture.from(immediateFailedFuture(exception));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top