- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for printindented (0.25 sec)
-
src/runtime/error.go
print(v) case string: printindented(v) default: printanycustomtype(v) } } // Invariant: each newline in the string representation is followed by a tab. func printanycustomtype(i any) { eface := efaceOf(&i) typestring := toRType(eface._type).string() switch eface._type.Kind_ { case abi.String: print(typestring, `("`) printindented(*(*string)(eface.data)) print(`")`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/panic.go
//go:nosplit func throw(s string) { // Everything throw does should be recursively nosplit so it // can be called even when it's unsafe to grow the stack. systemstack(func() { print("fatal error: ") printindented(s) // logically printpanicval(s), but avoids convTstring write barrier print("\n") }) fatalthrow(throwTypeRuntime) } // fatal triggers a fatal error that dumps a stack trace and exits. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0)