- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,261 for closer (0.04 seconds)
-
internal/deadlineconn/deadlineconn.go
c.infWrites.Store(t.IsZero()) c.writeSetAt = time.Time{} return c.Conn.SetWriteDeadline(t) } // Close wraps conn.Close and stops sending deadline updates. func (c *DeadlineConn) Close() error { c.abortReads.Store(true) c.abortWrites.Store(true) return c.Conn.Close() } // WithReadDeadline sets a new read side net.Conn deadline.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
val delegate = delegate if (delegate != null) { this.delegate = null delegate.onClosed(webSocket, code, reason) } else { events.add(Closed(code, reason)) } } override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) { Platform.get().log("[WS $name] onFailure", Platform.INFO, t)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/SmbTree.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @Test @DisplayName("close does nothing and does not touch handle") void close_doesNothing() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); // constructor already calls handle.getPipe(); clear interactions to focus on close() clearInvocations(handle); // Act out.close(); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
return true; } return false; } }, isParallel) .onClose(streamA::close) .onClose(streamB::close); } /** * Invokes {@code consumer} once for each pair of <i>corresponding</i> elements in {@code streamA}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
src/main/java/jcifs/EmptyIterator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
} // Test that close method exists (inherited) @Test public void test_closeMethodExists() { // Test that close method is available (inherited from parent) try { // Just verify the method exists, don't actually call it crawlerEngineClient.getClass().getMethod("close"); assertTrue(true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
} @Override public String toString() { return comparator + ":" + (lowerBoundType == CLOSED ? '[' : '(') + (hasLowerBound ? lowerEndpoint : "-\u221e") + ',' + (hasUpperBound ? upperEndpoint : "\u221e") + (upperBoundType == CLOSED ? ']' : ')'); } @Nullable T getLowerEndpoint() { return lowerEndpoint; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
} /** * Test that close can be called multiple times safely. */ @Test public void test_multipleCloseCallsSafe() throws Exception { RankFusionProcessor processor = new RankFusionProcessor(); processor.setSearcher(new TestSearcher(100)); processor.init(); // First close processor.close(); // Second close - should not throw exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
protected SmbResource adapt(FileEntry e) { return mockResource1; } }; // When iterator.close(); // Then verify(mockDelegate).close(); } /** * Test close method propagates exception. */ @Test void testCloseWithException() throws CIFSException { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0)