- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Inv (0.07 sec)
-
src/internal/trace/mud_test.go
for j := 0.0; j < mass; j += mass * 0.099 { mud.setTrackMass(j) l, u, ok := mud.approxInvCumulativeSum() inv, ok2 := mud.invCumulativeSum(j) if !ok || !ok2 { t.Fatalf("inverse cumulative sum failed: approx %v, exact %v", ok, ok2) } if !(l <= inv && inv < u) { t.Fatalf("inverse(%g) = %g, not ∈ [%g, %g)", j, inv, l, u) } } } } func TestMUDTracking(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 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) -
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) -
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)