return unsafe.Pointer(&zeroVal[0])
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
return unsafe.Pointer(&zeroVal[0]), false
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
fatal("concurrent map writes")
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Set writing after calling Hasher, since Hasher may panic, in which
// case we have not actually done a write.
fatal("concurrent map writes")
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Set writing after calling Hasher, since Hasher may panic, in which
// case we have not actually done a write.
return unsafe.Pointer(&zeroVal[0])
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
return unsafe.Pointer(&zeroVal[0]), false
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
fatal("concurrent map writes")
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Set writing after calling Hasher, since Hasher may panic, in which
// case we have not actually done a write.
fatal("concurrent map writes")
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Set writing after calling Hasher, since Hasher may panic, in which
// case we have not actually done a write.
return elem
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
return elem, true
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Select table.
idx := m.directoryIndex(hash)
fatal("concurrent map writes")
}
- hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&key)), m.seed)
+ k := key
+ hash := typ.Hasher(abi.NoEscape(unsafe.Pointer(&k)), m.seed)
// Set writing after calling Hasher, since Hasher may panic, in which
// case we have not actually done a write.