LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2014 The Go Authors. All rights reserved. | 1 // Copyright 2014 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package runtime | 5 package runtime |
6 | 6 |
7 import "unsafe" | 7 import "unsafe" |
8 | 8 |
9 // Declarations for runtime services implemented in C or assembly. | 9 // Declarations for runtime services implemented in C or assembly. |
10 // C implementations of these functions are in stubs.goc. | 10 // C implementations of these functions are in stubs.goc. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // exported value for testing | 76 // exported value for testing |
77 var hashLoad = loadFactor | 77 var hashLoad = loadFactor |
78 | 78 |
79 // in asm_*.s | 79 // in asm_*.s |
80 //go:noescape | 80 //go:noescape |
81 func gomemeq(a, b unsafe.Pointer, size uintptr) bool | 81 func gomemeq(a, b unsafe.Pointer, size uintptr) bool |
82 | 82 |
83 // Code pointer for the nohash algorithm. Used for producing better error messag
es. | 83 // Code pointer for the nohash algorithm. Used for producing better error messag
es. |
84 var nohashcode uintptr | 84 var nohashcode uintptr |
| 85 |
| 86 // Go version of runtime.throw. |
| 87 // in panic.c |
| 88 func throwgo(s string) |
LEFT | RIGHT |