- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 66 for Qinv (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
BiMap<V, K> inv = getMap().inverse(); inv.keySet().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearInverseValuesClears() { BiMap<V, K> inv = getMap().inverse(); inv.values().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
BiMap<V, K> inv = getMap().inverse(); inv.keySet().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearInverseValuesClears() { BiMap<V, K> inv = getMap().inverse(); inv.values().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.5K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_ordinv_test.go
t.Error("unexpected output for inv(1)") } new(big.Int).Add(N, big.NewInt(1)).FillBytes(input) out, err = nistec.P256OrdInverse(input) if err != nil { t.Fatal(err) } if !bytes.Equal(out, exp) { t.Error("unexpected output for inv(N+1)") } // Check inv(20) and inv(N+20) against math/big exp = new(big.Int).ModInverse(big.NewInt(20), N).FillBytes(make([]byte, 32)) big.NewInt(20).FillBytes(input)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 2.3K bytes - Viewed (0) -
src/crypto/internal/edwards25519/field/fe_test.go
one := Element{1, 0, 0, 0, 0} var xinv, r Element xinv.Invert(&x) r.Multiply(&x, &xinv) r.reduce() if one != r { t.Errorf("inversion identity failed, got: %x", r) } var bytes [32]byte _, err := io.ReadFull(rand.Reader, bytes[:]) if err != nil { t.Fatal(err) } x.SetBytes(bytes[:]) xinv.Invert(&x) r.Multiply(&x, &xinv) r.reduce() if one != r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 13.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
for (Entry<K, V> entry : entries) { Entry<V, K> reversed = reverseEntry(entry); BiMap<V, K> inv = getMap().inverse(); assertFalse( "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed)); assertFalse( "Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.1K bytes - Viewed (0) -
src/math/rand/v2/zipf.go
z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0))) return z } // Uint64 returns a value drawn from the Zipf distribution described // by the Zipf object. func (z *Zipf) Uint64() uint64 { if z == nil { panic("rand: nil Zipf") } k := 0.0 for { r := z.r.Float64() // r on [0,1] ur := z.hxm + r*z.hx0minusHxm x := z.hinv(ur) k = math.Floor(x + 0.5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 14:29:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/crypto/internal/nistec/p384.go
} func (p *P384Point) bytes(out *[1 + 2*p384ElementLength]byte) []byte { if p.z.IsZero() == 1 { return append(out[:0], 0) } zinv := new(fiat.P384Element).Invert(p.z) x := new(fiat.P384Element).Mul(p.x, zinv) y := new(fiat.P384Element).Mul(p.y, zinv) buf := append(out[:0], 4) buf = append(buf, x.Bytes()...) buf = append(buf, y.Bytes()...) return buf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 18K bytes - Viewed (0) -
src/crypto/internal/nistec/p224.go
} func (p *P224Point) bytes(out *[1 + 2*p224ElementLength]byte) []byte { if p.z.IsZero() == 1 { return append(out[:0], 0) } zinv := new(fiat.P224Element).Invert(p.z) x := new(fiat.P224Element).Mul(p.x, zinv) y := new(fiat.P224Element).Mul(p.y, zinv) buf := append(out[:0], 4) buf = append(buf, x.Bytes()...) buf = append(buf, y.Bytes()...) return buf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 15.9K bytes - Viewed (0) -
src/crypto/internal/nistec/p521.go
} func (p *P521Point) bytes(out *[1 + 2*p521ElementLength]byte) []byte { if p.z.IsZero() == 1 { return append(out[:0], 0) } zinv := new(fiat.P521Element).Invert(p.z) x := new(fiat.P521Element).Mul(p.x, zinv) y := new(fiat.P521Element).Mul(p.y, zinv) buf := append(out[:0], 4) buf = append(buf, x.Bytes()...) buf = append(buf, y.Bytes()...) return buf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 17K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
for (Entry<K, V> entry : entries) { Entry<V, K> reversed = reverseEntry(entry); BiMap<V, K> inv = getMap().inverse(); assertFalse( "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed)); assertFalse( "Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.1K bytes - Viewed (0)