mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Implement new CPU detection using cpuid, cpuidex plan9 instructions from klauspost/cpuid project, remove C code
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA1 checksum in bytes.
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA1 checksum in bytes.
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA1 checksum in bytes.
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA256 checksum in bytes.
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA512 checksum in bytes.
|
||||
|
||||
Reference in New Issue
Block a user