github.com/linuxboot/fiano@v1.2.0/pkg/bytes/is_zero_filled_other.go (about) 1 // Copyright 2019 the LinuxBoot Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !amd64 6 // +build !amd64 7 8 package bytes 9 10 // IsZeroFilled returns true if b consists of zeros only. 11 //go:nosplit 12 func IsZeroFilled(b []byte) bool { 13 return isZeroFilledSimple(b) 14 }