Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ Sort
Method
Sort
internal/iplibrary/ip_list.go:70–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(this *IPList) Sort() {
71
this.mu.Lock()
72
this.sortRangeItems(false)
73
this.mu.Unlock()
74
}
75
76
func
(this *IPList) Delete(itemId uint64) {
77
this.mu.Lock()
Callers
6
processItems
Method · 0.80
TestNewIPList_Memory
Function · 0.80
TestIPList_Contains_Many
Function · 0.80
BenchmarkIPList_Add
Function · 0.80
BenchmarkIPList_Sort
Function · 0.80
updateDisk
Method · 0.80
Calls
3
sortRangeItems
Method · 0.95
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
4
TestNewIPList_Memory
Function · 0.64
TestIPList_Contains_Many
Function · 0.64
BenchmarkIPList_Add
Function · 0.64
BenchmarkIPList_Sort
Function · 0.64