- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,142 for _close (0.28 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* This method returns true if the message was enqueued. Messages that would overflow the outgoing * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket. * This method returns false in that case, and in any other case where this web socket is closing, * closed, or canceled. * * This method returns immediately. */ fun send(text: String): Boolean /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
.github/workflows/stale-pr.yml
It will be closed in 14 days if no further activity occurs. If you don't want the stale bot to close it, then set a milestone for it. days-before-pr-close: 14 close-pr-message: >Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Sep 04 22:13:29 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
writer.write("Hi"); writer.close(); assertThrows(IOException.class, () -> writer.write(" Greg")); assertThrows(IOException.class, () -> writer.flush()); // close()ing already closed writer is allowed writer.close(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.3K bytes - Viewed (0) -
internal/hash/checker.go
} if errors.Is(err, io.EOF) { got := c.h.Sum(nil) if !bytes.Equal(got, c.want) { return n, ErrInvalidChecksum } return n, err } return n, err } // Close satisfies io.Closer func (c Checker) Close() error { err := c.c.Close() if err == nil { got := c.h.Sum(nil) if !bytes.Equal(got, c.want) { return ErrInvalidChecksum } } return err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
failingFactory.destroyObject(pooledObject); fail("Should throw exception from close()"); } catch (Exception e) { // Expected - exception should propagate from close() assertTrue(e.getMessage().contains("Intentional close failure")); } // Verify close was attempted assertTrue(component.isCloseCalled()); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/archive/zip/writer.go
w.comment = comment return nil } // Close finishes writing the zip file by writing the central directory. // It does not close the underlying writer. func (w *Writer) Close() error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { return err } w.last = nil } if w.closed { return errors.New("zip: writer closed twice") } w.closed = true // write central directoryRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
DialectVersion.SMB302, testEncryptionKey, testDecryptionKey); // When/Then - Multiple close calls should not throw assertDoesNotThrow(() -> { closeableContext.close(); closeableContext.close(); // Second call closeableContext.close(); // Third call }); } @Test @DisplayName("Should maintain key isolation between instances")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isNullOrEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) else -> this.clone().asList().unmodifiable() } /** Closes this, ignoring any checked exceptions. */ internal fun Socket.closeQuietly() { try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/test/java/jcifs/EmptyIteratorTest.java
} } @Test @DisplayName("EmptyIterator should handle close operations multiple times") void testMultipleCloseOperations() { // When & Then assertDoesNotThrow(() -> { try { emptyIterator.close(); emptyIterator.close(); emptyIterator.close(); } catch (CIFSException e) { throw new RuntimeException(e);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)