- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 66 for unwrapping (0.21 seconds)
-
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertNull(unwrapped); } @Test void unwrapDOSFilter_returnsNull_whenWrapperButNotDosFilter() throws Exception { // Wrapper but not wrapping a DosFileFilter SmbFileFilter nonDosFilter = mock(SmbFileFilter.class); Object wrapper = newPrivateInner("ResourceFilterWrapper", new Class<?>[] { SmbFileFilter.class }, nonDosFilter);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
} throw uhe != null ? uhe : new UnknownHostException("invalid name"); } */ Object addr; String calledName; /** * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or * <code>NbtAddress</code>. * * @param addr the address to wrap */ public UniAddress(final Object addr) { if (addr == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
README.md
- **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); // Use doThrow for unchecked exception wrapping the CIFSException doThrow(new RuntimeException(new CIFSException("session fail"))).when(tree).getSession(); Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue(
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
* if the processor stops processing early. * * <p><b>Users who can use {@code Stream}:</b> If your input is a {@link Reader}, consider * wrapping it with a {@link BufferedReader} and operating on the {@link java.util.stream.Stream} * of lines returned by {@link BufferedReader#lines()}. * * @throws IOException if an I/O error occurs * @since 14.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} return this.handle.acquire(); } /** * Converts an SmbException to an IOException * * @param se the SmbException to convert * @return an IOException wrapping the SmbException */ protected static IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getCause(); if (root instanceof TransportException) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/ioutil/ioutil.go
return &LimitWriter{w, skipBytes, limit} } type nopCloser struct { io.Writer } func (nopCloser) Close() error { return nil } // NopCloser returns a WriteCloser with a no-op Close method wrapping // the provided Writer w. func NopCloser(w io.Writer) io.WriteCloser { return nopCloser{w} } // SkipReader skips a given number of bytes and then returns all // remaining data. type SkipReader struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented * in the delegate's {@code execute} method or by wrapping the returned {@code * ListeningExecutorService}. * * <p>If the delegate executor was already an instance of {@code ListeningExecutorService}, it isCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
Here we create the tables on an application startup event. For production you would probably use a migration script that runs before you start your app. 🤓 /// tip SQLModel will have migration utilities wrapping Alembic, but for now, you can use [Alembic](https://alembic.sqlalchemy.org/en/latest/) directly. /// ### Create a Hero { #create-a-hero }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* ClosingFuture} call {@link #from(ListenableFuture)}. * <li>In case this step doesn't create new closeables, you can adapt an API that returns a * {@link ListenableFuture} to return a {@code ClosingFuture} by wrapping it with a call to * {@link #withoutCloser(AsyncFunction)} * </ul> * * <p>Example usage: * * {@snippet : * // Result.getRowsClosingFuture() returns a ClosingFuture.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0)