{"id":21305833,"url":"https://github.com/oleggator/bitset","last_synced_at":"2025-03-15T19:40:54.258Z","repository":{"id":113884049,"uuid":"268040119","full_name":"oleggator/bitset","owner":"oleggator","description":"BitSet for Tarantool","archived":false,"fork":false,"pushed_at":"2020-09-07T11:06:13.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T08:44:59.909Z","etag":null,"topics":["bitmap","bitset","lua","tarantool"],"latest_commit_sha":null,"homepage":"","language":"C++","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/oleggator.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":"2020-05-30T08:32:28.000Z","updated_at":"2023-03-27T13:59:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"eea90dc9-bce4-41d5-977a-30c518d2bed6","html_url":"https://github.com/oleggator/bitset","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/oleggator%2Fbitset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleggator%2Fbitset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleggator%2Fbitset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleggator%2Fbitset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleggator","download_url":"https://codeload.github.com/oleggator/bitset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784099,"owners_count":20347409,"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":["bitmap","bitset","lua","tarantool"],"created_at":"2024-11-21T16:19:37.265Z","updated_at":"2025-03-15T19:40:54.218Z","avatar_url":"https://github.com/oleggator.png","language":"C++","readme":"### Moved to [github.com/tarantool/bitmap](https://github.com/tarantool/bitmap)\n\n# BitSet for Tarantool\n![Test bitset](https://github.com/oleggator/bitset/workflows/Test%20bitset/badge.svg)\n\n## Requirements\n- git\n- make\n- cmake \u003e= 2.8\n- c++11 compiler\n- SSE4, AVX (\u003e= Sandy Bridge or \u003e= Bulldozer)\n\n## API\n### `bitset.new(byte_count)`\nCreates bitset with size in bytes\n\n### `bitset.new_from_string(string)`\nCreates bitset from string\n\n### `bitset.new_from_tuple(tuple, field_no)`\nCreates bitset from tuple binary field\n\n### `bitset.bor_uint_keys(space_id, index_id, field_no, keys)`\nBitwise OR tuples by uint keys\n\n### `bitset.band_uint_keys(space_id, index_id, field_no, keys)`\nBitwise AND tuples by uint keys\n\n### `bitset.bxor_uint_keys(space_id, index_id, field_no, keys)`\nBitwise XOR tuples by uint keys\n\n### `bitset.set_bit_in_tuple_uint_key(space_id, index_id, key, field_no, bit_index)`\nSets bit in tuple field\n\n### `bitset.bor_uint_iter(space_id, index_id, key, field_no, iterator)`\nBitwise OR tuples with iterator by uint key\n\n### `bitset.band_uint_iter(space_id, index_id, key, field_no, iterator)`\nBitwise AND tuples with iterator by uint key\n\n### `bitset.bxor_uint_iter(space_id, index_id, key, field_no, iterator)`\nBitwise XOR tuples with iterator by uint key\n\n### `bitset:bor_in_place(bitset)`\nIn-place bitwise OR bitset with another\n\n### `bitset:band_in_place(bitset)`\nIn-place bitwise AND bitset with another\n\n### `bitset:bxor_in_place(bitset)`\nIn-place bitwise XOR bitset with another\n\n### `bitset:bor_tuple_in_place(tuple, field_no)`\nIn-place bitwise OR bitset with tuple binary field\n\n### `bitset:band_tuple_in_place(tuple, field_no)`\nIn-place bitwise AND bitset with tuple binary field\n\n### `bitset:bxor_tuple_in_place(tuple, field_no)`\nIn-place bitwise XOR bitset with tuple binary field\n\n### `bitset:to_tuple()`\nCasts bitset to Tarantool tuple\n\n### `bitset:to_string()`\nCasts bitset to string\n\n### `bitset:get_bit(index)`\nGets bit by index\n\n### `bitset:set_bit(index, value)`\nSets bit by index to given value\n\n### `bitset:all()`\nChecks if all bits are set to true\n\n### `bitset:any()`\nChecks if any bits are set to true\n\n### `bitset:none()`\nChecks if all bits are set to false\n\n### `bitset:count()`\nReturns the number of bits set to true\n\n### `bitset:set()`\nSets bits to true\n \n### `bitset:reset()`\nSets bits to false\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleggator%2Fbitset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleggator%2Fbitset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleggator%2Fbitset/lists"}