...
1
2
3
4
5
6
7 package inlheur
8
9 import "strconv"
10
11 func _() {
12
13
14 var x [1]struct{}
15 _ = x[psNoInfo-0]
16 _ = x[psCallsPanic-1]
17 _ = x[psMayReturn-2]
18 _ = x[psTop-3]
19 }
20
21 const _pstate_name = "psNoInfopsCallsPanicpsMayReturnpsTop"
22
23 var _pstate_index = [...]uint8{0, 8, 20, 31, 36}
24
25 func (i pstate) String() string {
26 if i < 0 || i >= pstate(len(_pstate_index)-1) {
27 return "pstate(" + strconv.FormatInt(int64(i), 10) + ")"
28 }
29 return _pstate_name[_pstate_index[i]:_pstate_index[i+1]]
30 }
31
View as plain text