- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 263 for CLOSED (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
private val charset: Charset, ) : Reader() { private var closed: Boolean = false private var delegate: Reader? = null @Throws(IOException::class) override fun read( cbuf: CharArray, off: Int, len: Int, ): Int { if (closed) throw IOException("Stream closed") val finalDelegate = delegate ?: InputStreamReader(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED)); } @Override public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { return getSubMultiset( elementSet.tailIndex(lowerBound, checkNotNull(boundType) == CLOSED), length); } ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0) -
internal/rest/client.go
switch atomic.LoadInt32(&c.connected) { case closed: // client closed, this is usually a manual process // so return a local error as client is closed return nil, &NetworkError{Err: ErrClientClosed} case offline: // client offline, return last error captured. return nil, &NetworkError{Err: c.LastError()} } // client is still connected, attempt the request.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} private TestCloseable(@Nullable Throwable throwOnClose) { this.throwOnClose = throwOnClose; } boolean isClosed() { return closed; } @Override public void close() throws IOException { closed = true; if (throwOnClose != null) { throwIfInstanceOf(throwOnClose, IOException.class); throwIfUnchecked(throwOnClose);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
.build(), ) val exception = assertFailsWith<IOException> { call2.execute() } assertThat(exception.message).isIn("Socket closed", "Socket is closed") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java
*/ Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException; /** * Reads the metadata from the specified character reader. The reader will be automatically closed before the method * returns. * * @param input The reader to deserialize the metadata from, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java
*/ Settings read(File input, Map<String, ?> options) throws IOException, SettingsParseException; /** * Reads the settings from the specified character reader. The reader will be automatically closed before the method * returns. * * @param input The reader to deserialize the settings from, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java
*/ PersistedToolchains read(File input, Map<String, ?> options) throws IOException, ToolchainsParseException; /** * Reads the toolchains from the specified character reader. The reader will be automatically closed before the * method returns. * * @param input The reader to deserialize the toolchains from, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 3.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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyToAppendable_doesNotCloseIfWriter() throws IOException { TestWriter writer = new TestWriter(); assertFalse(writer.closed()); source.copyTo(writer); assertFalse(writer.closed()); } public void testClosesOnErrors_copyingToCharSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 11.5K bytes - Click Count (0)