Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 481 for Primes (0.48 sec)

  1. guava/src/com/google/common/hash/Fingerprint2011.java

     */
    @ElementTypesAreNonnullByDefault
    final class Fingerprint2011 extends AbstractNonStreamingHashFunction {
      static final HashFunction FINGERPRINT_2011 = new Fingerprint2011();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xa5b85c5e198ed849L;
      private static final long K1 = 0x8d58ac26afe12e47L;
      private static final long K2 = 0xc47b6e9e3a970ed3L;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  2. src/crypto/x509/x509_test.go

    	}
    	if priv.PublicKey.N.Cmp(priv2.PublicKey.N) != 0 ||
    		priv.PublicKey.E != priv2.PublicKey.E ||
    		priv.D.Cmp(priv2.D) != 0 ||
    		len(priv2.Primes) != 3 ||
    		priv.Primes[0].Cmp(priv2.Primes[0]) != 0 ||
    		priv.Primes[1].Cmp(priv2.Primes[1]) != 0 ||
    		priv.Primes[2].Cmp(priv2.Primes[2]) != 0 {
    		t.Errorf("got:%+v want:%+v", priv, priv2)
    	}
    }
    
    func TestMarshalRSAPublicKey(t *testing.T) {
    	pub := &rsa.PublicKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

     */
    @ElementTypesAreNonnullByDefault
    final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
      static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xc3a5c85c97cb3127L;
      private static final long K1 = 0xb492b66fbe98f273L;
      private static final long K2 = 0x9ae16a3b2f90404fL;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/FarmHashFingerprint64.java

     */
    @ElementTypesAreNonnullByDefault
    final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
      static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xc3a5c85c97cb3127L;
      private static final long K1 = 0xb492b66fbe98f273L;
      private static final long K2 = 0x9ae16a3b2f90404fL;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat_test.go

    // than the modulus. Some Montgomery algorithms don't and need extra care to
    // return correct results. See https://go.dev/issue/13907.
    func TestMulReductions(t *testing.T) {
    	// Two short but multi-limb primes.
    	a, _ := new(big.Int).SetString("773608962677651230850240281261679752031633236267106044359907", 10)
    	b, _ := new(big.Int).SetString("180692823610368451951102211649591374573781973061758082626801", 10)
    	n := new(big.Int).Mul(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    }
    
    func TestModSqrt(t *testing.T) {
    	var elt, mod, modx4, sq, sqrt Int
    	r := rand.New(rand.NewSource(9))
    	for i, s := range primes[1:] { // skip 2, use only odd primes
    		mod.SetString(s, 10)
    		modx4.Lsh(&mod, 2)
    
    		// test a few random elements per prime
    		for x := 1; x < 5; x++ {
    			elt.Rand(r, &modx4)
    			elt.Sub(&elt, &mod) // test range [-mod, 3*mod)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/math/big/int.go

    }
    
    // ModSqrt sets z to a square root of x mod p if such a square root exists, and
    // returns z. The modulus p must be an odd prime. If x is not a square mod p,
    // ModSqrt leaves z unchanged and returns nil. This function panics if p is
    // not an odd integer, its behavior is undefined if p is odd but not prime.
    func (z *Int) ModSqrt(x, p *Int) *Int {
    	switch Jacobi(x, p) {
    	case -1:
    		return nil // x is not a square mod p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/p256_asm.go

    // implementation of P256. The optimizations performed here are described in
    // detail in:
    // S.Gueron and V.Krasnov, "Fast prime field elliptic-curve cryptography with
    //                          256-bit primes"
    // https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
    // https://eprint.iacr.org/2013/816.pdf
    
    //go:build (amd64 || arm64 || ppc64le || s390x) && !purego
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/entity.go

    	"&precnapprox;":                     "\u2ab9",
    	"&precneqq;":                        "\u2ab5",
    	"&precnsim;":                        "\u22e8",
    	"&precsim;":                         "\u227e",
    	"&prime;":                           "\u2032",
    	"&primes;":                          "\u2119",
    	"&prnE;":                            "\u2ab5",
    	"&prnap;":                           "\u2ab9",
    	"&prnsim;":                          "\u22e8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  10. src/html/entity.go

    		"precneqq;":                        '\U00002AB5',
    		"precnsim;":                        '\U000022E8',
    		"precsim;":                         '\U0000227E',
    		"prime;":                           '\U00002032',
    		"primes;":                          '\U00002119',
    		"prnE;":                            '\U00002AB5',
    		"prnap;":                           '\U00002AB9',
    		"prnsim;":                          '\U000022E8',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
Back to top