Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for delegates (0.05 sec)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("getFlags delegates to underlying mechanism context")
        void testGetFlagsDelegates() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.getFlags()).thenReturn(0xCAFE);
            assertEquals(0xCAFE, ctx.getFlags());
            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
        @DisplayName("dispose delegates to underlying mechanism context")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ingest/Ingester.java

            return target;
        }
    
        /**
         * Processes a document map for web/file crawling with access result.
         * Default implementation delegates to the basic process method.
         *
         * @param target the document data to process
         * @param accessResult the access result from crawling
         * @return the processed document data
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("isOpen delegates to handle.isOpen")
        void isOpen_delegates(boolean state) throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            when(handle.isOpen()).thenReturn(state);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      /** A wrapped future that does not propagate cancellation to its delegate. */
      private static final class NonCancellationPropagatingFuture<V extends @Nullable Object>
          extends AbstractFuture.TrustedFuture<V> implements Runnable {
        @LazyInit private @Nullable ListenableFuture<V> delegate;
    
        NonCancellationPropagatingFuture(ListenableFuture<V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            verify(delegate, times(1)).close();
        }
    
        @Test
        @DisplayName("remove() delegates to underlying iterator")
        void removeDelegates() {
            // Arrange: no elements - no parent setup needed since no URLs are created
            when(delegate.hasNext()).thenReturn(false);
            NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, null);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
          JdkBackedImmutableMultiset.create(ImmutableList.of());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top