- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 845 for delegates (0.05 seconds)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Close delegates to underlying stream") void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException { SocketInputStream sis = new SocketInputStream(mockIn); sis.close(); verify(mockIn).close(); } @Test @DisplayName("Read array delegates to read with offset and length")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) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
import org.eclipse.sisu.Priority; /** * This class is injected into any legacy component that would want to use legacy "Plexus Interactivity API". * It simply delegates to Maven4 API {@link org.apache.maven.api.services.Prompter}. */ @Experimental @Named @Singleton @Priority(10) public class LegacyPlexusInteractivity implements Prompter, InputHandler, OutputHandler {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals(expected, result); verify(locator, times(1)).shouldForceSigning(); verifyNoMoreInteractions(locator); } // Happy path: overlaps delegates to implementation and returns as stubbed @Test @DisplayName("overlaps returns true then false as stubbed") void overlapsReturnsTrueThenFalse() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals(0, indices.length); } catch (Exception e) { fail("Should handle null targetIndices: " + e.getMessage()); } } /** * Test: prepareStreamSearch delegates to prepareSearch * Verifies that both methods return the same result */ @Test public void testPrepareStreamSearchDelegatesToPrepareSearch() {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
* @author Chris Nokleberg */ @J2ktIncompatible @GwtIncompatible abstract class WrappingExecutorService implements ExecutorService { private final ExecutorService delegate; protected WrappingExecutorService(ExecutorService delegate) { this.delegate = checkNotNull(delegate); } /** * Wraps a {@code Callable} for submission to the underlying executor. This method is also appliedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Assert assertEquals(7, r); verify(mockOut).write(eq(buf), eq(2), eq(4)); verify(mockIn).read(eq(recv)); } @Test @DisplayName("recv delegates to input.readDirect with args") void recv_delegates_readDirect() throws Exception { SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\y"); // Mock the stream directlyCreated: 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/hash/AbstractCompositeHashFunction.java
import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * An abstract composition of multiple hash functions. {@linkplain #newHasher()} delegates to the * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}. * * @author Dimitris Andreou */ @ImmutableCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too") void constructor_withDelegate_acquireAndReleaseForwarded() { // Arrange: delegate we can spy on for interaction verification CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace delegate = Mockito.spy(new SmbTreeConnectionTrace(ctx));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
/** Constructor for use by subclasses. */ protected ForwardingSortedMultiset() {} @Override protected abstract SortedMultiset<E> delegate(); @Override public NavigableSet<E> elementSet() { return delegate().elementSet(); } /** * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// This test primarily ensures that the wrapper correctly handles the MalformedURLException // and delegates the SmbFile creation. // When a valid URL is provided, it should not throw an exception. assertNotNull(cifsContextWrapper.get(url)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)