
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
github.com/codahale/hdrhistogram
A pure Go implementation of the HDR Histogram.
A Histogram that supports recording and analyzing sampled data value counts across a configurable integer value range with configurable value precision within the range. Value precision is expressed as the number of significant digits in the value recording, and provides control over value quantization behavior across the value range and the subsequent value resolution at any given level.
For documentation, check godoc.
Use go get
to retrieve the hdrhistogram-go implementation and to add it to your GOPATH
workspace, or project's Go module dependencies.
go get github.com/HdrHistogram/hdrhistogram-go
To update the implementation use go get -u
to retrieve the latest version of the hdrhistogram.
go get github.com/HdrHistogram/hdrhistogram-go
If you are using Go modules, your go get
will default to the latest tagged
release version of the histogram. To get a specific release version, use
@<tag>
in your go get
command.
go get github.com/HdrHistogram/hdrhistogram-go@v0.9.0
To get the latest HdrHistogram/hdrhistogram-go master repository change use @latest
.
go get github.com/HdrHistogram/hdrhistogram-go@latest
This repository has been transferred under the github HdrHstogram umbrella with the help from the orginal author in Sept 2020. The main reasons are to group all implementations under the same roof and to provide more active contribution from the community as the orginal repository was archived several years ago.
Unfortunately such URL change will break go applications that depend on this library directly or indirectly, as discussed here.
The dependency URL should be modified to point to the new repository URL. The tag "v0.9.0" was applied at the point of transfer and will reflect the exact code that was frozen in the original repository.
If you are using Go modules, you can update to the exact point of transfter using the @v0.9.0
tag in your go get
command.
go mod edit -replace github.com/codahale/hdrhistogram=github.com/HdrHistogram/hdrhistogram-go@v0.9.0
Many thanks for Coda Hale for contributing the initial implementation and transfering the repository here.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.