Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for prime (0.04 sec)

  1. misc/cgo/gmp/gmp.go

    	a.doinit()
    	b.doinit()
    	C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0])
    }
    
    // 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. .gitignore

    **/*.swp
    cover.out
    *~
    minio
    !*/
    site/
    **/*.test
    **/*.sublime-workspace
    /.idea/
    /Minio.iml
    **/access.log
    vendor/
    .DS_Store
    *.syso
    coverage.txt
    .vscode/
    *.tar.bz2
    parts/
    prime/
    stage/
    .sia_temp/
    config.json
    node_modules/
    mc.*
    s3-check-md5*
    xl-meta*
    healing-*
    inspect*.zip
    200M*
    hash-set
    minio.RELEASE*
    mc
    nancy
    inspects/*
    .bin/
    *.gz
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 802 bytes
    - Viewed (0)
  3. lib/fips140/v1.0.0.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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  4. 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")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (1)
  5. 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
    }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  6. docs/compression/README.md

    > ```
    
    ### 3. Compression + Encryption
    
    Combining encryption and compression is not safe in all setups.
    This is particularly so if the compression ratio of your content reveals information about it.
    See [CRIME TLS](https://en.wikipedia.org/wiki/CRIME) as an example of this.
    
    Therefore, compression is disabled when encrypting by default, and must be enabled separately.
    
    Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.addInclude("https://example\\.com/\\?.*");
            urlFilter.addInclude(".*\\$price=\\d+.*");
            urlFilter.addExclude(".*\\[\\].*");
    
            assertTrue(urlFilter.match("https://example.com/?page=1"));
            assertTrue(urlFilter.match("https://shop.com/item?$price=100"));
            assertFalse(urlFilter.match("https://example.com/array[]"));
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. tests/hooks_test.go

    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	products2 := []Product3{
    		{Name: "Product-1", Price: 100},
    		{Name: "Product-2", Price: 200},
    		{Name: "Product-3", Price: 300},
    	}
    
    	DB.Create(&products2)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. LICENSE

    non-permissive terms added in accord with section 7 apply to the code;
    keep intact all notices of the absence of any warranty; and give all
    recipients a copy of this License along with the Program.
    
      You may charge any price or no price for each copy that you convey,
    and you may offer support or warranty protection for a fee.
    
      5. Conveying Modified Source Versions.
    
      You may convey a work based on the Program, or the modifications to
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    	{"X1", "X1"},
    	{"X2", "X2"},
    	{"X3", "X3"},
    	{"X4", "X4"},
    	{"X5", "X5"},
    	{"X6", "X6"},
    	{"X7", "X7"},
    	{"asmcgocall<>(SB)", "asmcgocall<>(SB)"},
    	{"ax+4(FP)", "ax+4(FP)"},
    	{"ptime-12(SP)", "ptime-12(SP)"},
    	{"runtimeĀ·_NtWaitForSingleObject(SB)", "runtime._NtWaitForSingleObject(SB)"},
    	{"s(FP)", "s(FP)"},
    	{"sec+4(FP)", "sec+4(FP)"},
    	{"shifts<>(SB)(CX*8)", "shifts<>(SB)(CX*8)"},
    	{"x+4(FP)", "x+4(FP)"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top