Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 721 for delegates (0.99 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            properties.put("Accept", Collections.singletonList("application/json"));
            when(mockConnection.getRequestProperties()).thenReturn(properties);
            // Need to mock getRequestProperty as well since it delegates to wrapped connection
            when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json");
    
            // Act
            ntlmConnection = new NtlmHttpURLConnection(mockConnection, mockCifsContext);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertEquals(16 + clientData.length, result.length);
            assertArrayEquals(clientData, Arrays.copyOfRange(result, 16, 16 + clientData.length));
        }
    
        @Test
        @DisplayName("getLMv2Response(byte[]): delegates to computeResponse")
        void testGetLMv2Response_bytes_delegates() {
            // Arrange
            byte[] key = hex("000102030405060708090A0B0C0D0E0F");
            byte[] server = hex("0102030405060708");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/Collections2.java

          // collection.
          return ((FilteredCollection<E>) unfiltered).createCombined(predicate);
        }
    
        return new FilteredCollection<>(checkNotNull(unfiltered), checkNotNull(predicate));
      }
    
      /**
       * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // Should return 0 when auto-connect fails due to missing project ID
            long lastModified = conn.getLastModified();
            assertEquals(0, lastModified);
        }
    
        /**
         * Test that getDate() delegates to getLastModified().
         */
        public void test_getDate_delegatesToGetLastModified() throws Exception {
            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

                saveModifications(context, pomMap);
            }
    
            return result;
        }
    
        /**
         * Performs the upgrade logic using the strategy pattern.
         * Delegates to StrategyOrchestrator for coordinated strategy execution.
         */
        protected int doUpgrade(UpgradeContext context, String targetModel, Map<Path, Document> pomMap) {
            // Execute strategies using the orchestrator
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top