mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Update documentation for crc32c, cpu
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
all: build test
|
||||
.PHONY: all
|
||||
|
||||
build:
|
||||
@godep go build
|
||||
|
||||
test: build
|
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean:
|
||||
@rm -v cover.out
|
||||
@@ -0,0 +1,10 @@
|
||||
// Package crc32c provides wrapper around Intel's fast CRC32C with PCLMULQDQ instructions.
|
||||
// The white papers on CRC32C calculations with PCLMULQDQ instruction can be downloaded from:
|
||||
//
|
||||
// http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/crc-iscsi-polynomial-crc32-instruction-paper.pdf
|
||||
// http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-crc-computation-paper.pdf
|
||||
//
|
||||
// Example
|
||||
//
|
||||
// crc32c.Crc32c(value) - value can be any []byte, return value is uint32 value
|
||||
package crc32c
|
||||
@@ -0,0 +1,11 @@
|
||||
all: build test
|
||||
.PHONY: all
|
||||
|
||||
build:
|
||||
@godep go build
|
||||
|
||||
test: build
|
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean:
|
||||
@rm -v cover.out
|
||||
Reference in New Issue
Block a user