Codebase list golang-github-minio-sha256-simd / fresh-snapshots/upstream
Import upstream version 1.0.0+git20210617.1.99e45fa Debian Janitor 1 year, 4 months ago
9 changed file(s) with 8 addition(s) and 53 deletion(s). Raw diff Collapse all Expand all
+0
-42
.github/workflows/go.yml less more
0 name: Go
1
2 on:
3 pull_request:
4 branches:
5 - master
6 push:
7 branches:
8 - master
9
10 jobs:
11 build:
12 name: Test on Go ${{ matrix.go-version }} and ${{ matrix.os }}
13 runs-on: ${{ matrix.os }}
14 strategy:
15 max-parallel: 4
16 matrix:
17 go-version: [1.16.x, 1.15.x, 1.14.x]
18 os: [ubuntu-latest, windows-latest, macos-latest]
19 steps:
20 - name: Set up Go ${{ matrix.go-version }}
21 uses: actions/setup-go@v1
22 with:
23 go-version: ${{ matrix.go-version }}
24 id: go
25
26 - name: Check out code into the Go module directory
27 uses: actions/checkout@v1
28
29 - name: Build on ${{ matrix.os }}
30 if: matrix.os == 'windows-latest'
31 run: go test -race -v ./...
32 - name: Build on ${{ matrix.os }}
33 if: matrix.os == 'macos-latest'
34 run: go test -race -v ./...
35 - name: Build on ${{ matrix.os }}
36 if: matrix.os == 'ubuntu-latest'
37 run: |
38 diff -au <(gofmt -d .) <(printf "")
39 go test -race -v ./...
40 go vet -asmdecl .
41 ./test-architectures.sh
+0
-1
.gitignore less more
0 *.test
11
22 go 1.13
33
4 require github.com/klauspost/cpuid/v2 v2.0.4
4 require github.com/klauspost/cpuid/v2 v2.0.6
0 github.com/klauspost/cpuid/v2 v2.0.3 h1:DNljyrHyxlkk8139OXIAAauCwV8eQGDD6Z8YqnDXdZw=
1 github.com/klauspost/cpuid/v2 v2.0.3/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
2 github.com/klauspost/cpuid/v2 v2.0.4 h1:g0I61F2K2DjRHz1cnxlkNSBIaePVoJIjjnHui8QHbiw=
3 github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
0 github.com/klauspost/cpuid/v2 v2.0.6 h1:dQ5ueTiftKxp0gyjKSx5+8BtPWkyQbd95m8Gys/RarI=
1 github.com/klauspost/cpuid/v2 v2.0.6/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
0 //+build !noasm,!appengine
0 //+build !noasm,!appengine,gc
11
22 TEXT ·sha256X16Avx512(SB), 7, $0
33 MOVQ digests+0(FP), DI
0 //+build !noasm,!appengine
0 //+build !noasm,!appengine,gc
11
22 /*
33 * Minio Cloud Storage, (C) 2017 Minio, Inc.
0 //+build !noasm,!appengine
0 //+build !noasm,!appengine,gc
11
22 // SHA intrinsic version of SHA256
33
0 //+build !noasm,!appengine
0 //+build !noasm,!appengine,gc
11
22 package sha256
33
0 //+build !noasm,!appengine
0 //+build !noasm,!appengine,gc
11
22 // ARM64 version of SHA256
33