Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ NewPlayerList
Function
NewPlayerList
server/player/playerlist.go:10–14 ·
view source on GitHub ↗
(cap uintptr)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
NewPlayerList(cap uintptr) PlayerList {
11
return
PlayerList{
12
playerList: atomic.Make(0, cap, atomic.Pointer),
13
}
14
}
15
16
type
PlayerList
struct
{
17
playerList atomic.Slice
Callers
1
New
Function · 0.92
Calls
1
Make
Function · 0.92
Tested by
no test coverage detected