Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 534 for Miller (0.17 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
        // Test the thorough test inputs, which also includes special constants in the Miller-Rabin
        // tests.
        for (long l : POSITIVE_LONG_CANDIDATES) {
          assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l));
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

          }
        }
        throw new AssertionError();
      }
    
      /*
       * If n <= millerRabinBases[i][0], then testing n against bases millerRabinBases[i][1..] suffices
       * to prove its primality. Values from miller-rabin.appspot.com.
       *
       * NOTE: We could get slightly better bases that would be treated as unsigned, but benchmarks
       * showed negligible performance improvements.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
        // Test the thorough test inputs, which also includes special constants in the Miller-Rabin
        // tests.
        for (long l : POSITIVE_LONG_CANDIDATES) {
          assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l));
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return true;
        }
    
        /**
         * Returns a filtered list of classpath elements. This method is invoked when the caller
         * requested that all dependencies are placed on the classpath, with no module-path element.
         *
         * @param scopeFilter a filter returning {@code true} for the artifact scopes to accept.
         * @param includeTestDir whether to include the test directory in the classpath elements.
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertEquals("junit-4.13.1.jar", modules.get(0).getFileName().toString());
            assertTrue(paths.containsAll(classes));
            assertTrue(paths.containsAll(modules));
    
            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (2)
  6. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          } catch (InterruptedException e) {
            /* ignore */
          }
          try {
            // Fill up heap so soft references get cleared.
            filler = new byte[Math.max(filler.length, filler.length * 2)];
          } catch (OutOfMemoryError e) {
          }
        }
    
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, cache.size());
        assertEquals(1, removalListener.getCount());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * <p><b>{@code Stream} equivalent:</b> {@link Stream#filter}.
       */
      public static <T extends @Nullable Object> Iterable<T> filter(
          final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return Iterators.filter(unfiltered.iterator(), retainIfTrue);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            setSystemProperty(Constants.LDAP_ACCOUNT_FILTER, value);
        }
    
        default String getLdapAccountFilter() {
            return getSystemProperty(Constants.LDAP_ACCOUNT_FILTER);
        }
    
        default void setLdapGroupFilter(final String value) {
            setSystemProperty(Constants.LDAP_GROUP_FILTER, value);
        }
    
        default String getLdapGroupFilter() {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        Map<String, String> map = Maps.newHashMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        map = Maps.filterEntries(map, FILTER_ENTRIES_1);
                        return Maps.filterEntries(map, FILTER_ENTRIES_2);
                      }
                    })
                .named("Maps.filterEntries[Maps.filterEntries[Map, Predicate], Predicate]")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SmallCharMatcher.java

      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
        super(description);
        this.table = table;
        this.filter = filter;
        this.containsZero = containsZero;
      }
    
      private static final int C1 = 0xcc9e2d51;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top