Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

cpu_wasm.go 439B

1234567891011121314151617
  1. // Copyright 2019 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 wasm
  5. package cpu
  6. // We're compiling the cpu package for an unknown (software-abstracted) CPU.
  7. // Make CacheLinePad an empty struct and hope that the usual struct alignment
  8. // rules are good enough.
  9. const cacheLineSize = 0
  10. func initOptions() {}
  11. func archInit() {}