Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,704 for instant (0.03 sec)

  1. src/test/java/jcifs/util/HMACT64Test.java

        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
        void setUp() throws NoSuchAlgorithmException {
            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
            // If it's not static, we'd need to inject it or mock the class that provides it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
      private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            assertEquals(200, dfsRootEnum.info.level, "The info.level should be set to the same value as level.");
            assertTrue(dfsRootEnum.info.e instanceof DfsEnumArray200, "The info.e should be an instance of DfsEnumArray200.");
        }
    
        /**
         * Test the getEntries() method with a populated DfsEnumArray200.
         * Verifies that the DFS entries are correctly converted to FileEntry objects.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

     * // convertedUrl will be "http://new-domain.com/path"
     * }</pre>
     */
    /**
     * This class is a helper for URL conversion.
     */
    public class UrlConvertHelper {
    
        /**
         * Creates a new UrlConvertHelper instance.
         */
        public UrlConvertHelper() {
            // NOP
        }
    
        /**
         * A map for URL conversion.
         */
        protected Map<String, String> convertMap = new LinkedHashMap<>();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            super();
        }
    
        private static final Logger logger = LogManager.getLogger(ProfileAction.class);
    
        // ===================================================================================
        // Constant
        //
    
        // ===================================================================================
        // Attribute
        //
        @Resource
        private UserService userService;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

          setException(thrown);
        }
      }
    
      static final class ImmediateCancelledFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        static final @Nullable ImmediateCancelledFuture<Object> INSTANCE =
            AbstractFuture.GENERATE_CANCELLATION_CAUSES ? null : new ImmediateCancelledFuture<>();
    
        ImmediateCancelledFuture() {
          cancel(false);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ScheduledExecutorService} that returns {@link ListenableFuture} instances from its
     * {@code ExecutorService} methods. To create an instance from an existing {@link
     * ScheduledExecutorService}, call {@link
     * MoreExecutors#listeningDecorator(ScheduledExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 17:30:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

        void testConstructorWithJcifsSIDArrayAndUnwrap() {
            // Create mock SID objects
            SID mockSid1 = mock(SID.class);
            SID mockSid2 = mock(SID.class);
    
            // Mock the unwrap method to return a sid_t instance
            sid_t sidT1 = new sid_t();
            sid_t sidT2 = new sid_t();
            when(mockSid1.unwrap(sid_t.class)).thenReturn(sidT1);
            when(mockSid2.unwrap(sid_t.class)).thenReturn(sidT2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top