- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 214 for EX (0.02 seconds)
-
src/main/java/org/codelibs/core/io/ResourceUtil.java
final InputStream is = getResourceAsStream(path); try { props.load(is); return props; } catch (final IOException ex) { throw new IORuntimeException(ex); } finally { CloseableUtil.close(is); } } /** * Returns the extension of the path. * * @param path
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
SmbFileInputStream in = newStream(); // closing should null tmp; subsequent readDirect should fail in.close(); IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4)); assertTrue(ex.getMessage().contains("Bad file descriptor")); } @Test @DisplayName("available always returns 0")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
try { UnsignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@Test @DisplayName("ensureOpen throws after close() is called") void testEnsureOpenAfterClose() throws CIFSException { target.close(); CIFSException ex = assertThrows(SmbException.class, () -> target.ensureOpen()); assertTrue(ex.getMessage().contains("Pipe handle already closed")); } @Test @DisplayName("close() calls handle.close when open and handle.release otherwise; releases tree")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
return null; }).when(handle).sendrecv(any()); SmbException ex = assertThrows(SmbException.class, () -> cache.resolveSids(handle, policy, sids)); assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus()); } @Test @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
writeSecurityBuffer(type3, 52, offset, sessionKey); writeULong(type3, 60, flags); return type3; } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override public String toString() { final String user = getUser(); final String domain = getDomain();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NetworkExplorer.java
this.defaultDomain = p.getProperty("jcifs.smb.client.domain"); this.transportContext = new BaseContext(new PropertyConfiguration(p)); } catch (final CIFSException ex) { throw new ServletException("Failed to initialize CIFS context", ex); } } /** * Handles file download requests for SMB files. * @param req the HTTP servlet request * @param resp the HTTP servlet response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[bytes.length * 2]; IllegalStateException ex = assertThrows(IllegalStateException.class, () -> in.readFully(actual)); assertThat(ex).hasCauseThat().isInstanceOf(EOFException.class); } public void testNewDataInput_readFullyWithOffset() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0)