{"id":17244683,"url":"https://github.com/kost/libsimplebloom","last_synced_at":"2025-03-26T04:42:40.704Z","repository":{"id":33746222,"uuid":"37401093","full_name":"kost/libsimplebloom","owner":"kost","description":"Small bloom filter implementation in plain C with utils","archived":false,"fork":false,"pushed_at":"2015-06-17T05:00:09.000Z","size":232,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T06:39:42.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kost.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":"2015-06-14T05:55:47.000Z","updated_at":"2023-03-25T12:51:18.000Z","dependencies_parsed_at":"2022-09-18T10:40:13.809Z","dependency_job_id":null,"html_url":"https://github.com/kost/libsimplebloom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flibsimplebloom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flibsimplebloom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flibsimplebloom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Flibsimplebloom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kost","download_url":"https://codeload.github.com/kost/libsimplebloom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591617,"owners_count":20640692,"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":"2024-10-15T06:27:00.128Z","updated_at":"2025-03-26T04:42:40.668Z","avatar_url":"https://github.com/kost.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libsimplebloom\nSmall bloom filter implementation in plain C with utils\n\nIntroduction\n------------\nThis is libsimplebloom, a simple and small bloom filter implementation in C.\n\nIf you are reading this you probably already know about bloom filters\nand why you might use one. If not, the wikipedia article is a good intro:\nhttp://en.wikipedia.org/wiki/Bloom_filter\n\n\nBuilding\n--------\nBuilding is done using CMake. That means:\n```bash\ncd libsimplebloom \nmkdir build\ncmake ..\nmake \nmake install\n```\n\nBy default it builds an optimized 32bit libsimplebloom. See Makefile comments\nfor other build options.\n\nBinaries and library will be under ./build directory.\n\nSample Usage\n------------\n\n```c\n#include \"bloom.h\"\n\nstruct bloom bloom;\nbloom_init(\u0026bloom, 1000000, 0.01);\nbloom_add(\u0026bloom, buffer, buflen);\n\nif (bloom_check(\u0026bloom, buffer, buflen)) {\n  printf(\"It may be there!\\n\");\n}\n```\n\n\nDocumentation\n-------------\nRead bloom.h for more detailed documentation on the public interfaces.\n\n\nLicense\n-------\nThis code (except MurmurHash2) is under BSD license. MurmurHash2 is\npublic domain. See LICENSE file.\nThis project is based on libbloom by Jyri J. Virkki. This version adds\ndifferent features: more items (int vs unsigned long), saving and \nloading of bloom filter structure, CMake etc.\n\nSee murmur2/README for info on MurmurHash2 (Public Domain).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Flibsimplebloom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkost%2Flibsimplebloom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Flibsimplebloom/lists"}