- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,053 for IOException (0.07 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashSet; import java.util.Set; import java.util.List; import java.util.stream.Stream;
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
public void test_parseJwtClaim_floatValue() throws IOException { final String jwtClaim = "{\"score\":95.5}"; final Map<String, Object> attributes = new HashMap<>(); authenticator.parseJwtClaim(jwtClaim, attributes); assertEquals(95.5, attributes.get("score")); } @Test public void test_parseJwtClaim_emptyObject() throws IOException { final String jwtClaim = "{}";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
ensureInitialized(); return new DisniMemoryRegion(buffer, access, endpoint); } /** * Initialize DiSNI components if not already initialized * * @throws IOException if initialization fails */ private void ensureInitialized() throws IOException { if (!initialized) { try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
} } @Benchmark public Set<String> availableIndexFolderNaive() throws IOException { return nodeEnv.availableIndexFoldersForPath(nodePath); } @Benchmark public Set<String> availableIndexFolderOptimized() throws IOException { return nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
assertThat(response.peekTrailers()).isNull() assertFailsWith<IOException> { source.readUtf8() } try { assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does. } catch (_: IOException) { // Also okay. This is what HTTP/2 does. } assertFailsWith<IOException> { response.trailers() } } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun isClosed(): Boolean = delegate!!.isClosed @Throws(IOException::class) override fun bind(localAddr: SocketAddress) { delegate!!.bind(localAddr) } @Throws(IOException::class) override fun connect(remoteAddr: SocketAddress) { delegate!!.connect(remoteAddr) } @Throws(IOException::class) override fun connect( remoteAddr: SocketAddress, timeout: Int,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
return; } try { closeable.close(); } catch (final IOException e) { logger.log(format("ECL0017", e.getMessage()), e); } } /** * Closes a {@link Closeable} quietly, suppressing any {@link IOException}. * * @param closeable the closeable object */ public static void closeQuietly(final Closeable closeable) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
InputStream lin = ByteStreams.limit(bin, 2); IOException expected = assertThrows(IOException.class, lin::reset); assertThat(expected).hasMessageThat().isEqualTo("Mark not set"); } public void testLimit_markNotSupported() { InputStream lin = ByteStreams.limit(new UnmarkableInputStream(), 2); IOException expected = assertThrows(IOException.class, lin::reset);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
} public void testMethodsThrowWhenClosed() throws IOException { CharSequenceReader reader = new CharSequenceReader(""); reader.close(); assertThrows(IOException.class, reader::read); assertThrows(IOException.class, () -> reader.read(new char[10])); assertThrows(IOException.class, () -> reader.read(new char[10], 0, 10)); assertThrows(IOException.class, () -> reader.read(CharBuffer.allocate(10)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0)