Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jackc/pgx
/ get
Method
get
internal/sanitize/sanitize.go:528–535 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
526
}
527
528
func
(pool *pool[E]) get() E {
529
v, ok := pool.p.Get().(E)
530
if
!ok {
531
v = pool.new()
532
}
533
534
return
v
535
}
536
537
func
(p *pool[E]) put(v E) {
538
if
p.reset(v) {
Callers
3
Sanitize
Method · 0.80
init
Method · 0.80
SanitizeSQL
Function · 0.80
Calls
1
Get
Method · 0.65
Tested by
no test coverage detected