- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for 648 (0.02 sec)
-
src/cmd/compile/internal/test/bench_test.go
for j := range a { a[j] += 3 } } } func BenchmarkBitSet(b *testing.B) { const N = 64 * 8 a := make([]uint64, N/64) for i := 0; i < b.N; i++ { for j := uint64(0); j < N; j++ { a[j/64] |= 1 << (j % 64) } } } func BenchmarkBitClear(b *testing.B) { const N = 64 * 8 a := make([]uint64, N/64) for i := 0; i < b.N; i++ { for j := uint64(0); j < N; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 08 03:27:59 UTC 2021 - 2.1K bytes - Viewed (0) -
test/fixedbugs/issue15002.go
panic("bad panic: " + s) } }() return uint64(x[0]) | uint64(x[1])<<8 | uint64(x[2])<<16 | uint64(x[3])<<24 | uint64(x[4])<<32 | uint64(x[5])<<40 | uint64(x[6])<<48 | uint64(x[7])<<56 } func test64i(x []byte, i int) uint64 { defer func() { r := recover() if r == nil { panic("no fault or bounds check failure happened") } s := fmt.Sprintf("%s", r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
test/fixedbugs/issue43099.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 10 03:18:00 UTC 2020 - 858 bytes - Viewed (0) -
src/image/decode_test.go
// GIF images are restricted to a 256-color palette and the conversion // to GIF loses significant image quality. {"testdata/video-001.png", "testdata/video-001.gif", 64 << 8}, {"testdata/video-001.png", "testdata/video-001.interlaced.gif", 64 << 8}, {"testdata/video-001.png", "testdata/video-001.5bpp.gif", 128 << 8}, // JPEG is a lossy format and hence needs a non-zero tolerance.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:51:48 UTC 2019 - 3.7K bytes - Viewed (0) -
src/runtime/pprof/vminfo_darwin.go
} } func read64(p *[8]byte) uint64 { // all supported darwin platforms are little endian return uint64(p[0]) | uint64(p[1])<<8 | uint64(p[2])<<16 | uint64(p[3])<<24 | uint64(p[4])<<32 | uint64(p[5])<<40 | uint64(p[6])<<48 | uint64(p[7])<<56 } func regionFilename(address uint64) string { buf := make([]byte, _MAXPATHLEN) r := proc_regionfilename( os.Getpid(), address, unsafe.SliceData(buf), int64(cap(buf)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 23:35:39 UTC 2023 - 2K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/byteorder.go
_ = b[7] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 | uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56 } func (bigEndian) Uint32(b []byte) uint32 { _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808 return uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 19:48:07 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go
xArgM32and32: (32 + 32) / 8, xArgM32fp: 32 / 8, xArgM32int: 32 / 8, xArgM64: 64 / 8, xArgM64fp: 64 / 8, xArgM64int: 64 / 8, xArgMm2M64: 64 / 8, xArgMmM32: 32 / 8, xArgMmM64: 64 / 8, xArgMoffs16: 16 / 8, xArgMoffs32: 32 / 8, xArgMoffs64: 64 / 8, xArgMoffs8: 8 / 8, xArgR32M16: 16 / 8, xArgR32M8: 8 / 8,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 45.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/dirent.go
case 8: _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 | uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56 default: panic("syscall: readInt with unsupported size") } } // ParseDirent parses up to max directory entries in buf, // appending the names to names. It returns the number of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/binary.go
_ = b[7] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 | uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56 } type binaryBigEndian struct{} func (binaryBigEndian) Uint16(b []byte) uint16 { _ = b[1] // bounds check hint to compiler; see golang.org/issue/14808 return uint16(b[1]) | uint16(b[0])<<8 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.7K bytes - Viewed (0) -
src/internal/byteorder/byteorder.go
func LeUint64(b []byte) uint64 { _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 | uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56 } func LePutUint64(b []byte, v uint64) { _ = b[7] // early bounds check to guarantee safety of writes below b[0] = byte(v) b[1] = byte(v >> 8) b[2] = byte(v >> 16) b[3] = byte(v >> 24)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 20:31:29 UTC 2024 - 3.5K bytes - Viewed (0)