File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const len8tab = "" +
24
24
"\x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 " +
25
25
"\x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 \x08 "
26
26
27
- // len64 returns the minimum number of bits required to represent x; the result is 0 for x == 0.
27
+ // Len64 returns the minimum number of bits required to represent x; the result is 0 for x == 0.
28
28
//
29
29
// nosplit because this is used in src/runtime/histogram.go, which make run in sensitive contexts.
30
30
//
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func usleep_no_g(usec uint32) {
38
38
usleep (usec )
39
39
}
40
40
41
- // write calls the write system call.
41
+ // write1 calls the write system call.
42
42
// It returns a non-negative number of bytes written or a negative errno value.
43
43
//
44
44
//go:noescape
Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ type adjustinfo struct {
564
564
sghi uintptr
565
565
}
566
566
567
- // Adjustpointer checks whether *vpp is in the old stack described by adjinfo.
567
+ // adjustpointer checks whether *vpp is in the old stack described by adjinfo.
568
568
// If so, it rewrites *vpp to point into the new stack.
569
569
func adjustpointer (adjinfo * adjustinfo , vpp unsafe.Pointer ) {
570
570
pp := (* uintptr )(vpp )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ func usleep_no_g(usec uint32) {
25
25
usleep (usec )
26
26
}
27
27
28
- // write calls the write system call.
28
+ // write1 calls the write system call.
29
29
// It returns a non-negative number of bytes written or a negative errno value.
30
30
//
31
31
//go:noescape
Original file line number Diff line number Diff line change @@ -810,7 +810,7 @@ func printAncestorTraceback(ancestor ancestorInfo) {
810
810
}
811
811
}
812
812
813
- // printAncestorTraceback prints the given function info at a given pc
813
+ // printAncestorTracebackFuncInfo prints the given function info at a given pc
814
814
// within an ancestor traceback. The precision of this info is reduced
815
815
// due to only have access to the pcs at the time of the caller
816
816
// goroutine being created.
@@ -1282,7 +1282,7 @@ type cgoSymbolizerArg struct {
1282
1282
data uintptr
1283
1283
}
1284
1284
1285
- // cgoTraceback prints a traceback of callers.
1285
+ // printCgoTraceback prints a traceback of callers.
1286
1286
func printCgoTraceback (callers * cgoCallers ) {
1287
1287
if cgoSymbolizer == nil {
1288
1288
for _ , c := range callers {
You can’t perform that action at this time.
0 commit comments