github.com/hbdrawn/golang@v0.0.0-20141214014649-6b835209aba2/src/hash/crc32/crc32_generic.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  // +build 386 arm ppc64 ppc64le
     6  
     7  package crc32
     8  
     9  // The file contains the generic version of updateCastagnoli which just calls
    10  // the software implementation.
    11  
    12  func updateCastagnoli(crc uint32, p []byte) uint32 {
    13  	return update(crc, castagnoliTable, p)
    14  }