Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for Miller (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. internal/grid/connection.go

    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    // filter will apply the options and return the number of objects requested by the limit.
    // Will return io.EOF if there are no more entries with the same filter.
    // The last entry can be used as a marker to resume the listing.
    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. 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 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Days: ExpirationDays(3)},
    			},
    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Date: midnightTS},
    			},
    			{
    				Status:                      "Enabled",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import org.codelibs.spnego.SpnegoPrincipal;
    import org.dbflute.optional.OptionalEntity;
    import org.lastaflute.web.login.credential.LoginCredential;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.servlet.filter.RequestLoggingFilter;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.lastaflute.web.util.LaResponseUtil;
    
    public class SpnegoAuthenticator implements SsoAuthenticator {
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. 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 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top