const github.com/go-redis/redis/v8/internal/hashtag.slotNumber
3 uses
github.com/go-redis/redis/v8/internal/hashtag (current package)
hashtag.go#L9: const slotNumber = 16384
hashtag.go#L60: return rand.Intn(slotNumber)
hashtag.go#L70: return int(crc16sum(key)) % slotNumber
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |