Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lxzan/gws
/ Get
Method
Get
internal/pool.go:94–96 ·
view source on GitHub ↗
Get 从池中获取一个值 gets a value from the pool
()
Source
from the content-addressed store, hash-verified
92
// Get 从池中获取一个值
93
// gets a value from the pool
94
func
(c *Pool[T]) Get() T {
95
return
c.p.Get().(T)
96
}
Callers
15
readMessage
Method · 0.45
Init
Method · 0.45
WithExtraHeader
Method · 0.45
WithSubProtocol
Method · 0.45
hijack
Method · 0.45
writeErr
Method · 0.45
doUpgradeFromConn
Method · 0.45
RunListener
Method · 0.45
getBigDeflater
Method · 0.45
splitReader
Method · 0.45
write
Method · 0.45
WriteTo
Method · 0.45
Calls
no outgoing calls
Tested by
10
TestDefaultUpgrader
Function · 0.36
TestCompressServerOption
Function · 0.36
TestBufferPool
Function · 0.36
TestPool
Function · 0.36
TestPool_Get
Function · 0.36
validate
Function · 0.36
TestQueue_Range
Function · 0.36
TestQueue_Addr
Function · 0.36
TestDeque_Update
Function · 0.36
TestQueue_Random
Function · 0.36