Source File
crc32_arm64.go
Belonging Package
hash/crc32
// Copyright 2017 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// ARM64-specific hardware-assisted CRC32 algorithms. See crc32.go for a// description of the interface that each architecture-specific file// implements.package crc32importfunc ( uint32, []byte) uint32func ( uint32, []byte) uint32func () bool {return cpu.ARM64.HasCRC32}func () {if !cpu.ARM64.HasCRC32 {panic("arch-specific crc32 instruction for Catagnoli not available")}}func ( uint32, []byte) uint32 {if !cpu.ARM64.HasCRC32 {panic("arch-specific crc32 instruction for Castagnoli not available")}return ^castagnoliUpdate(^, )}func () bool {return cpu.ARM64.HasCRC32}func () {if !cpu.ARM64.HasCRC32 {panic("arch-specific crc32 instruction for IEEE not available")}}func ( uint32, []byte) uint32 {if !cpu.ARM64.HasCRC32 {panic("arch-specific crc32 instruction for IEEE not available")}return ^ieeeUpdate(^, )}
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)