Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 293 for primes (0.1 seconds)

  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))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  2. 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...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  3. 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).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  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...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/settings.md

    {* ../../docs_src/settings/app03_an_py39/main.py hl[1,11] *}
    
    Entonces, para cualquier llamada subsiguiente de `get_settings()` en las dependencias de los próximos requests, en lugar de ejecutar el código interno de `get_settings()` y crear un nuevo objeto `Settings`, devolverá el mismo objeto que fue devuelto en la primera llamada, una y otra vez.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. 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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jan 16 14:44:08 GMT 2022
    - 145 bytes
    - Click Count (0)
  7. doc/go_spec.html

    	for i := range src {  // Loop over values received from 'src'.
    		if i%prime != 0 {
    			dst &lt;- i  // Send 'i' to channel 'dst'.
    		}
    	}
    }
    
    // The prime sieve: Daisy-chain filter processes together.
    func sieve() {
    	ch := make(chan int)  // Create a new channel.
    	go generate(ch)       // Start generate() as a subprocess.
    	for {
    		prime := &lt;-ch
    		fmt.Print(prime, "\n")
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  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"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 42.1K bytes
    - Click Count (0)
  9. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/events.md

    ///
    
    ### Función de Lifespan { #lifespan-function }
    
    Lo primero que hay que notar es que estamos definiendo una función asíncrona con `yield`. Esto es muy similar a las Dependencias con `yield`.
    
    {* ../../docs_src/events/tutorial003_py39.py hl[14:19] *}
    
    La primera parte de la función, antes del `yield`, será ejecutada **antes** de que la aplicación comience.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top