Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Close (0.32 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(
          MockResponse(
            code = 408,
            headers = headersOf("Connection", "Close"),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        server.enqueue(
          MockResponse(
            code = 408,
            headers = headersOf("Connection", "Close"),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
    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)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public FluentFuture<V> finishToFuture() {
        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)
  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. 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)
  6. 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)
  7. 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)
  8. maven-core/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.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 Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/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 Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
Back to top