Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasFree (0.07 sec)

  1. src/runtime/mgcscavenge.go

    type scavChunkFlags uint8
    
    // isEmpty returns true if the hasFree flag is unset.
    func (sc *scavChunkFlags) isEmpty() bool {
    	return (*sc)&scavChunkHasFree == 0
    }
    
    // setEmpty clears the hasFree flag.
    func (sc *scavChunkFlags) setEmpty() {
    	*sc &^= scavChunkHasFree
    }
    
    // setNonEmpty sets the hasFree flag.
    func (sc *scavChunkFlags) setNonEmpty() {
    	*sc |= scavChunkHasFree
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top