- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for runGCProg (0.11 sec)
-
src/runtime/mbitmap.go
// 10000000 n c: repeat the previous n bits c times; n, c are varints // 1nnnnnnn c: repeat the previous n bits c times; c is a varint // runGCProg returns the number of 1-bit entries written to memory. func runGCProg(prog, dst *byte) uintptr { dstStart := dst // Bits waiting to be written to memory. var bits uintptr var nbits uintptr p := prog Run: for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/runtime/arena.go
p := typ.GCData // start of 1-bit pointer mask (or GC program) var gcProgBits uintptr if typ.Kind_&abi.KindGCProg != 0 { // Expand gc program, using the object itself for storage. gcProgBits = runGCProg(addb(p, 4), (*byte)(ptr)) p = (*byte)(ptr) } nb := typ.PtrBytes / goarch.PtrSize for i := uintptr(0); i < nb; i += ptrBits { k := nb - i if k > ptrBits { k = ptrBits }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0)