Source file src/hash/crc32/crc32_otherarch.go

     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  
     7  package crc32
     8  
     9  func archAvailableIEEE() bool                    { return false }
    10  func archInitIEEE()                              { panic("not available") }
    11  func archUpdateIEEE(crc uint32, p []byte) uint32 { panic("not available") }
    12  
    13  func archAvailableCastagnoli() bool                    { return false }
    14  func archInitCastagnoli()                              { panic("not available") }
    15  func archUpdateCastagnoli(crc uint32, p []byte) uint32 { panic("not available") }
    16  

View as plain text