Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

cpu_linux.go 322B

123456789101112131415
  1. // Copyright 2018 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. //go:build !386 && !amd64 && !amd64p32 && !arm64
  5. package cpu
  6. func archInit() {
  7. if err := readHWCAP(); err != nil {
  8. return
  9. }
  10. doinit()
  11. Initialized = true
  12. }