Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 576 for delegates (0.06 sec)

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

            verify(tree).send(reqCap.capture(), any(), any(), any());
            assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest);
        }
    
        // call() should delegate to watch() and return the same list
        @Test
        @DisplayName("call() delegates to watch() and returns same result")
        void call_delegatesToWatch() throws Exception {
            List<FileNotifyInformation> info = new ArrayList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

         * @param delegate
         *            delegate to pass all non-overridden method calls to
         *
         */
        public DelegatingConfiguration(final Configuration delegate) {
            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getRandom()
         */
        @Override
        public SecureRandom getRandom() {
            return this.delegate.getRandom();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

                watchHandle.watch();
            });
    
            assertEquals("Watch operation failed", thrown.getMessage());
            verify(watchHandle, times(1)).watch();
        }
    
        /**
         * Test call() method delegates to watch()
         */
        @Test
        void testCall() throws CIFSException {
            // Setup mock behavior
            when(watchHandle.call()).thenReturn(mockNotifications);
    
            // Execute
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

       * method is called when an existing cache entry is refreshed by {@link
       * CacheBuilder#refreshAfterWrite}, or through a call to {@link LoadingCache#refresh}.
       *
       * <p>This implementation synchronously delegates to {@link #load}. It is recommended that it be
       * overridden with an asynchronous implementation when using {@link
       * CacheBuilder#refreshAfterWrite}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
            void readArrayDelegates() throws Exception {
                SmbFileInputStream in = newStream();
    
                Smb2ReadResponse smb2Resp = mock(Smb2ReadResponse.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // release
                    old.release(true);
                }
                if (this.delegate != null && this.delegateAcquired) {
                    log.debug("Releasing delegate");
                    this.delegateAcquired = false;
                    this.delegate.release();
                }
            }
        }
    
        /**
         * @return tree connection with increased usage count
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(s.isClosed()).thenReturn(true);
            assertTrue(transport.isDisconnected());
            assertTrue(transport.isFailed());
        }
    
        @Test
        @DisplayName("capability query delegates to negotiation state")
        void hasCapability_delegates() throws Exception {
            // Arrange
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
            setField(transport, "negotiated", nego);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

          return equivalence + ".equivalentTo(" + target + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns an equivalence that delegates to {@link Object#equals} and {@link Object#hashCode}.
       * {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top