{"id":29572686,"url":"https://github.com/accelbyte/bloom","last_synced_at":"2025-10-15T01:09:13.627Z","repository":{"id":57486103,"uuid":"148935480","full_name":"AccelByte/bloom","owner":"AccelByte","description":"Go bloom filter with Murmur3 hash","archived":false,"fork":false,"pushed_at":"2018-09-15T20:28:25.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-21T06:17:19.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AccelByte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-15T19:57:59.000Z","updated_at":"2019-04-30T01:59:56.000Z","dependencies_parsed_at":"2022-09-18T18:04:18.983Z","dependency_job_id":null,"html_url":"https://github.com/AccelByte/bloom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AccelByte/bloom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fbloom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fbloom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fbloom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fbloom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AccelByte","download_url":"https://codeload.github.com/AccelByte/bloom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fbloom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892512,"owners_count":23845034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-19T05:10:52.621Z","updated_at":"2025-10-15T01:09:08.588Z","avatar_url":"https://github.com/AccelByte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bloom\n\nThis project bloom filter implementation using Murmur3 hash by [github.com/spaolacci/murmur3](github.com/spaolacci/murmur3).\n\n## Usage\n\n### Importing package\n\n```go\nimport \"github.com/AccelByte/bloom\"\n```\n\n### Creating new bloom filter\n\n```go\n// create new filter with size of 100\n// with default Murmur3 hashing strategy\n// and 1.e-5 expected false positive probability\nb := bloom.New(100)\n```\n\n### Putting item into bloom filter\n\n```go\nb.Put([]byte(\"an_item\"))\n```\n\n### Checking if an item exists\n\n```gp\nb.MightContain([]byte(\"an_item\"))\n```\n\n### Exporting bloom filter to JSON\n\n```go\nexported, _ := b.MarshalJSON()\n```\n\n### Constructing bloom filter from exported JSON\n\n```go\nbloomFilterJSON := \u0026bloom.FilterJSON{}\njson.Unmarshal(exported, bloomFilterJSON)\nnewB := bloom.From(bloomFilterJSON.B, bloomFilterJSON.K)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Fbloom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccelbyte%2Fbloom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Fbloom/lists"}