mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-19 22:40:31 +00:00
parent
2eaf312084
commit
1d268e86b5
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import (
|
||||||
const wordSize = int(unsafe.Sizeof(uintptr(0)))
|
const wordSize = int(unsafe.Sizeof(uintptr(0)))
|
||||||
const supportsUnaligned = runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "s390x"
|
const supportsUnaligned = runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "s390x"
|
||||||
|
|
||||||
|
|
||||||
// ANDBytes ands the bytes in a and b. The destination is assumed to have enough
|
// ANDBytes ands the bytes in a and b. The destination is assumed to have enough
|
||||||
// space. Returns the number of bytes and'd.
|
// space. Returns the number of bytes and'd.
|
||||||
func ANDBytes(dst, a, b []byte) int {
|
func ANDBytes(dst, a, b []byte) int {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue