Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for primes (0.05 sec)

  1. guava/src/com/google/common/math/LongMath.java

       */
      @GwtIncompatible // TODO
      public static boolean isPrime(long n) {
        if (n < 2) {
          checkNonNegative("n", n);
          return false;
        }
        if (n < 66) {
          // Encode all primes less than 66 into mask without 0 and 1.
          long mask =
              (1L << (2 - 2))
                  | (1L << (3 - 2))
                  | (1L << (5 - 2))
                  | (1L << (7 - 2))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    #### Dict { #dict }
    
    Para definir un `dict`, pasas 2 parámetros de tipo, separados por comas.
    
    El primer parámetro de tipo es para las claves del `dict`.
    
    El segundo parámetro de tipo es para los valores del `dict`:
    
    {* ../../docs_src/python_types/tutorial008_py39.py hl[1] *}
    
    Esto significa:
    
    * La variable `prices` es un `dict`:
        * Las claves de este `dict` son del tipo `str` (digamos, el nombre de cada ítem).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  3. lib/fips140/v1.1.0-rc1.zip

    return false } iterations-- if iterations == 0 { return true } } } // primes are the first prime numbers (except 2), such that the product of any // three primes fits in a uint32. // // More primes cause fewer Miller-Rabin tests of composites (nothing can help // with the final test on the actual prime) but have diminishing returns: these // 255 primes catch 84.9% of composites, the next 255 would catch 1.5% more. // Adding primes can still be marginally useful since they only compete with the // (much...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    millerRabinSetup(w) if err != nil { // w is zero, one, or even. return false } primes, err := bigmod.NewNat().SetBytes(productOfPrimes, mr.w) // If w is too small for productOfPrimes, key generation is // going to be fast enough anyway. if err == nil { _, hasInverse := primes.InverseVarTime(primes, mr.w) if !hasInverse { // productOfPrimes doesn't have an inverse mod w, // so w is divisible by at least one of the primes. return false } } // iterations is the number of Miller-Rabin rounds, each with...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  5. docs_src/python_types/tutorial008_py39.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jan 16 14:44:08 UTC 2022
    - 145 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Tuple5.java

            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            result = prime * result + ((value4 == null) ? 0 : value4.hashCode());
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Tuple4.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            result = prime * result + ((value4 == null) ? 0 : value4.hashCode());
            return result;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	CXOR	X10, X5					// ERROR "expected integer prime register in rd"
    	CSUB	X10, X11, X12				// ERROR "rd must be the same as rs1"
    	CSUB	X5, X11					// ERROR "expected integer prime register in rs2"
    	CSUB	X10, X5					// ERROR "expected integer prime register in rd"
    	CADDW	X10, X11, X12				// ERROR "rd must be the same as rs1"
    	CADDW	X5, X11					// ERROR "expected integer prime register in rs2"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 42.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/Tuple3.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            return result;
        }
    
        @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + eventType;
            result = prime * result + ((exception == null) ? 0 : exception.hashCode());
            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top