Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canWriteRecord (0.28 sec)

  1. src/runtime/profbuf.go

    	b.data = make([]uint64, bufwords)
    	b.tags = make([]unsafe.Pointer, tags)
    	b.overflowBuf = make([]uint64, 2+b.hdrsize+1)
    	return b
    }
    
    // canWriteRecord reports whether the buffer has room
    // for a single contiguous record with a stack of length nstk.
    func (b *profBuf) canWriteRecord(nstk int) bool {
    	br := b.r.load()
    	bw := b.w.load()
    
    	// room for tag?
    	if countSub(br.tagCount(), bw.tagCount())+len(b.tags) < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top