Home | History | Annotate | Download | only in prog

Lines Matching refs:memAlloc

10 // memAlloc keeps track of allocated objects in a program
17 type memAlloc struct {
32 func newMemAlloc(totalMemSize uint64) *memAlloc {
39 ma := &memAlloc{
46 func (ma *memAlloc) noteAlloc(addr0, size0 uint64) {
54 func (ma *memAlloc) alloc(r *randGen, size0 uint64) uint64 {
78 func (ma *memAlloc) bankruptcy() {
89 func (ma *memAlloc) pos(idx uint64) (i1, i0, bit uint64) {
97 func (ma *memAlloc) set(idx uint64) {
105 func (ma *memAlloc) get(idx uint64) bool {