// Dequeue returns the next pointer if available and true
// or 0 and false
Dequeue returns the next pointer if available and true
or 0 and false
// Dequeue returns the next pointer if available and true // or 0 and false
func (P *PointerQueue) Dequeue() (v uint64, ok bool) {
	if P.readIndex == P.writeIndex {
		return 0, false
	}
	v, ok = P.pointers[P.readIndex], true
	P.readIndex++
	if P.readIndex == P.length {
		P.readIndex = 0
	}
	return
}
func ( P * PointerQueue ) Dequeue ( ) ( v uint64 , ok bool ) { if P . readIndex == P . writeIndex { return 0 , false } v , ok = P . pointers [ P . readIndex ] , true P . readIndex ++ if P . readIndex == P . length { P . readIndex = 0 } return }
Dequeue returns the next pointer if available and true
or 0 and false
Dequeue returns the next pointer if available and true or 0 and false