github.com/code-reading/golang@v0.0.0-20220303082512-ba5bc0e589a3/go/src/hash/crc32/crc32_otherarch.go (about) 1 // Copyright 2011 The Go 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 && !s390x && !ppc64le && !arm64 6 // +build !amd64,!s390x,!ppc64le,!arm64 7 8 package crc32 9 10 func archAvailableIEEE() bool { return false } 11 func archInitIEEE() { panic("not available") } 12 func archUpdateIEEE(crc uint32, p []byte) uint32 { panic("not available") } 13 14 func archAvailableCastagnoli() bool { return false } 15 func archInitCastagnoli() { panic("not available") } 16 func archUpdateCastagnoli(crc uint32, p []byte) uint32 { panic("not available") }