}
i = n.indirect()
}
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
// LoadOrStore returns the existing value for the key if present.
i = n.indirect()
}
if !haveInsertPoint {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
// Grab the lock and double-check what we saw.
top := newIndirect
for {
if hashShift == 0 {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while inserting")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while inserting")
}
hashShift -= nChildrenLog2 // hashShift is for the level parent is at. We need to go deeper.
oi := (oldHash >> hashShift) & nChildrenMask
i = n.indirect()
}
if !haveInsertPoint {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
// Grab the lock and double-check what we saw.
// Check if the node is now empty (and isn't the root), and delete it if able.
for i.parent != nil && i.empty() {
if hashShift == 8*goarch.PtrSize {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
hashShift += nChildrenLog2
// Check if the node is now empty (and isn't the root), and delete it if able.
for i.parent != nil && i.empty() {
if hashShift == 8*goarch.PtrSize {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
hashShift += nChildrenLog2
i = n.indirect()
}
if !found {
- panic("internal/concurrent.HashMapTrie: ran out of hash bits while iterating")
+ panic("internal/sync.HashTrieMap: ran out of hash bits while iterating")
}
// Grab the lock and double-check what we saw.