type fixalloc … type mlink … // Initialize f to allocate objects of the given size, // using the allocator to obtain chunks of memory. func (f *fixalloc) init(size uintptr, first func(arg, p unsafe.Pointer), arg unsafe.Pointer, stat *sysMemStat) { … } func (f *fixalloc) alloc() unsafe.Pointer { … } func (f *fixalloc) free(p unsafe.Pointer) { … }