MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / DeleteUnsafe

Method DeleteUnsafe

internal/utils/sync/map_int.go:95–98  ·  view source on GitHub ↗
(k K)

Source from the content-addressed store, hash-verified

93}
94
95func (this *IntMap[K, V]) DeleteUnsafe(k K) {
96 var index = this.index(k)
97 delete(this.m[index], k)
98}
99
100func (this *IntMap[K, V]) Len() int {
101 var l int

Callers 1

TestIntMap_ForEachWriteFunction · 0.80

Calls 1

indexMethod · 0.95

Tested by 1

TestIntMap_ForEachWriteFunction · 0.64