- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 370 for biglen (0.16 sec)
-
src/internal/syscall/windows/zsyscall_windows.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/runtime/map_benchmark_test.go
for i := 0; i < b.N; i++ { _ = m[s1] } } type BigKey [3]int64 func BenchmarkBigKeyMap(b *testing.B) { m := make(map[BigKey]bool) k := BigKey{3, 4, 5} m[k] = true for i := 0; i < b.N; i++ { _ = m[k] } } type BigVal [3]int64 func BenchmarkBigValMap(b *testing.B) { m := make(map[BigKey]BigVal) k := BigKey{3, 4, 5} m[k] = BigVal{6, 7, 8} for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.6K bytes - Viewed (0) -
src/crypto/elliptic/elliptic_test.go
// See https://golang.org/issues/20482. testAllCurves(t, testUnmarshalToLargeCoordinates) } func testUnmarshalToLargeCoordinates(t *testing.T, curve Curve) { p := curve.Params().P byteLen := (p.BitLen() + 7) / 8 // Set x to be greater than curve's parameter P – specifically, to P+5. // Set y to mod_sqrt(x^3 - 3x + B)) so that (x mod P = 5 , y) is on the // curve. x := new(big.Int).Add(p, big.NewInt(5))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 02:00:03 UTC 2023 - 11.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/opGen.go
argLen: 0, reg: regInfo{}, }, { name: "FlagGT_UGT", argLen: 0, reg: regInfo{}, }, { name: "FlagGT_ULT", argLen: 0, reg: regInfo{}, }, { name: "MOVSSconst1", auxType: auxFloat32, argLen: 0, reg: regInfo{ outputs: []outputInfo{ {0, 239}, // AX CX DX BX BP SI DI }, }, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 1M bytes - Viewed (0) -
src/crypto/internal/boring/ecdsa.go
size := C._goboringcrypto_ECDSA_size(priv.key) sig := make([]byte, size) var sigLen C.uint if C._goboringcrypto_ECDSA_sign(0, base(hash), C.size_t(len(hash)), base(sig), &sigLen, priv.key) == 0 { return nil, fail("ECDSA_sign") } runtime.KeepAlive(priv) return sig[:sigLen], nil } func VerifyECDSA(pub *PublicKeyECDSA, hash []byte, sig []byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 17:51:31 UTC 2023 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
h ^= fingerprint(buf, bufLen); h = remix(h); buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; } assertEquals(0x7a1d67c50ec7e167L, h); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 15:56:47 UTC 2017 - 6.2K bytes - Viewed (0) -
src/math/big/ftoa.go
// that the lsb of mant corresponds to 1/2 ulp for the precision of // x (i.e., for mant we want x.prec + 1 bits). mant := nat(nil).set(x.mant) exp := int(x.exp) - mant.bitLen() s := mant.bitLen() - int(x.prec+1) switch { case s < 0: mant = mant.shl(mant, uint(-s)) case s > 0: mant = mant.shr(mant, uint(+s)) } exp += s // x = mant * 2**exp with lsb(mant) == 1/2 ulp of x.prec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
test/fibo.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0) -
src/os/user/cgo_lookup_cgo.go
#include <string.h> static struct passwd mygetpwuid_r(int uid, char *buf, size_t buflen, int *found, int *perr) { struct passwd pwd; struct passwd *result; memset (&pwd, 0, sizeof(pwd)); *perr = getpwuid_r(uid, &pwd, buf, buflen, &result); *found = result != NULL; return pwd; } static struct passwd mygetpwnam_r(const char *name, char *buf, size_t buflen, int *found, int *perr) { struct passwd pwd; struct passwd *result;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 16 17:45:51 UTC 2022 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/math.go
// It is also the maximum decimal digits that can be represented with an int64. maxInt64Factors = 18 ) var ( // Commonly needed big.Int values-- treat as read only! bigTen = big.NewInt(10) bigZero = big.NewInt(0) bigOne = big.NewInt(1) bigThousand = big.NewInt(1000) big1024 = big.NewInt(1024) // Commonly needed inf.Dec values-- treat as read only! decZero = inf.NewDec(0, 0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 23 13:07:14 UTC 2020 - 7.3K bytes - Viewed (0)