- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for itoaDiv (0.52 sec)
-
src/runtime/mgc.go
for d = sched.deferpool; d != nil; d = dlink { dlink = d.link d.link = nil } sched.deferpool = nil unlock(&sched.deferlock) } // Timing // itoaDiv formats val/(10**dec) into buf. func itoaDiv(buf []byte, val uint64, dec int) []byte { i := len(buf) - 1 idec := i - dec for val >= 10 || i >= idec { buf[i] = byte(val%10 + '0') i-- if i == idec { buf[i] = '.'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/runtime/debuglog.go
s.end = end print("[") var tmpbuf [21]byte pnano := int64(nano) - runtimeInitTime if pnano < 0 { // Logged before runtimeInitTime was set. pnano = 0 } pnanoBytes := itoaDiv(tmpbuf[:], uint64(pnano), 9) print(slicebytetostringtmp((*byte)(noescape(unsafe.Pointer(&pnanoBytes[0]))), len(pnanoBytes))) print(" P ", p, "] ") for i := 0; s.begin < s.end; i++ { if i > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0)