- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for wrap (0.04 sec)
-
src/main/java/jcifs/context/CIFSContextWrapper.java
public CIFSContext withCredentials(final Credentials creds) { return wrap(this.delegate.withCredentials(creds)); } @Override public CIFSContext withDefaultCredentials() { return wrap(this.delegate.withDefaultCredentials()); } @Override public CIFSContext withAnonymousCredentials() { return wrap(this.delegate.withAnonymousCredentials()); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
import okio.Buffer import okio.ByteString internal fun Dispatcher.wrap(): mockwebserver3.Dispatcher { if (this is QueueDispatcher) return this.delegate val delegate = this return object : mockwebserver3.Dispatcher() { override fun dispatch(request: mockwebserver3.RecordedRequest): mockwebserver3.MockResponse = delegate.dispatch(request.unwrap()).wrap() override fun peek(): mockwebserver3.MockResponse = delegate.peek().wrap()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 4.1K bytes - Viewed (1) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
void testDecodeNoReferrals() { // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0 byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferrals bb.putShort((short) 0); // tflags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
// Create a ServletException with a message String errorMessage = "Test servlet error message"; ServletException servletException = new ServletException(errorMessage); // Wrap it in ServletRuntimeException ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify that the cause is correctly set assertNotNull(runtimeException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
} return copyInternal((FileInputStream) in, wrap(out)); } if (out instanceof FileOutputStream) { return copyInternal(wrap(in), (FileOutputStream) out); } return copyInternal(wrap(in), wrap(out)); } // //////////////////////////////////////////////////////////////// // from InputStream to Writer
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object. * @param obj The object to wrap * @return A PooledObject wrapping the given object */ @Override public PooledObject<T> wrap(final T obj) { return new DefaultPooledObject<>(obj); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
return wrap(delegate); } }); } public void testEquals() { SortedMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one"); SortedMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer); // Assert that calling wrap throws DcerpcException assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer)); // Verify that the wrap method was called exactly once verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertNotNull(connection, "Connection should not be null even when jcifs is in handler path."); assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it."); } @Test void testOpenConnection_NullSystemProperty_UsesDefaultHandlers() throws Exception { // This test verifies that when the system property is null, the handler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
this.delegate = checkNotNull(delegate); } /** * Wraps a {@code Callable} for submission to the underlying executor. This method is also applied * to any {@code Runnable} passed to the default implementation of {@link #wrapTask(Runnable)}. */ protected abstract <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.4K bytes - Viewed (0)