Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 279 for CLOSED (0.05 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

              }
            }
          }
    
          assertThat(call.canceled).isTrue()
          assertThat(call.responseClosed).isTrue()
        }
      }
    
      /** A call that keeps track of whether its response body is closed. */
      private class ClosableCall : FailingCall() {
        private val response =
          Response
            .Builder()
            .request(Request("https://example.com/".toHttpUrl()))
            .protocol(Protocol.HTTP_1_1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

                    for (i in 0..9) {
                      sink.writeByte(0)
                      sink.flush()
                      sleep(100)
                    }
                    fail("Expected connection to be closed")
                  }
                },
              ).build(),
          )
        interruptLater(500)
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ReaderUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads text from the given {@link Reader}.
         * <p>
         * The {@link Reader} is not closed by this method.
         * </p>
         *
         * @param reader
         *            the character input stream to read from (must not be {@literal null})
         * @return the text read from the reader
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        scheduleCloser()
      }
    
      /**
       * Notify this pool that [connection] has become idle. Returns true if the connection has been
       * removed from the pool and should be closed.
       */
      fun connectionBecameIdle(connection: RealConnection): Boolean {
        connection.assertLockHeld()
    
        return if (connection.noNewExchanges || maxIdleConnections == 0) {
          connection.noNewExchanges = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DosError.java

                "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
                "Cannot create a file when that file already exists.", "All pipe instances are busy.", "The pipe is being closed.",
                "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DosError.java

                "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
                "Cannot create a file when that file already exists.", "All pipe instances are busy.", "The pipe is being closed.",
                "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. cmd/untar.go

    	mu sync.Mutex
    }
    
    func (d *disconnectReader) Read(p []byte) (n int, err error) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.r != nil {
    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  8. cmd/data-usage.go

    	backgroundHealInfoPath = bucketMetaPrefix + SlashSeparator + ".background-heal.json"
    
    	dataUsageCacheName = ".usage-cache.bin"
    )
    
    // storeDataUsageInBackend will store all objects sent on the dui channel until closed.
    func storeDataUsageInBackend(ctx context.Context, objAPI ObjectLayer, dui <-chan DataUsageInfo) {
    	attempts := 1
    	for dataUsageInfo := range dui {
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed
        }
    
        @Test
        void testClose_AlreadyClosed() throws IOException {
            // Test case: close() when already closed, should do nothing
            String server = "testServer";
            int access = 123;
    
            // Setup for successful constructor
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top