- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 356 for delegates (0.06 seconds)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@Test @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
List<ClassRealmManagerDelegate> delegates = new ArrayList<>(this.delegates); if (!delegates.isEmpty()) { ClassRealmRequest request = new DefaultClassRealmRequest(type, parent, parentImports, foreignImports, constituents); for (ClassRealmManagerDelegate delegate : delegates) { try { delegate.setupRealm(classRealm, request);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
assertTrue(ex.getMessage().contains("boom")); } @Test @DisplayName("ensureTreeConnected delegates to handle") void ensureTreeConnected_delegates() throws Exception { // Verify ensureTreeConnected() delegates to SmbPipeHandleImpl SmbPipeInputStream stream = newStreamWithMinimalStubs(true); when(handle.ensureTreeConnected()).thenReturn(tree);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
} LifecycleMappingDelegate delegate; if (List.of(DefaultLifecycles.STANDARD_LIFECYCLES).contains(lifecycle.getId())) { delegate = standardDelegate; } else { delegate = delegates.getOrDefault(lifecycle.getId(), standardDelegate); } return delegate.calculateLifecycleMappings(session, project, lifecycle, lifecyclePhase); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
// you should remove the 'final' if you need to override this /** * Hook method called before action execution. * This method refreshes the user information if a user is logged in * and delegates to the view helper's action hook. * * @param runtime the action runtime context * @return the action response, or null to continue with normal processing */ @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* * @author Kevin Damm * @author Kyle Maddison */ final class LittleEndianByteArray { /** * The instance that actually does the work; delegates to VarHandle, Unsafe, or a Java-8 * compatible pure-Java fallback. */ private static final LittleEndianBytes byteArray = makeGetter(); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
void emptyIterator() { when(delegate.hasNext()).thenReturn(false); TestIterator iterator = new TestIterator(null); assertFalse(iterator.hasNext()); assertNull(iterator.next()); } @Test @DisplayName("Close delegates to underlying iterator") void closeDelegation() throws CIFSException { when(delegate.hasNext()).thenReturn(false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
verify(tree).send(captor.capture(), any()); assertNotNull(captor.getValue()); } @Test @DisplayName("recv delegates to input.readDirect and returns its value") void testRecvDelegation() throws Exception { SmbPipeHandleImpl spyTarget = spy(target); SmbPipeInputStream in = mock(SmbPipeInputStream.class);
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) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
} else if (superString != null) { return resultString + superString; } return null; } /** * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link * #setFuture(ListenableFuture)}. */ private static final class AsyncTransformFuture< I extends @Nullable Object, O extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 20 18:03:37 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
} }; // When/Then assertThrows(CIFSException.class, () -> iterator.close(), "Should propagate exception from delegate close"); } /** * Test remove method delegates to underlying iterator. */ @Test void testRemove() { // Given when(mockDelegate.hasNext()).thenReturn(true, false);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0)