Affected by GO-2026-5133
and 1 other vulnerabilities
GO-2026-5133: SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected in github.com/authzed/spicedb
GO-2026-5514: SpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb
type DigestMap struct {
// contains filtered or unexported fields
}
DigestMap is a thread-safe map for storing t-digests keyed by string identifiers.
It's designed for concurrent access patterns where multiple goroutines may read
and write digest statistics simultaneously.
CDF returns the cumulative distribution function value at the given value for the key.
Returns the CDF value and true if the key exists, 0 and false otherwise.