Lines Matching refs:b
146 func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
147 if len(b) < int(off+size) {
150 return readIntLE(b[off:], size), true
153 func readIntLE(b []byte, size uintptr) uint64 {
156 return uint64(b[0])
158 _ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
159 return uint64(b[0]) | uint64(b[1])<<8
161 _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
162 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24
164 _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
165 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 |
166 uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56