github.com/primecitizens/pcz/std@v0.2.1/core/mem/equal.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build pcz 5 6 package mem 7 8 import ( 9 "unsafe" 10 ) 11 12 // Equal 13 // 14 // See ${GOROOT}/src/runtime/stubs.go#func:memequal 15 // 16 //go:noescape 17 func Equal(p, q unsafe.Pointer, sz uintptr) bool