Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for primul (0.22 sec)

  1. doc/go1.17_spec.html

    	for i := range src {  // Loop over values received from 'src'.
    		if i%prime != 0 {
    			dst <- 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 := <-ch
    		fmt.Print(prime, "\n")
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    			return
    		}
    	}
    }
    
    func createTestInput(n int) []byte {
    	input := make([]byte, n)
    	for i := range input {
    		// 101 and 251 are arbitrary prime numbers.
    		// The idea is to create an input sequence
    		// which doesn't repeat too frequently.
    		input[i] = byte(i % 251)
    		if i%101 == 0 {
    			input[i] ^= byte(i / 101)
    		}
    	}
    	return input
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	//TODO: FILDL (R11)                     // 41db03
    	//TODO: FILDLL (BX)                     // df2b
    	//TODO: FILDLL (R11)                    // 41df2b
    	//TODO: FIMUL (BX)                      // de0b
    	//TODO: FIMUL (R11)                     // 41de0b
    	//TODO: FIMULL (BX)                     // da0b
    	//TODO: FIMULL (R11)                    // 41da0b
    	FINCSTP                                 // d9f7
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg crypto/rsa, type PrivateKey struct
    pkg crypto/rsa, type PrivateKey struct, D *big.Int
    pkg crypto/rsa, type PrivateKey struct, Precomputed PrecomputedValues
    pkg crypto/rsa, type PrivateKey struct, Primes []*big.Int
    pkg crypto/rsa, type PrivateKey struct, embedded PublicKey
    pkg crypto/rsa, type PublicKey struct
    pkg crypto/rsa, type PublicKey struct, E int
    pkg crypto/rsa, type PublicKey struct, N *big.Int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  5. doc/go_spec.html

    	for i := range src {  // Loop over values received from 'src'.
    		if i%prime != 0 {
    			dst <- 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 := <-ch
    		fmt.Print(prime, "\n")
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    }
    
    // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime.
    // If it returns true, z is prime with probability 1 - 1/4^n.
    // If it returns false, z is not prime.
    func (z *Int) ProbablyPrime(n int) bool {
    	z.doinit()
    	return int(C.mpz_probab_prime_p(&z.i[0], C.int(n))) > 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top