{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/amirgholami/accfft/pulls/5","id":69502289,"html_url":"https://github.com/amirgholami/accfft/pull/5","diff_url":"https://github.com/amirgholami/accfft/pull/5.diff","patch_url":"https://github.com/amirgholami/accfft/pull/5.patch","issue_url":"https://api.github.com/repos/amirgholami/accfft/issues/5","number":5,"state":"open","locked":false,"title":"Use calloc","user":{"login":"jeffhammond","id":406118,"avatar_url":"https://avatars.githubusercontent.com/u/406118?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffhammond","html_url":"https://github.com/jeffhammond","followers_url":"https://api.github.com/users/jeffhammond/followers","following_url":"https://api.github.com/users/jeffhammond/following{/other_user}","gists_url":"https://api.github.com/users/jeffhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffhammond/subscriptions","organizations_url":"https://api.github.com/users/jeffhammond/orgs","repos_url":"https://api.github.com/users/jeffhammond/repos","events_url":"https://api.github.com/users/jeffhammond/events{/privacy}","received_events_url":"https://api.github.com/users/jeffhammond/received_events","type":"User","site_admin":false},"body":"There are three changes here:\r\n- the pattern of malloc+memset(0) is replaced with calloc\r\n- a bug that occurs whenever `sizeof(int)` is less than `sizeof(ptrdiff_t)` is fixed\r\n- a thrice-repeated expression involving log2() is replaced with a temporary\r\n\r\nI have not even compiled the code because I don't want to install PNetCDF on my laptop just to do this, so please verify these patches before merging.","created_at":"2016-05-10T13:05:16Z","updated_at":"2016-05-10T13:05:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amirgholami/accfft/pulls/5/commits","review_comments_url":"https://api.github.com/repos/amirgholami/accfft/pulls/5/comments","review_comment_url":"https://api.github.com/repos/amirgholami/accfft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amirgholami/accfft/issues/5/comments","statuses_url":"https://api.github.com/repos/amirgholami/accfft/statuses/b196a298f30c43a6b1d4a48fc9b0d08065177832","head":{"label":"jeffhammond:use-calloc","ref":"use-calloc","sha":"b196a298f30c43a6b1d4a48fc9b0d08065177832","user":{"login":"jeffhammond","id":406118,"avatar_url":"https://avatars.githubusercontent.com/u/406118?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffhammond","html_url":"https://github.com/jeffhammond","followers_url":"https://api.github.com/users/jeffhammond/followers","following_url":"https://api.github.com/users/jeffhammond/following{/other_user}","gists_url":"https://api.github.com/users/jeffhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffhammond/subscriptions","organizations_url":"https://api.github.com/users/jeffhammond/orgs","repos_url":"https://api.github.com/users/jeffhammond/repos","events_url":"https://api.github.com/users/jeffhammond/events{/privacy}","received_events_url":"https://api.github.com/users/jeffhammond/received_events","type":"User","site_admin":false},"repo":{"id":58447145,"name":"accfft","full_name":"jeffhammond/accfft","owner":{"login":"jeffhammond","id":406118,"avatar_url":"https://avatars.githubusercontent.com/u/406118?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffhammond","html_url":"https://github.com/jeffhammond","followers_url":"https://api.github.com/users/jeffhammond/followers","following_url":"https://api.github.com/users/jeffhammond/following{/other_user}","gists_url":"https://api.github.com/users/jeffhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffhammond/subscriptions","organizations_url":"https://api.github.com/users/jeffhammond/orgs","repos_url":"https://api.github.com/users/jeffhammond/repos","events_url":"https://api.github.com/users/jeffhammond/events{/privacy}","received_events_url":"https://api.github.com/users/jeffhammond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffhammond/accfft","description":"A Massively Parallel FFT Library for CPU/GPU","fork":true,"url":"https://api.github.com/repos/jeffhammond/accfft","forks_url":"https://api.github.com/repos/jeffhammond/accfft/forks","keys_url":"https://api.github.com/repos/jeffhammond/accfft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffhammond/accfft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffhammond/accfft/teams","hooks_url":"https://api.github.com/repos/jeffhammond/accfft/hooks","issue_events_url":"https://api.github.com/repos/jeffhammond/accfft/issues/events{/number}","events_url":"https://api.github.com/repos/jeffhammond/accfft/events","assignees_url":"https://api.github.com/repos/jeffhammond/accfft/assignees{/user}","branches_url":"https://api.github.com/repos/jeffhammond/accfft/branches{/branch}","tags_url":"https://api.github.com/repos/jeffhammond/accfft/tags","blobs_url":"https://api.github.com/repos/jeffhammond/accfft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffhammond/accfft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffhammond/accfft/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffhammond/accfft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffhammond/accfft/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffhammond/accfft/languages","stargazers_url":"https://api.github.com/repos/jeffhammond/accfft/stargazers","contributors_url":"https://api.github.com/repos/jeffhammond/accfft/contributors","subscribers_url":"https://api.github.com/repos/jeffhammond/accfft/subscribers","subscription_url":"https://api.github.com/repos/jeffhammond/accfft/subscription","commits_url":"https://api.github.com/repos/jeffhammond/accfft/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffhammond/accfft/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffhammond/accfft/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffhammond/accfft/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffhammond/accfft/contents/{+path}","compare_url":"https://api.github.com/repos/jeffhammond/accfft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffhammond/accfft/merges","archive_url":"https://api.github.com/repos/jeffhammond/accfft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffhammond/accfft/downloads","issues_url":"https://api.github.com/repos/jeffhammond/accfft/issues{/number}","pulls_url":"https://api.github.com/repos/jeffhammond/accfft/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffhammond/accfft/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffhammond/accfft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffhammond/accfft/labels{/name}","releases_url":"https://api.github.com/repos/jeffhammond/accfft/releases{/id}","deployments_url":"https://api.github.com/repos/jeffhammond/accfft/deployments","created_at":"2016-05-10T09:21:14Z","updated_at":"2016-05-10T09:21:16Z","pushed_at":"2016-05-10T09:43:43Z","git_url":"git://github.com/jeffhammond/accfft.git","ssh_url":"git@github.com:jeffhammond/accfft.git","clone_url":"https://github.com/jeffhammond/accfft.git","svn_url":"https://github.com/jeffhammond/accfft","homepage":"http://accfft.org","size":449,"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":"amirgholami:master","ref":"master","sha":"abb66aa383c541eb06efa0b8b829ed08806c3ac0","user":{"login":"amirgholami","id":10134507,"avatar_url":"https://avatars.githubusercontent.com/u/10134507?v=3","gravatar_id":"","url":"https://api.github.com/users/amirgholami","html_url":"https://github.com/amirgholami","followers_url":"https://api.github.com/users/amirgholami/followers","following_url":"https://api.github.com/users/amirgholami/following{/other_user}","gists_url":"https://api.github.com/users/amirgholami/gists{/gist_id}","starred_url":"https://api.github.com/users/amirgholami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirgholami/subscriptions","organizations_url":"https://api.github.com/users/amirgholami/orgs","repos_url":"https://api.github.com/users/amirgholami/repos","events_url":"https://api.github.com/users/amirgholami/events{/privacy}","received_events_url":"https://api.github.com/users/amirgholami/received_events","type":"User","site_admin":false},"repo":{"id":33267718,"name":"accfft","full_name":"amirgholami/accfft","owner":{"login":"amirgholami","id":10134507,"avatar_url":"https://avatars.githubusercontent.com/u/10134507?v=3","gravatar_id":"","url":"https://api.github.com/users/amirgholami","html_url":"https://github.com/amirgholami","followers_url":"https://api.github.com/users/amirgholami/followers","following_url":"https://api.github.com/users/amirgholami/following{/other_user}","gists_url":"https://api.github.com/users/amirgholami/gists{/gist_id}","starred_url":"https://api.github.com/users/amirgholami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirgholami/subscriptions","organizations_url":"https://api.github.com/users/amirgholami/orgs","repos_url":"https://api.github.com/users/amirgholami/repos","events_url":"https://api.github.com/users/amirgholami/events{/privacy}","received_events_url":"https://api.github.com/users/amirgholami/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amirgholami/accfft","description":"A Massively Parallel FFT Library for CPU/GPU","fork":false,"url":"https://api.github.com/repos/amirgholami/accfft","forks_url":"https://api.github.com/repos/amirgholami/accfft/forks","keys_url":"https://api.github.com/repos/amirgholami/accfft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amirgholami/accfft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amirgholami/accfft/teams","hooks_url":"https://api.github.com/repos/amirgholami/accfft/hooks","issue_events_url":"https://api.github.com/repos/amirgholami/accfft/issues/events{/number}","events_url":"https://api.github.com/repos/amirgholami/accfft/events","assignees_url":"https://api.github.com/repos/amirgholami/accfft/assignees{/user}","branches_url":"https://api.github.com/repos/amirgholami/accfft/branches{/branch}","tags_url":"https://api.github.com/repos/amirgholami/accfft/tags","blobs_url":"https://api.github.com/repos/amirgholami/accfft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amirgholami/accfft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amirgholami/accfft/git/refs{/sha}","trees_url":"https://api.github.com/repos/amirgholami/accfft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amirgholami/accfft/statuses/{sha}","languages_url":"https://api.github.com/repos/amirgholami/accfft/languages","stargazers_url":"https://api.github.com/repos/amirgholami/accfft/stargazers","contributors_url":"https://api.github.com/repos/amirgholami/accfft/contributors","subscribers_url":"https://api.github.com/repos/amirgholami/accfft/subscribers","subscription_url":"https://api.github.com/repos/amirgholami/accfft/subscription","commits_url":"https://api.github.com/repos/amirgholami/accfft/commits{/sha}","git_commits_url":"https://api.github.com/repos/amirgholami/accfft/git/commits{/sha}","comments_url":"https://api.github.com/repos/amirgholami/accfft/comments{/number}","issue_comment_url":"https://api.github.com/repos/amirgholami/accfft/issues/comments{/number}","contents_url":"https://api.github.com/repos/amirgholami/accfft/contents/{+path}","compare_url":"https://api.github.com/repos/amirgholami/accfft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amirgholami/accfft/merges","archive_url":"https://api.github.com/repos/amirgholami/accfft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amirgholami/accfft/downloads","issues_url":"https://api.github.com/repos/amirgholami/accfft/issues{/number}","pulls_url":"https://api.github.com/repos/amirgholami/accfft/pulls{/number}","milestones_url":"https://api.github.com/repos/amirgholami/accfft/milestones{/number}","notifications_url":"https://api.github.com/repos/amirgholami/accfft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amirgholami/accfft/labels{/name}","releases_url":"https://api.github.com/repos/amirgholami/accfft/releases{/id}","deployments_url":"https://api.github.com/repos/amirgholami/accfft/deployments","created_at":"2015-04-01T19:22:38Z","updated_at":"2016-05-10T09:07:46Z","pushed_at":"2016-05-04T01:59:41Z","git_url":"git://github.com/amirgholami/accfft.git","ssh_url":"git@github.com:amirgholami/accfft.git","clone_url":"https://github.com/amirgholami/accfft.git","svn_url":"https://github.com/amirgholami/accfft","homepage":"http://accfft.org","size":439,"stargazers_count":13,"watchers_count":13,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amirgholami/accfft/pulls/5"},"html":{"href":"https://github.com/amirgholami/accfft/pull/5"},"issue":{"href":"https://api.github.com/repos/amirgholami/accfft/issues/5"},"comments":{"href":"https://api.github.com/repos/amirgholami/accfft/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/amirgholami/accfft/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/amirgholami/accfft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amirgholami/accfft/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/amirgholami/accfft/statuses/b196a298f30c43a6b1d4a48fc9b0d08065177832"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":22,"deletions":41,"changed_files":1}}