newMapValueNode returns a new instance of mapValueNode.
(keyHash uint32, key K, value V)
| 1239 | |
| 1240 | // newMapValueNode returns a new instance of mapValueNode. |
| 1241 | func newMapValueNode[K, V any](keyHash uint32, key K, value V) *mapValueNode[K, V] { |
| 1242 | return &mapValueNode[K, V]{ |
| 1243 | keyHash: keyHash, |
| 1244 | key: key, |
| 1245 | value: value, |
| 1246 | } |
| 1247 | } |
| 1248 | |
| 1249 | // keyHashValue returns the key hash for this node. |
| 1250 | func (n *mapValueNode[K, V]) keyHashValue() uint32 { |
no outgoing calls
searching dependent graphs…