Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 548 for delegates (0.06 sec)

  1. 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 directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

        void calculateMIC_nullData() {
            assertThrows(NullPointerException.class, () -> ctx.calculateMIC(null));
        }
    
        @Test
        @DisplayName("verifyMIC delegates to GSS and succeeds")
        void verifyMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2 };
            byte[] mic = new byte[] { 3 };
            // No exception means success
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

          super(ForwardingSortedMultiset.this);
        }
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return delegate().comparator();
      }
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        return delegate().descendingMultiset();
      }
    
      /**
       * A skeleton implementation of a descending multiset view. Normally, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         *
         * @param runtime the action runtime context containing request information
         * @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent
         */
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            if (!isAccessAllowed()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          assertWithMessage(
                  "To help optimizers, any class that inherits a package-private writeReplace() method"
                      + " should override that method.\n"
                      + "(An override that delegates to the supermethod is fine.)\n"
                      + "%s has no such override despite inheriting writeReplace() from %s",
                  clazz.getName(), supersWithPackagePrivateWriteReplace.get().getName())
              .fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileFilterTest.java

        }
    
        @Test
        @DisplayName("accept: propagates SmbException thrown by dependency")
        void accept_propagatesSmbException() throws Exception {
            // Arrange: filter delegates to isDirectory which may throw SmbException
            SmbFileFilter filter = f -> f.isDirectory();
            SmbException boom = new SmbException("io error");
            when(smbFile.isDirectory()).thenThrow(boom);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk.
       * The passed {@code ByteBuffer} is guaranteed to be non-empty.
       *
       * <p>This implementation simply pads with zeros and delegates to {@link #process(ByteBuffer)}.
       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
         * It validates inputs, records calls, and delegates some behavior to collaborators
         * so we can verify interactions.
         */
        static class TestCredentials implements CredentialsInternal {
            private final String domain;
            private final boolean anonymous;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

      static <V extends @Nullable Object> ListenableFuture<V> create(
          ListenableFuture<V> delegate,
          long time,
          TimeUnit unit,
          ScheduledExecutorService scheduledExecutor) {
        TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
        Fire<V> fire = new Fire<>(result);
        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top