您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

cpu_linux.go 312B

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. // +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. }