Searched refs:ModPowUint32 (Results 1 – 7 of 7) sorted by relevance
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/cznic/mathutil/mersenne/ |
H A D | mersenne.go | 119 return d == 1 || d&1 != 0 && mathutil.ModPowUint32(2, n, d) == 1 250 if x = mathutil.ModPowUint32(2, e, m); x == 0 {
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/cznic/mathutil/ |
H A D | mathutil.go | 282 func ModPowUint32(b, e, m uint32) uint32 { func 514 x := uint64(ModPowUint32(a, d, n))
|
H A D | primes.go | 64 mod := ModPowUint32(2, (n+1)/2, n)
|
H A D | all_test.go | 1641 if g, e := ModPowUint32(v.b, v.e, v.m), v.r; g != e { 1822 ModPowUint32(v.b, v.e, v.m)
|
/dports/misc/perkeep/perkeep-0.11/vendor/github.com/cznic/mathutil/ |
H A D | primes.go | 64 mod := ModPowUint32(2, (n+1)/2, n)
|
H A D | mathutil.go | 289 func ModPowUint32(b, e, m uint32) uint32 { func 521 x := uint64(ModPowUint32(a, d, n))
|
/dports/sysutils/rush/rush-0.4.2-9-ga800565/vendor/github.com/cznic/sortutil/ |
H A D | all_test.go | 375 lim := int(mathutil.ModPowUint32(uint32(c), uint32(c), math.MaxUint32))
|