- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,996 for uint64s (0.22 sec)
-
src/internal/profile/proto_test.go
} if got, want := dest.int64s, tc.int64s; !reflect.DeepEqual(got, want) { t.Errorf("failed decode int64s %d, got %v, want %v", i, got, want) } } } type packedInts struct { uint64s []uint64 int64s []int64 } func (u *packedInts) decoder() []decoder { return []decoder{ nil, func(b *buffer, m message) error { return decodeUint64s(b, &m.(*packedInts).uint64s) },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/internal/objfile/macho.go
return "arm64" case macho.CpuPpc64: return "ppc64" } return "" } type uint64s []uint64 func (x uint64s) Len() int { return len(x) } func (x uint64s) Swap(i, j int) { x[i], x[j] = x[j], x[i] } func (x uint64s) Less(i, j int) bool { return x[i] < x[j] } func (f *machoFile) loadAddress() (uint64, error) { if seg := f.macho.Segment("__TEXT"); seg != nil { return seg.Addr, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 3.1K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
uint64(12210202232702069999), // Uint64() uint64(8204908297817606218), // Uint64() uint64(17358349022401942459), // Uint64() uint64(2240328155279531677), // Uint64() uint64(7311121042813227358), // Uint64() uint64(14454429957748299131), // Uint64() uint64(13481244625344276711), // Uint64() uint64(9381769212557126946), // Uint64() uint64(1350674201389090105), // Uint64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
src/net/netip/uint128.go
// uint128 represents a uint128 using two uint64s. // // When the methods below mention a bit number, bit 0 is the most // significant bit (in hi) and bit 127 is the lowest (lo&1). type uint128 struct { hi uint64 lo uint64 } // mask6 returns a uint128 bitmask with the topmost n bits of a // 128-bit number. func mask6(n int) uint128 { return uint128{^(^uint64(0) >> n), ^uint64(0) << (128 - n)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:28:44 UTC 2022 - 2.2K bytes - Viewed (1) -
src/vendor/golang.org/x/crypto/sha3/xor.go
func xorIn(d *state, buf []byte) { if cpu.IsBigEndian { for i := 0; len(buf) >= 8; i++ { a := binary.LittleEndian.Uint64(buf) d.a[i] ^= a buf = buf[8:] } } else { ab := (*[25 * 64 / 8]byte)(unsafe.Pointer(&d.a)) subtle.XORBytes(ab[:], ab[:], buf) } } // copyOut copies uint64s to a byte buffer. func copyOut(d *state, b []byte) { if cpu.IsBigEndian { for i := 0; len(b) >= 8; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 854 bytes - Viewed (0) -
src/internal/chacha8rand/chacha8.go
ctrInc = 4 // increment counter by 4 between block calls ctrMax = 16 // reseed when counter reaches 16 chunk = 32 // each chunk produced by block is 32 uint64s reseed = 4 // reseed with 4 words ) // block is the chacha8rand block function. func block(seed *[4]uint64, blocks *[32]uint64, counter uint32) // A State holds the state for a single random generator. // It must be used from one goroutine at a time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:47:29 UTC 2024 - 4.4K bytes - Viewed (0) -
src/runtime/pprof/protobuf.go
return } b.uint64(tag, x) } func (b *protobuf) int64(tag int, x int64) { u := uint64(x) b.uint64(tag, u) } func (b *protobuf) int64Opt(tag int, x int64) { if x == 0 { return } b.int64(tag, x) } func (b *protobuf) int64s(tag int, x []int64) { if len(x) > 2 { // Use packed encoding n1 := len(b.data) for _, u := range x { b.varint(uint64(u)) } n2 := len(b.data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 20:09:46 UTC 2022 - 2.5K bytes - Viewed (0) -
src/cmd/internal/objfile/pe.go
return "arm64" default: return "" } } func (f *peFile) loadAddress() (uint64, error) { return f.imageBase() } func (f *peFile) imageBase() (uint64, error) { switch oh := f.pe.OptionalHeader.(type) { case *pe.OptionalHeader32: return uint64(oh.ImageBase), nil case *pe.OptionalHeader64: return oh.ImageBase, nil default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 20 00:56:30 UTC 2022 - 4.9K bytes - Viewed (0) -
src/runtime/mpallocbits.go
b.set(i) return } // Set bits [i, j]. j := i + n - 1 if i/64 == j/64 { b[i/64] |= ((uint64(1) << n) - 1) << (i % 64) return } _ = b[j/64] // Set leading bits. b[i/64] |= ^uint64(0) << (i % 64) for k := i/64 + 1; k < j/64; k++ { b[k] = ^uint64(0) } // Set trailing bits. b[j/64] |= (uint64(1) << (j%64 + 1)) - 1 } // setAll sets all the bits of b. func (b *pageBits) setAll() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 15:13:43 UTC 2024 - 12.5K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_generic.go
// Seed values. var x64 uint64 var x uint32 x = uint32(seed[0]) x64 = uint64(x)<<32 | uint64(x) b[4][0] = x64 b[4][1] = x64 x = uint32(seed[0] >> 32) x64 = uint64(x)<<32 | uint64(x) b[5][0] = x64 b[5][1] = x64 x = uint32(seed[1]) x64 = uint64(x)<<32 | uint64(x) b[6][0] = x64 b[6][1] = x64 x = uint32(seed[1] >> 32) x64 = uint64(x)<<32 | uint64(x) b[7][0] = x64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0)