- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,053 for IOException (0.34 seconds)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
* @param access the desired access rights * @param rid the relative identifier of the alias * @throws IOException if an I/O error occurs during handle creation */ public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid) throws IOException { this.handle = handle;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} private static void run(String... cmd) throws IOException, InterruptedException, ExecutionException { ExecResult r = exec(cmd); if (r.exitCode() != 0) { throw new AssertionError(String.join(" ", cmd) + " failed: " + r); } } private static String stdout(String... cmd) throws IOException, InterruptedException, ExecutionException { ExecResult r = exec(cmd);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// Should throw IOException when file doesn't exist try { cache.close(); fail("Expected IOException for non-existent file"); } catch (IOException e) { // Expected - file doesn't exist } } @Test public void testMemoryCacheWithBinaryData() throws IOException { // Test with binary data containing all byte valuesCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
* @param access the desired access rights * @param sid the security identifier of the domain * @throws IOException if an I/O error occurs during handle creation */ public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid) throws IOException { this.handle = handle;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
@Test void constructor_shouldThrowIOExceptionOnSendRecvFailure() throws IOException { // Arrange String server = "testServer"; int access = 123; doThrow(new IOException("Network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act & Assert IOException thrown = assertThrows(IOException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
throw new IllegalStateException(e); } } @Override public float readFloat() { try { return input.readFloat(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public double readDouble() { try { return input.readDouble(); } catch (IOException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
} public void testGetClassPathFromManifest_noClassPath() throws IOException { File jarFile = new File("base.jar"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); } public void testGetClassPathFromManifest_emptyClassPath() throws IOException { File jarFile = new File("base.jar");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
* * @return this method does not return; it always throws * @throws IOException when the given throwable is an IOException */ public RuntimeException rethrow(Throwable e) throws IOException { checkNotNull(e); thrown = e; throwIfInstanceOf(e, IOException.class); throwIfUnchecked(e); throw new RuntimeException(e); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
@BeforeEach void setUp() throws IOException { mimeMap = new MimeMap(); } @Nested @DisplayName("getMimeType with extension only") class GetMimeTypeWithExtension { @Test @DisplayName("Should return correct mime type for known extensions") void testKnownExtensions() throws IOException { assertEquals("application/pdf", mimeMap.getMimeType("pdf"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.1K bytes - Click Count (0)