- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,470 for chose (0.01 sec)
-
cmd/untar.go
// the upstream reader after close has been called. type disconnectReader struct { r io.Reader 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 = nilRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
android/guava/src/com/google/common/graph/Network.java
* * <ul> * <li>directed graphs * <li>undirected graphs * <li>graphs that do/don't allow parallel edges * <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * <li>graphs whose edges are <a * href="https://github.com/google/guava/wiki/GraphsExplained#uniqueness">unique</a> objects * </ul> * * <h3>Building a {@code Network}</h3> *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
@Deprecated public static <V extends @Nullable Object> FluentFuture<V> from(FluentFuture<V> future) { return checkNotNull(future); } /** * Returns a {@code Future} whose result is taken from this {@code Future} or, if this {@code * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/metacache-stream_test.go
w := newMetacacheWriter(&buf, 1<<20) defer w.Close() err := r.readFn(func(object metaCacheEntry) bool { err := w.write(object) if err != nil { t.Fatal(err) } return true }) r.Close() if err != io.EOF { t.Fatal(err) } err = w.Close() if err != nil { t.Fatal(err) } r = newMetacacheReader(&buf) defer r.Close() names, err := r.readNames(-1)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
// Test that multiple close() calls are all ignored byte[] data = "Test data".getBytes(); ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); // Multiple close calls should all be ignored stream.close(); stream.close(); stream.close();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
} // close() should close underlying handle with 0L when valid @Test @DisplayName("close() closes underlying handle when valid") void close_validHandle_invokesClose() throws Exception { when(handle.isValid()).thenReturn(true); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false); sut.close(); verify(handle, times(1)).close(0L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial008_py39.py
try: yield dep_a finally: dep_a.close() async def dependency_b(dep_a=Depends(dependency_a)): dep_b = generate_dep_b() try: yield dep_b finally: dep_b.close(dep_a) async def dependency_c(dep_b=Depends(dependency_b)): dep_c = generate_dep_c() try: yield dep_c finally:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 455 bytes - Viewed (0) -
src/test/java/jcifs/CloseableIteratorTest.java
@Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param policyHandle the policy handle to close */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0)