X7ROOT File Manager
Current Path:
/opt/golang/1.17.2/src/math/bits
opt
/
golang
/
1.17.2
/
src
/
math
/
bits
/
📁
..
📄
bits.go
(17.49 KB)
📄
bits_errors.go
(398 B)
📄
bits_errors_bootstrap.go
(621 B)
📄
bits_tables.go
(4.68 KB)
📄
bits_test.go
(32.48 KB)
📄
example_test.go
(5.27 KB)
📄
export_test.go
(204 B)
📄
make_examples.go
(3.14 KB)
📄
make_tables.go
(1.55 KB)
Editing: bits_errors_bootstrap.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build compiler_bootstrap // +build compiler_bootstrap // This version used only for bootstrap (on this path we want // to avoid use of go:linkname as applied to variables). package bits type errorString string func (e errorString) RuntimeError() {} func (e errorString) Error() string { return "runtime error: " + string(e) } var overflowError = error(errorString("integer overflow")) var divideError = error(errorString("integer divide by zero"))
Upload File
Create Folder