Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for close (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        if (compareAndUpdateState(OPEN, WILL_CLOSE)) {
          logger.get().log(FINER, "will close {0}", this);
          future.addListener(
              new Runnable() {
                @Override
                public void run() {
                  checkAndUpdateState(WILL_CLOSE, CLOSING);
                  close();
                  checkAndUpdateState(CLOSING, CLOSED);
                }
              },
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(response)
        val request = newRequest("/")
        val c1 = getResponse(request)
        assertContent("ABCDE", c1, 5)
        val c2 = getResponse(request)
        assertContent("ABCDE", c2, 5)
        c1.close()
        c2.close()
      }
    
      @Test
      fun connectionsArePooled() {
        val response =
          MockResponse(
            body = "ABCDEFGHIJKLMNOPQR",
          )
        server.enqueue(response)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        callback.await(server.url("/a")).assertFailure("Canceled", "Socket closed", "Socket is closed")
      }
    
      @Test
      fun cancelAll() {
        val call = client.newCall(Request(server.url("/")))
        call.enqueue(callback)
        client.dispatcher.cancelAll()
        callback.await(server.url("/")).assertFailure("Canceled", "Socket closed", "Socket is closed")
      }
    
      @Test
      fun cancelWhileRequestHeadersAreSent() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
                log.println( "close: " + f );
    
            /*
             * Close Request / Response
             */
    
            send( new SmbComClose( f, lastWriteTime ), blank_resp() );
        }
        void close( long lastWriteTime ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

            .method(requestMethod, requestBodyOrNull(requestMethod))
            .build()
        val response1 = client.newCall(request).execute()
        response1.body.close()
        assertThat(response1.header("X-Response-ID")).isEqualTo("1")
        val response2 = get(url)
        response2.body.close()
        if (expectCached) {
          assertThat(response2.header("X-Response-ID")).isEqualTo("1")
        } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.io.OutputStream, int) throws java.io.IOException; public static boolean contentEquals(java.io.InputStream, java.io.InputStream) throws java.io.IOException; public static void close(java.io.InputStream); public static void close(java.io.OutputStream); public static void close(java.io.Reader); public static void close(java.io.Writer); } org/codehaus/plexus/util/LineOrientedInterpol.class package org.codehaus.plexus.util; public synchronized class LineOrientedInterpol extends java.io.FilterReader...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		if err != nil {
    			bugLogIf(ctx, stream.AddError(err.Error()))
    			return
    		}
    		addErr = func(msg string) {
    			inspectZipW.Close()
    			encStream.Close()
    			stream.AddError(msg)
    		}
    		defer encStream.Close()
    
    		inspectZipW = zip.NewWriter(encStream)
    		defer inspectZipW.Close()
    	} else {
    		// Legacy: Remove if we stop supporting inspection without public key.
    		var key [32]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/ForwardingSink;-><init>(Lokio/Sink;)V
    HSPLokio/ForwardingSink;->close()V
    HSPLokio/ForwardingSink;->write(Lokio/Buffer;J)V
    HSPLokio/ForwardingSource;-><init>(Lokio/Source;)V
    HSPLokio/ForwardingSource;->close()V
    HSPLokio/GzipSource;-><init>(Lokio/Source;)V
    HSPLokio/GzipSource;->checkEqual(Ljava/lang/String;II)V
    HSPLokio/GzipSource;->close()V
    HSPLokio/GzipSource;->read(Lokio/Buffer;J)J
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    java.io.OutputStream, int) throws java.io.IOException; public static boolean contentEquals(java.io.InputStream, java.io.InputStream) throws java.io.IOException; public static void close(java.io.InputStream); public static void close(java.io.OutputStream); public static void close(java.io.Reader); public static void close(java.io.Writer); } org/codehaus/plexus/util/Os.class package org.codehaus.plexus.util; public synchronized class Os { private static final String OS_NAME; private static final String...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 160K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.io.OutputStream, int) throws java.io.IOException; public static boolean contentEquals(java.io.InputStream, java.io.InputStream) throws java.io.IOException; public static void close(java.io.InputStream); public static void close(java.io.OutputStream); public static void close(java.io.Reader); public static void close(java.io.Writer); } org/codehaus/plexus/util/LineOrientedInterpol.class package org.codehaus.plexus.util; public synchronized class LineOrientedInterpol extends java.io.FilterReader...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
Back to top