- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for vminus1 (0.23 sec)
-
src/crypto/rsa/rsa.go
continue NextSetOfPrimes } } } n := new(big.Int).Set(bigOne) totient := new(big.Int).Set(bigOne) pminus1 := new(big.Int) for _, prime := range primes { n.Mul(n, prime) pminus1.Sub(prime, bigOne) totient.Mul(totient, pminus1) } if n.BitLen() != bits { // This should never happen for nprimes == 2 because // crypto/rand should set the top two bits in each prime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private abstract static class DelayedActionRunnable implements Runnable { private final long tMinus; protected DelayedActionRunnable(long tMinus) { this.tMinus = tMinus; } @Override public final void run() { try { Thread.sleep(tMinus); } catch (InterruptedException e) { throw new AssertionError(e); } doAction(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 16:06:39 UTC 2024 - 31.7K bytes - Viewed (0) -
src/syscall/syscall_linux.go
if cgo_libc_setegid != nil { return minus1, minus1, ENOTSUP } r1, r2, errno := runtime_doAllThreadsSyscall(trap, a1, a2, a3, a4, a5, a6) return r1, r2, Errno(errno) } // linked by runtime.cgocall.go // //go:uintptrescapes func cgocaller(unsafe.Pointer, ...uintptr) uintptr var cgo_libc_setegid unsafe.Pointer // non-nil if cgo linked. const minus1 = ^uintptr(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
// form. So we'll invert and subtract 1. If the // most-significant-bit isn't set then we'll need to pad the // beginning with 0xff in order to keep the number negative. nMinus1 := new(big.Int).Neg(n) nMinus1.Sub(nMinus1, bigOne) bytes := nMinus1.Bytes() for i := range bytes { bytes[i] ^= 0xff } if len(bytes) == 0 || bytes[0]&0x80 == 0 { return multiEncoder([]encoder{byteFFEncoder, bytesEncoder(bytes)}), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is * unlikely in practice there, too.) */ /** * Returns an immutable set containing the given elements, minus duplicates, in the order each was * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except * the first are ignored. */ public static <E> ImmutableSet<E> of(E e1, E e2) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 35.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
} S, err := edwards25519.NewScalar().SetCanonicalBytes(sig[32:]) if err != nil { return false } // [S]B = R + [k]A --> [k](-A) + [S]B = R minusA := (&edwards25519.Point{}).Negate(A) R := (&edwards25519.Point{}).VarTimeDoubleScalarBaseMult(k, minusA, S) return bytes.Equal(sig[:32], R.Bytes())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
} } /** * Same behavior as Groovy minus operator between Strings * * @param originalString original string * @param removeString string to remove * @return string with removeString removed or the original string if it did not contain removeString */ public static String minus(String originalString, String removeString) { String s = originalString.toString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/validation_test.go
expectErrors: true, }, { name: "validate port less than base", options: makeOptionsWithPort(30064, 30065, 1), expectErrors: true, }, { name: "validate port minus base more than size", options: makeOptionsWithPort(30067, 30065, 1), expectErrors: true, }, { name: "validate success", options: makeOptionsWithPort(30067, 30065, 5),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* collection in unspecified order. * * @param collection the elements that the set should contain * @return a new {@code CompactHashSet} containing those elements (minus duplicates) */ public static <E extends @Nullable Object> CompactHashSet<E> create( Collection<? extends E> collection) { CompactHashSet<E> set = createWithExpectedSize(collection.size());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24K bytes - Viewed (0)