- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Lsh (0.16 sec)
-
misc/cgo/gmp/pi.go
func extractDigit() int64 { if big.CmpInt(numer, accum) > 0 { return -1 } tmp1.Lsh(numer, 1).Add(tmp1, numer).Add(tmp1, accum) big.DivModInt(tmp1, tmp2, tmp1, denom) tmp2.Add(tmp2, numer) if big.CmpInt(tmp2, denom) >= 0 { return -1 } return tmp1.Int64() } func nextTerm(k int64) { y2 := k*2 + 1 accum.Add(accum, tmp1.Lsh(numer, 1)) accum.Mul(accum, tmp1.SetInt64(y2)) numer.Mul(numer, tmp1.SetInt64(k))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 1.3K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// returned by text/scanner.Scanner, plus a couple of extra values. type ScanToken rune const ( // Asm defines some two-character lexemes. We make up // a rune/ScanToken value for them - ugly but simple. LSH ScanToken = -1000 - iota // << Left shift. RSH // >> Logical right shift. ARR // -> Used on ARM for shift type 3, arithmetic right shift.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
func (z *Int) Mod(x, y *Int) *Int { x.doinit() y.doinit() z.doinit() C.mpz_tdiv_r(&z.i[0], &x.i[0], &y.i[0]) return z } // Lsh sets z = x << s and returns z. func (z *Int) Lsh(x *Int, s uint) *Int { x.doinit() z.doinit() C._mpz_mul_2exp(&z.i[0], &x.i[0], C.ulong(s)) return z } // Rsh sets z = x >> s and returns z.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
ext := "" if p.peek() == lex.LSH { // (Rn)(Rm<<2), the shifted offset register. ext = "LSL" } else { // (Rn)(Rm.UXTW<1), the extended offset register. // Rm.UXTW<<3, the extended register. p.get('.') tok := p.next() ext = tok.String() } if p.peek() == lex.LSH { // parses left shift amount applied after extension: <<Amount p.get(lex.LSH) tok := p.get(scanner.Int)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
cmd/test-utils_test.go
if err != nil { return nil, nil, fmt.Errorf("failed to generate private key: %w", err) } notBefore := time.Now() notAfter := notBefore.Add(validFor) serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128) serialNumber, err := crand.Int(crand.Reader, serialNumberLimit) if err != nil { return nil, nil, fmt.Errorf("failed to generate serial number: %w", err) } template := x509.Certificate{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (darwin-386), const BPF_K = 0 pkg syscall (darwin-386), const BPF_LD = 0 pkg syscall (darwin-386), const BPF_LDX = 1 pkg syscall (darwin-386), const BPF_LEN = 128 pkg syscall (darwin-386), const BPF_LSH = 96 pkg syscall (darwin-386), const BPF_MAJOR_VERSION = 1 pkg syscall (darwin-386), const BPF_MAXBUFSIZE = 524288 pkg syscall (darwin-386), const BPF_MAXINSNS = 512 pkg syscall (darwin-386), const BPF_MEM = 96
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const BPF_LEN = 128 #53466 pkg syscall (freebsd-riscv64), const BPF_LEN ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_LSH = 96 #53466 pkg syscall (freebsd-riscv64), const BPF_LSH ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_MAJOR_VERSION = 1 #53466 pkg syscall (freebsd-riscv64), const BPF_MAJOR_VERSION ideal-int #53466
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const BPF_LDX ideal-int pkg syscall (darwin-arm64), const BPF_LEN = 128 pkg syscall (darwin-arm64), const BPF_LEN ideal-int pkg syscall (darwin-arm64), const BPF_LSH = 96 pkg syscall (darwin-arm64), const BPF_LSH ideal-int pkg syscall (darwin-arm64), const BPF_MAJOR_VERSION = 1 pkg syscall (darwin-arm64), const BPF_MAJOR_VERSION ideal-int pkg syscall (darwin-arm64), const BPF_MAXBUFSIZE = 524288
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const BPF_LDX ideal-int pkg syscall (freebsd-arm64), const BPF_LEN = 128 pkg syscall (freebsd-arm64), const BPF_LEN ideal-int pkg syscall (freebsd-arm64), const BPF_LSH = 96 pkg syscall (freebsd-arm64), const BPF_LSH ideal-int pkg syscall (freebsd-arm64), const BPF_MAJOR_VERSION = 1 pkg syscall (freebsd-arm64), const BPF_MAJOR_VERSION ideal-int pkg syscall (freebsd-arm64), const BPF_MAXBUFSIZE = 524288
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0)