{"id":15567587,"url":"https://github.com/wgrape/bitmap","last_synced_at":"2025-04-24T00:04:12.171Z","repository":{"id":66350750,"uuid":"464036770","full_name":"WGrape/bitmap","owner":"WGrape","description":"A simple and easy-to-use bitmap library based on Go language / 一个基于Go语言实现的简单易用的bitmap库","archived":false,"fork":false,"pushed_at":"2022-02-27T07:10:39.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T00:04:02.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WGrape.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-27T04:27:38.000Z","updated_at":"2024-03-07T10:05:34.000Z","dependencies_parsed_at":"2023-02-21T16:00:15.359Z","dependency_job_id":null,"html_url":"https://github.com/WGrape/bitmap","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/WGrape%2Fbitmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGrape%2Fbitmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGrape%2Fbitmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGrape%2Fbitmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WGrape","download_url":"https://codeload.github.com/WGrape/bitmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535098,"owners_count":21446508,"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-02T17:11:54.427Z","updated_at":"2025-04-24T00:04:12.154Z","avatar_url":"https://github.com/WGrape.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bitmap\n\nA simple and easy-to-use bitmap library based on Go language.\n\n## Usage\n\n```go\nm1 := Bitmap{}\nm1.Add(1)\nm1.Add(10)\nm1.Add(999)\n\nm2 := Bitmap{}\nm2.Add(1)\nm2.Add(10)\nm2.Add(998)\n\nm1.IntersectWith(\u0026m2)\n\nfmt.Printf(\"%v\", m1.Elems())\n```\n\n## API\n\n- ```Add``` ：add the element to the set\n- ```Remove``` ：remove the element in the set\n- ```Clear``` ：make the bitmap empty\n- ```Copy``` ：copy the bitmap to a new bitmap\n- ```Has``` ：whether the element already exists in the set\n- ```Elems``` ：return the every element in the set\n- ```UnionWith``` ：calculate the unionSet\n- ```IntersectWith``` ：calculate the interSet\n- ```DifferenceWith``` ：calculate the differenceSet\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgrape%2Fbitmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwgrape%2Fbitmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgrape%2Fbitmap/lists"}