func (alloc *Allocator) cancelOps(ops *[]operation) {
	for _, op := range *ops {
		op.Cancel()
	}
	*ops = []operation{}
}
// Cancel all operations in a queue
Cancel all operations in a queue
// Cancel all operations in a queue
func (alloc *Allocator) cancelOps(ops *[]operation) {
	for _, op := range *ops {
		op.Cancel()
	}
	*ops = []operation{}
}
func ( alloc * Allocator ) cancelOps ( ops * [ ] operation ) { for _ , op := range * ops { op . Cancel ( ) } * ops = [ ] operation { } }
Cancel all operations in a queue
Cancel all operations in a queue