- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 934 for _clone (0.04 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertEquals("one", it.next().getName()); // consume initial // Next call should handle CIFSException and close iterator assertFalse(it.hasNext()); // After error, hasNext should return false // Assert verify(tree, times(1)).release(); } @Test @DisplayName("close() closes when there is a next element and releases handle") void explicitClose() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
} }, ).build() } } if ("close".equals(response.request.header("Connection"), ignoreCase = true) || "close".equals(response.header("Connection"), ignoreCase = true) ) { exchange.noNewExchangesOnConnection() }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
.isEqualTo("response D") requestBody.writeUtf8("request E\n") requestBody.flush() assertThat(responseBody.readUtf8Line()) .isEqualTo("response F") requestBody.close() assertThat(responseBody.readUtf8Line()).isNull() } body.awaitSuccess() } @Test fun trueDuplexServerWritesFirst() { enableProtocol(Protocol.HTTP_2) val body =
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbTree.java
Created: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
* ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation * of the execution plan instead, which seems much nicer. * </p> * <p> * Additionally this class contains a clone of the MavenSession, which is *only* needed * because it has as notion of a "current" project. * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
for (PluginExecution element : src) { Object key = getPluginExecutionKey(element); merged.put(key, element.clone()); } for (PluginExecution element : tgt) { Object key = getPluginExecutionKey(element); PluginExecution existing = merged.get(key);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (0) -
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
* should also handle resource cleanup when the {@link #close()} method is called.</p> */ public interface DocumentReader extends Closeable { /** * Reads a document and returns its contents as a map. * * @return a map containing the document's data, or null if there are no more documents to read. */ Map<String, Object> read(); @Override void close();Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.4K bytes - Click Count (0)