- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 508 for bigN (0.13 sec)
-
test/nilptr_aix.go
// license that can be found in the LICENSE file. // Test that the implementation catches nil ptr indirection // in a large address space. //go:build aix package main import "unsafe" // Having a big address space means that indexing // at a 1G + 256 MB offset from a nil pointer might not // cause a memory access fault. This test checks // that Go is doing the correct explicit checks to catch
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.1K bytes - Viewed (0) -
src/math/big/arith_s390x_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build s390x && !math_big_pure_go package big import ( "testing" ) // Tests whether the non vector routines are working, even when the tests are run on a // vector-capable machine func TestFunVVnovec(t *testing.T) { if hasVX { for _, a := range sumVV {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 770 bytes - Viewed (0) -
src/runtime/os_linux_be64.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The standard Linux sigset type on big-endian 64-bit machines. //go:build linux && (ppc64 || s390x) package runtime const ( _SS_DISABLE = 2 _NSIG = 65 _SIG_BLOCK = 0 _SIG_UNBLOCK = 1 _SIG_SETMASK = 2 ) type sigset uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 01:56:24 UTC 2022 - 806 bytes - Viewed (0) -
src/encoding/asn1/asn1.go
} return int32(ret64), nil } var bigOne = big.NewInt(1) // parseBigInt treats the given bytes as a big-endian, signed integer and returns // the result. func parseBigInt(bytes []byte) (*big.Int, error) { if err := checkInteger(bytes); err != nil { return nil, err } ret := new(big.Int) if len(bytes) > 0 && bytes[0]&0x80 == 0x80 { // This is a negative number.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 31.8K bytes - Viewed (0) -
src/internal/pkgbits/decoder.go
denom := r.bigInt() return constant.Make(new(big.Rat).SetFrac(num, denom)) case ValBigFloat: return constant.Make(r.bigFloat()) } } func (r *Decoder) bigInt() *big.Int { v := new(big.Int).SetBytes([]byte(r.String())) if r.Bool() { v.Neg(v) } return v } func (r *Decoder) bigFloat() *big.Float { v := new(big.Float).SetPrec(512)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 20:58:46 UTC 2022 - 13.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// Convert from ConstX auxint values to the real uint64 constant they represent. d := uint64(c) << (64 - n) >> (64 - n) C := new(big.Int).SetUint64(d) s := C.BitLen() M := big.NewInt(1) M.Lsh(M, n+uint(s)) // 2^(n+s) M.Add(M, C) // 2^(n+s)+c M.Sub(M, big.NewInt(1)) // 2^(n+s)+c-1 M.Div(M, C) // ⎡2^(n+s)/c⎤ if M.Bit(int(n)) != 1 { panic("n+1st bit isn't set") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
test/fixedbugs/issue67160.go
// license that can be found in the LICENSE file. // Test to make sure that we don't try using larger loads for // generated equality functions on architectures that can't do // unaligned loads. package main // T has a big field that wants to be compared with larger loads/stores. // T is "special" because of the unnamed field, so it needs a generated equality function. // T is an odd number of bytes in size and has alignment 1. type T struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:34:04 UTC 2024 - 767 bytes - Viewed (0) -
ci/official/envs/disk_cache
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 01 03:21:19 UTC 2024 - 1023 bytes - Viewed (0) -
src/crypto/rsa/rsa_test.go
t.Errorf("#%d,%d bad result: %x (want %x)", i, j, out, message.out) } } } } func TestDecryptOAEP(t *testing.T) { random := rand.Reader sha1 := sha1.New() n := new(big.Int) d := new(big.Int) for i, test := range testEncryptOAEPData { n.SetString(test.modulus, 16) d.SetString(test.d, 16) private := new(PrivateKey) private.PublicKey = PublicKey{N: n, E: test.e} private.D = d
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:55:41 UTC 2024 - 30.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan7.go
// Test passing C struct to exported Go function. /* #include <stdint.h> #include <stdlib.h> // T is a C struct with alignment padding after b. // The padding bytes are not considered initialized by MSAN. // It is big enough to be passed on stack in C ABI (and least // on AMD64). typedef struct { char b; uintptr_t x, y; } T; extern void F(T); // Use weak as a hack to permit defining a function even though we use export.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 834 bytes - Viewed (0)