type golang.org/x/sync/semaphore.Weighted

9 uses

	golang.org/x/sync/semaphore (current package)
		semaphore.go#L21: func NewWeighted(n int64) *Weighted {
		semaphore.go#L22: 	w := &Weighted{size: n}
		semaphore.go#L28: type Weighted struct {
		semaphore.go#L38: func (s *Weighted) Acquire(ctx context.Context, n int64) error {
		semaphore.go#L111: func (s *Weighted) TryAcquire(n int64) bool {
		semaphore.go#L122: func (s *Weighted) Release(n int64) {
		semaphore.go#L133: func (s *Weighted) notifyWaiters() {

	github.com/jackc/puddle/v2
		pool.go#L129: 	acquireSem *semaphore.Weighted
		pool.go#L545: func acquireSemAll(sem *semaphore.Weighted, num int) int {