- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,221 for closes (0.08 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(writer.closed()); source.copyTo(writer); assertFalse(writer.closed()); } public void testClosesOnErrors_copyingToCharSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { TestCharSource okSource = new TestCharSource(STRING); assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt
BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath)) } @VisibleForTesting fun emptyCaches() = sources.close() override fun close() = emptyCaches() fun isOverride(method: JApiMethod): Boolean = apiSourceFileFor(method).let { apiSourceFile -> when (apiSourceFile) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.8K bytes - Viewed (0) -
src/Make.dist
# license that can be found in the LICENSE file. # Run go tool dist to install a command. # The -v causes dist to print the name of each directory as it runs. # The -vv causes dist to print each build command as it runs. # go tool dist clean cleans all directories, not just this one, # but it's as close as we can get. # Default target (first). install: go tool dist install -v verbose: go tool dist install -vv
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Feb 08 20:26:47 UTC 2012 - 553 bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Mock parent close() to do nothing - explicitly mock the super.close() behavior // The close method calls super.close(), then handle.close(), then pipe.close() lenient().doNothing().when((DcerpcHandle) handle).close(); // Setup close to call real method which will then call our mocked components doCallRealMethod().when(handle).close(); handle.close();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
* * @return the handle */ protected SmbPipeHandleImpl getHandle() { return this.handle; } @Override public void close() { // ignore, the shared file descriptor is closed by the pipe handle }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
this.eventQueue = new ArrayBlockingQueue<>(queueSize); this.closed = new AtomicBoolean(false); this.updater = new Thread(this::feedConsumer, "simplex-transfer-listener"); updater.setDaemon(true); updater.start(); } @Override public void close() { if (closed.compareAndSet(false, true)) { updater.interrupt(); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0) -
tests/test_datastructures.py
assert response.status_code == 200, response.text assert response.json() == {"filename": "test.txt"} assert testing_file_store assert testing_file_store[0].file.closed # For UploadFile coverage, segments copied from Starlette tests @pytest.mark.anyio async def test_upload_file(): stream = io.BytesIO(b"data") file = UploadFile(filename="file", file=stream, size=4)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
internal/http/server.go
// shutdown in progress return http.ErrServerClosed } // Close underneath HTTP listener. srv.listenerMutex.Lock() err := srv.listener.Close() srv.listenerMutex.Unlock() if err != nil { return err } // Wait for opened connection to be closed up to Shutdown timeout. return nil } // UseIdleTimeout configure idle connection timeout
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* CharStreams} method returns a singleton writer whose {@code close} method has no effect, while * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the * instance is {@link Writer#close() closed}. * * @since 15.0 */ public static Writer nullWriter() { return NullWriter.INSTANCE; } private static final class NullWriter extends Writer {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0)