{"action":"created","comment":{"url":"https://api.github.com/repos/ribram/lim-db/pulls/comments/33861733","id":33861733,"diff_hunk":"@@ -0,0 +1,79 @@\n+#include \"base\\bitmap.hpp\"\n+\n+#include <stdio.h>\n+\n+#define BITMAP_UNIT_SIZE 64\n+\n+Bitmap::Bitmap(int bits_number) {\n+\tbits_number_ = bits_number;\n+\tbits_array_size_ = (bits_number_ - 1) / BITMAP_UNIT_SIZE + 1;\n+\tbit_array_ = new UINT64[bits_number_];\n+\tfor (INT32 i = 0; i < bits_number_; ++i)\n+\t\tbit_array_[i] = 0;\n+};\n+\n+int Bitmap::set_bit(int index) {","path":"src/base/bitmap.cpp","position":15,"original_position":15,"commit_id":"93a23217f622afa61b2cbdb53b349479eacaaf3b","original_commit_id":"93a23217f622afa61b2cbdb53b349479eacaaf3b","user":{"login":"ribram","id":12672652,"avatar_url":"https://avatars.githubusercontent.com/u/12672652?v=3","gravatar_id":"","url":"https://api.github.com/users/ribram","html_url":"https://github.com/ribram","followers_url":"https://api.github.com/users/ribram/followers","following_url":"https://api.github.com/users/ribram/following{/other_user}","gists_url":"https://api.github.com/users/ribram/gists{/gist_id}","starred_url":"https://api.github.com/users/ribram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribram/subscriptions","organizations_url":"https://api.github.com/users/ribram/orgs","repos_url":"https://api.github.com/users/ribram/repos","events_url":"https://api.github.com/users/ribram/events{/privacy}","received_events_url":"https://api.github.com/users/ribram/received_events","type":"User","site_admin":false},"body":"bool and true/false was ok :).","created_at":"2015-07-03T12:53:21Z","updated_at":"2015-07-03T12:53:21Z","html_url":"https://github.com/ribram/lim-db/pull/4#discussion_r33861733","pull_request_url":"https://api.github.com/repos/ribram/lim-db/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/comments/33861733"},"html":{"href":"https://github.com/ribram/lim-db/pull/4#discussion_r33861733"},"pull_request":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ribram/lim-db/pulls/4","id":39172862,"html_url":"https://github.com/ribram/lim-db/pull/4","diff_url":"https://github.com/ribram/lim-db/pull/4.diff","patch_url":"https://github.com/ribram/lim-db/pull/4.patch","issue_url":"https://api.github.com/repos/ribram/lim-db/issues/4","number":4,"state":"open","locked":false,"title":"hopefully this time ","user":{"login":"Costin11","id":13133282,"avatar_url":"https://avatars.githubusercontent.com/u/13133282?v=3","gravatar_id":"","url":"https://api.github.com/users/Costin11","html_url":"https://github.com/Costin11","followers_url":"https://api.github.com/users/Costin11/followers","following_url":"https://api.github.com/users/Costin11/following{/other_user}","gists_url":"https://api.github.com/users/Costin11/gists{/gist_id}","starred_url":"https://api.github.com/users/Costin11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Costin11/subscriptions","organizations_url":"https://api.github.com/users/Costin11/orgs","repos_url":"https://api.github.com/users/Costin11/repos","events_url":"https://api.github.com/users/Costin11/events{/privacy}","received_events_url":"https://api.github.com/users/Costin11/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-03T12:51:09Z","updated_at":"2015-07-03T12:53:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b51d0ae4705bedb0d20439352c2d0c8c00cbc2dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ribram/lim-db/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ribram/lim-db/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ribram/lim-db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ribram/lim-db/issues/4/comments","statuses_url":"https://api.github.com/repos/ribram/lim-db/statuses/93a23217f622afa61b2cbdb53b349479eacaaf3b","head":{"label":"Costin11:master","ref":"master","sha":"93a23217f622afa61b2cbdb53b349479eacaaf3b","user":{"login":"Costin11","id":13133282,"avatar_url":"https://avatars.githubusercontent.com/u/13133282?v=3","gravatar_id":"","url":"https://api.github.com/users/Costin11","html_url":"https://github.com/Costin11","followers_url":"https://api.github.com/users/Costin11/followers","following_url":"https://api.github.com/users/Costin11/following{/other_user}","gists_url":"https://api.github.com/users/Costin11/gists{/gist_id}","starred_url":"https://api.github.com/users/Costin11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Costin11/subscriptions","organizations_url":"https://api.github.com/users/Costin11/orgs","repos_url":"https://api.github.com/users/Costin11/repos","events_url":"https://api.github.com/users/Costin11/events{/privacy}","received_events_url":"https://api.github.com/users/Costin11/received_events","type":"User","site_admin":false},"repo":{"id":38368001,"name":"lim-db","full_name":"Costin11/lim-db","owner":{"login":"Costin11","id":13133282,"avatar_url":"https://avatars.githubusercontent.com/u/13133282?v=3","gravatar_id":"","url":"https://api.github.com/users/Costin11","html_url":"https://github.com/Costin11","followers_url":"https://api.github.com/users/Costin11/followers","following_url":"https://api.github.com/users/Costin11/following{/other_user}","gists_url":"https://api.github.com/users/Costin11/gists{/gist_id}","starred_url":"https://api.github.com/users/Costin11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Costin11/subscriptions","organizations_url":"https://api.github.com/users/Costin11/orgs","repos_url":"https://api.github.com/users/Costin11/repos","events_url":"https://api.github.com/users/Costin11/events{/privacy}","received_events_url":"https://api.github.com/users/Costin11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Costin11/lim-db","description":"Light In-Memory Database Management System","fork":true,"url":"https://api.github.com/repos/Costin11/lim-db","forks_url":"https://api.github.com/repos/Costin11/lim-db/forks","keys_url":"https://api.github.com/repos/Costin11/lim-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Costin11/lim-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Costin11/lim-db/teams","hooks_url":"https://api.github.com/repos/Costin11/lim-db/hooks","issue_events_url":"https://api.github.com/repos/Costin11/lim-db/issues/events{/number}","events_url":"https://api.github.com/repos/Costin11/lim-db/events","assignees_url":"https://api.github.com/repos/Costin11/lim-db/assignees{/user}","branches_url":"https://api.github.com/repos/Costin11/lim-db/branches{/branch}","tags_url":"https://api.github.com/repos/Costin11/lim-db/tags","blobs_url":"https://api.github.com/repos/Costin11/lim-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Costin11/lim-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Costin11/lim-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/Costin11/lim-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Costin11/lim-db/statuses/{sha}","languages_url":"https://api.github.com/repos/Costin11/lim-db/languages","stargazers_url":"https://api.github.com/repos/Costin11/lim-db/stargazers","contributors_url":"https://api.github.com/repos/Costin11/lim-db/contributors","subscribers_url":"https://api.github.com/repos/Costin11/lim-db/subscribers","subscription_url":"https://api.github.com/repos/Costin11/lim-db/subscription","commits_url":"https://api.github.com/repos/Costin11/lim-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/Costin11/lim-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/Costin11/lim-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/Costin11/lim-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/Costin11/lim-db/contents/{+path}","compare_url":"https://api.github.com/repos/Costin11/lim-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Costin11/lim-db/merges","archive_url":"https://api.github.com/repos/Costin11/lim-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Costin11/lim-db/downloads","issues_url":"https://api.github.com/repos/Costin11/lim-db/issues{/number}","pulls_url":"https://api.github.com/repos/Costin11/lim-db/pulls{/number}","milestones_url":"https://api.github.com/repos/Costin11/lim-db/milestones{/number}","notifications_url":"https://api.github.com/repos/Costin11/lim-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Costin11/lim-db/labels{/name}","releases_url":"https://api.github.com/repos/Costin11/lim-db/releases{/id}","created_at":"2015-07-01T11:40:47Z","updated_at":"2015-07-01T11:40:47Z","pushed_at":"2015-07-03T12:50:28Z","git_url":"git://github.com/Costin11/lim-db.git","ssh_url":"git@github.com:Costin11/lim-db.git","clone_url":"https://github.com/Costin11/lim-db.git","svn_url":"https://github.com/Costin11/lim-db","homepage":null,"size":200,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ribram:master","ref":"master","sha":"6ab272ea68d805a127f4c2fafccc260e114cb5ba","user":{"login":"ribram","id":12672652,"avatar_url":"https://avatars.githubusercontent.com/u/12672652?v=3","gravatar_id":"","url":"https://api.github.com/users/ribram","html_url":"https://github.com/ribram","followers_url":"https://api.github.com/users/ribram/followers","following_url":"https://api.github.com/users/ribram/following{/other_user}","gists_url":"https://api.github.com/users/ribram/gists{/gist_id}","starred_url":"https://api.github.com/users/ribram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribram/subscriptions","organizations_url":"https://api.github.com/users/ribram/orgs","repos_url":"https://api.github.com/users/ribram/repos","events_url":"https://api.github.com/users/ribram/events{/privacy}","received_events_url":"https://api.github.com/users/ribram/received_events","type":"User","site_admin":false},"repo":{"id":36554240,"name":"lim-db","full_name":"ribram/lim-db","owner":{"login":"ribram","id":12672652,"avatar_url":"https://avatars.githubusercontent.com/u/12672652?v=3","gravatar_id":"","url":"https://api.github.com/users/ribram","html_url":"https://github.com/ribram","followers_url":"https://api.github.com/users/ribram/followers","following_url":"https://api.github.com/users/ribram/following{/other_user}","gists_url":"https://api.github.com/users/ribram/gists{/gist_id}","starred_url":"https://api.github.com/users/ribram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ribram/subscriptions","organizations_url":"https://api.github.com/users/ribram/orgs","repos_url":"https://api.github.com/users/ribram/repos","events_url":"https://api.github.com/users/ribram/events{/privacy}","received_events_url":"https://api.github.com/users/ribram/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ribram/lim-db","description":"Light In-Memory Database Management System","fork":false,"url":"https://api.github.com/repos/ribram/lim-db","forks_url":"https://api.github.com/repos/ribram/lim-db/forks","keys_url":"https://api.github.com/repos/ribram/lim-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ribram/lim-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ribram/lim-db/teams","hooks_url":"https://api.github.com/repos/ribram/lim-db/hooks","issue_events_url":"https://api.github.com/repos/ribram/lim-db/issues/events{/number}","events_url":"https://api.github.com/repos/ribram/lim-db/events","assignees_url":"https://api.github.com/repos/ribram/lim-db/assignees{/user}","branches_url":"https://api.github.com/repos/ribram/lim-db/branches{/branch}","tags_url":"https://api.github.com/repos/ribram/lim-db/tags","blobs_url":"https://api.github.com/repos/ribram/lim-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ribram/lim-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ribram/lim-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/ribram/lim-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ribram/lim-db/statuses/{sha}","languages_url":"https://api.github.com/repos/ribram/lim-db/languages","stargazers_url":"https://api.github.com/repos/ribram/lim-db/stargazers","contributors_url":"https://api.github.com/repos/ribram/lim-db/contributors","subscribers_url":"https://api.github.com/repos/ribram/lim-db/subscribers","subscription_url":"https://api.github.com/repos/ribram/lim-db/subscription","commits_url":"https://api.github.com/repos/ribram/lim-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/ribram/lim-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/ribram/lim-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/ribram/lim-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/ribram/lim-db/contents/{+path}","compare_url":"https://api.github.com/repos/ribram/lim-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ribram/lim-db/merges","archive_url":"https://api.github.com/repos/ribram/lim-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ribram/lim-db/downloads","issues_url":"https://api.github.com/repos/ribram/lim-db/issues{/number}","pulls_url":"https://api.github.com/repos/ribram/lim-db/pulls{/number}","milestones_url":"https://api.github.com/repos/ribram/lim-db/milestones{/number}","notifications_url":"https://api.github.com/repos/ribram/lim-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ribram/lim-db/labels{/name}","releases_url":"https://api.github.com/repos/ribram/lim-db/releases{/id}","created_at":"2015-05-30T10:48:09Z","updated_at":"2015-06-03T09:19:40Z","pushed_at":"2015-07-03T12:51:09Z","git_url":"git://github.com/ribram/lim-db.git","ssh_url":"git@github.com:ribram/lim-db.git","clone_url":"https://github.com/ribram/lim-db.git","svn_url":"https://github.com/ribram/lim-db","homepage":null,"size":200,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/4"},"html":{"href":"https://github.com/ribram/lim-db/pull/4"},"issue":{"href":"https://api.github.com/repos/ribram/lim-db/issues/4"},"comments":{"href":"https://api.github.com/repos/ribram/lim-db/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ribram/lim-db/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ribram/lim-db/statuses/93a23217f622afa61b2cbdb53b349479eacaaf3b"}}}}