{"action":"created","comment":{"url":"https://api.github.com/repos/google/gapid/pulls/comments/133250565","pull_request_review_id":56409459,"id":133250565,"diff_hunk":"@@ -0,0 +1,109 @@\n+// Copyright (C) 2017 Google Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//      http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package api\n+\n+// SubCmdIdxTrie is a map-based trie using SubCmdIdx for indexing the data\n+// stored inside.\n+type SubCmdIdxTrie struct {\n+\thasValue  bool\n+\tvalue     interface{}\n+\tnextLevel map[uint64]*SubCmdIdxTrie\n+}\n+\n+// Constructs a new SubCmdIdxTrie instance and returns a pointer to the instance.\n+func NewSubCmdIdxTrie() *SubCmdIdxTrie {\n+\treturn &SubCmdIdxTrie{\n+\t\thasValue:  false,","path":"gapis/api/subcmd_idx_trie.go","position":null,"original_position":28,"commit_id":"12fca8db3ff814a230a9a9fe976420a7e914c4f2","original_commit_id":"8eb6fed5c14b8eec9c91e2279c6b9de88af0d710","user":{"login":"Qining","id":2983685,"avatar_url":"https://avatars0.githubusercontent.com/u/2983685?v=4","gravatar_id":"","url":"https://api.github.com/users/Qining","html_url":"https://github.com/Qining","followers_url":"https://api.github.com/users/Qining/followers","following_url":"https://api.github.com/users/Qining/following{/other_user}","gists_url":"https://api.github.com/users/Qining/gists{/gist_id}","starred_url":"https://api.github.com/users/Qining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qining/subscriptions","organizations_url":"https://api.github.com/users/Qining/orgs","repos_url":"https://api.github.com/users/Qining/repos","events_url":"https://api.github.com/users/Qining/events{/privacy}","received_events_url":"https://api.github.com/users/Qining/received_events","type":"User","site_admin":false},"body":"The initializer is removed in 12fca8db3ff814a230a9a9fe976420a7e914c4f2","created_at":"2017-08-15T17:29:06Z","updated_at":"2017-08-15T17:29:06Z","html_url":"https://github.com/google/gapid/pull/901#discussion_r133250565","pull_request_url":"https://api.github.com/repos/google/gapid/pulls/901","_links":{"self":{"href":"https://api.github.com/repos/google/gapid/pulls/comments/133250565"},"html":{"href":"https://github.com/google/gapid/pull/901#discussion_r133250565"},"pull_request":{"href":"https://api.github.com/repos/google/gapid/pulls/901"}}},"pull_request":{"url":"https://api.github.com/repos/google/gapid/pulls/901","id":135517452,"html_url":"https://github.com/google/gapid/pull/901","diff_url":"https://github.com/google/gapid/pull/901.diff","patch_url":"https://github.com/google/gapid/pull/901.patch","issue_url":"https://api.github.com/repos/google/gapid/issues/901","number":901,"state":"open","locked":false,"title":"A map-based trie for data indexed by SubCmdIdx","user":{"login":"Qining","id":2983685,"avatar_url":"https://avatars0.githubusercontent.com/u/2983685?v=4","gravatar_id":"","url":"https://api.github.com/users/Qining","html_url":"https://github.com/Qining","followers_url":"https://api.github.com/users/Qining/followers","following_url":"https://api.github.com/users/Qining/following{/other_user}","gists_url":"https://api.github.com/users/Qining/gists{/gist_id}","starred_url":"https://api.github.com/users/Qining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qining/subscriptions","organizations_url":"https://api.github.com/users/Qining/orgs","repos_url":"https://api.github.com/users/Qining/repos","events_url":"https://api.github.com/users/Qining/events{/privacy}","received_events_url":"https://api.github.com/users/Qining/received_events","type":"User","site_admin":false},"body":"Vulkan's new DCE #803 needs a data structure indexed by SubCmdIdx.","created_at":"2017-08-14T01:51:04Z","updated_at":"2017-08-15T17:29:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c94502e99b61dc85957d08762402a7d45430a14","assignee":null,"assignees":[],"requested_reviewers":[{"login":"AWoloszyn","id":9043212,"avatar_url":"https://avatars1.githubusercontent.com/u/9043212?v=4","gravatar_id":"","url":"https://api.github.com/users/AWoloszyn","html_url":"https://github.com/AWoloszyn","followers_url":"https://api.github.com/users/AWoloszyn/followers","following_url":"https://api.github.com/users/AWoloszyn/following{/other_user}","gists_url":"https://api.github.com/users/AWoloszyn/gists{/gist_id}","starred_url":"https://api.github.com/users/AWoloszyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AWoloszyn/subscriptions","organizations_url":"https://api.github.com/users/AWoloszyn/orgs","repos_url":"https://api.github.com/users/AWoloszyn/repos","events_url":"https://api.github.com/users/AWoloszyn/events{/privacy}","received_events_url":"https://api.github.com/users/AWoloszyn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/google/gapid/pulls/901/commits","review_comments_url":"https://api.github.com/repos/google/gapid/pulls/901/comments","review_comment_url":"https://api.github.com/repos/google/gapid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/gapid/issues/901/comments","statuses_url":"https://api.github.com/repos/google/gapid/statuses/12fca8db3ff814a230a9a9fe976420a7e914c4f2","head":{"label":"Qining:subcmd-id-trie","ref":"subcmd-id-trie","sha":"12fca8db3ff814a230a9a9fe976420a7e914c4f2","user":{"login":"Qining","id":2983685,"avatar_url":"https://avatars0.githubusercontent.com/u/2983685?v=4","gravatar_id":"","url":"https://api.github.com/users/Qining","html_url":"https://github.com/Qining","followers_url":"https://api.github.com/users/Qining/followers","following_url":"https://api.github.com/users/Qining/following{/other_user}","gists_url":"https://api.github.com/users/Qining/gists{/gist_id}","starred_url":"https://api.github.com/users/Qining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qining/subscriptions","organizations_url":"https://api.github.com/users/Qining/orgs","repos_url":"https://api.github.com/users/Qining/repos","events_url":"https://api.github.com/users/Qining/events{/privacy}","received_events_url":"https://api.github.com/users/Qining/received_events","type":"User","site_admin":false},"repo":{"id":84084813,"name":"gapid","full_name":"Qining/gapid","owner":{"login":"Qining","id":2983685,"avatar_url":"https://avatars0.githubusercontent.com/u/2983685?v=4","gravatar_id":"","url":"https://api.github.com/users/Qining","html_url":"https://github.com/Qining","followers_url":"https://api.github.com/users/Qining/followers","following_url":"https://api.github.com/users/Qining/following{/other_user}","gists_url":"https://api.github.com/users/Qining/gists{/gist_id}","starred_url":"https://api.github.com/users/Qining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qining/subscriptions","organizations_url":"https://api.github.com/users/Qining/orgs","repos_url":"https://api.github.com/users/Qining/repos","events_url":"https://api.github.com/users/Qining/events{/privacy}","received_events_url":"https://api.github.com/users/Qining/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Qining/gapid","description":"Graphics API Debugger","fork":true,"url":"https://api.github.com/repos/Qining/gapid","forks_url":"https://api.github.com/repos/Qining/gapid/forks","keys_url":"https://api.github.com/repos/Qining/gapid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Qining/gapid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Qining/gapid/teams","hooks_url":"https://api.github.com/repos/Qining/gapid/hooks","issue_events_url":"https://api.github.com/repos/Qining/gapid/issues/events{/number}","events_url":"https://api.github.com/repos/Qining/gapid/events","assignees_url":"https://api.github.com/repos/Qining/gapid/assignees{/user}","branches_url":"https://api.github.com/repos/Qining/gapid/branches{/branch}","tags_url":"https://api.github.com/repos/Qining/gapid/tags","blobs_url":"https://api.github.com/repos/Qining/gapid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Qining/gapid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Qining/gapid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Qining/gapid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Qining/gapid/statuses/{sha}","languages_url":"https://api.github.com/repos/Qining/gapid/languages","stargazers_url":"https://api.github.com/repos/Qining/gapid/stargazers","contributors_url":"https://api.github.com/repos/Qining/gapid/contributors","subscribers_url":"https://api.github.com/repos/Qining/gapid/subscribers","subscription_url":"https://api.github.com/repos/Qining/gapid/subscription","commits_url":"https://api.github.com/repos/Qining/gapid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Qining/gapid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Qining/gapid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Qining/gapid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Qining/gapid/contents/{+path}","compare_url":"https://api.github.com/repos/Qining/gapid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Qining/gapid/merges","archive_url":"https://api.github.com/repos/Qining/gapid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Qining/gapid/downloads","issues_url":"https://api.github.com/repos/Qining/gapid/issues{/number}","pulls_url":"https://api.github.com/repos/Qining/gapid/pulls{/number}","milestones_url":"https://api.github.com/repos/Qining/gapid/milestones{/number}","notifications_url":"https://api.github.com/repos/Qining/gapid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Qining/gapid/labels{/name}","releases_url":"https://api.github.com/repos/Qining/gapid/releases{/id}","deployments_url":"https://api.github.com/repos/Qining/gapid/deployments","created_at":"2017-03-06T14:47:19Z","updated_at":"2017-03-06T14:47:25Z","pushed_at":"2017-08-15T17:27:34Z","git_url":"git://github.com/Qining/gapid.git","ssh_url":"git@github.com:Qining/gapid.git","clone_url":"https://github.com/Qining/gapid.git","svn_url":"https://github.com/Qining/gapid","homepage":"","size":42152,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"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":"google:master","ref":"master","sha":"9e98d89c550dabc5468f38456cb3f85c5628667f","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":81937787,"name":"gapid","full_name":"google/gapid","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/gapid","description":"Graphics API Debugger","fork":false,"url":"https://api.github.com/repos/google/gapid","forks_url":"https://api.github.com/repos/google/gapid/forks","keys_url":"https://api.github.com/repos/google/gapid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/gapid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/gapid/teams","hooks_url":"https://api.github.com/repos/google/gapid/hooks","issue_events_url":"https://api.github.com/repos/google/gapid/issues/events{/number}","events_url":"https://api.github.com/repos/google/gapid/events","assignees_url":"https://api.github.com/repos/google/gapid/assignees{/user}","branches_url":"https://api.github.com/repos/google/gapid/branches{/branch}","tags_url":"https://api.github.com/repos/google/gapid/tags","blobs_url":"https://api.github.com/repos/google/gapid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/gapid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/gapid/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/gapid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/gapid/statuses/{sha}","languages_url":"https://api.github.com/repos/google/gapid/languages","stargazers_url":"https://api.github.com/repos/google/gapid/stargazers","contributors_url":"https://api.github.com/repos/google/gapid/contributors","subscribers_url":"https://api.github.com/repos/google/gapid/subscribers","subscription_url":"https://api.github.com/repos/google/gapid/subscription","commits_url":"https://api.github.com/repos/google/gapid/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/gapid/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/gapid/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/gapid/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/gapid/contents/{+path}","compare_url":"https://api.github.com/repos/google/gapid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/gapid/merges","archive_url":"https://api.github.com/repos/google/gapid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/gapid/downloads","issues_url":"https://api.github.com/repos/google/gapid/issues{/number}","pulls_url":"https://api.github.com/repos/google/gapid/pulls{/number}","milestones_url":"https://api.github.com/repos/google/gapid/milestones{/number}","notifications_url":"https://api.github.com/repos/google/gapid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/gapid/labels{/name}","releases_url":"https://api.github.com/repos/google/gapid/releases{/id}","deployments_url":"https://api.github.com/repos/google/gapid/deployments","created_at":"2017-02-14T11:18:43Z","updated_at":"2017-08-15T00:56:29Z","pushed_at":"2017-08-15T17:27:35Z","git_url":"git://github.com/google/gapid.git","ssh_url":"git@github.com:google/gapid.git","clone_url":"https://github.com/google/gapid.git","svn_url":"https://github.com/google/gapid","homepage":"","size":49324,"stargazers_count":376,"watchers_count":376,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":64,"mirror_url":null,"open_issues_count":136,"forks":64,"open_issues":136,"watchers":376,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/gapid/pulls/901"},"html":{"href":"https://github.com/google/gapid/pull/901"},"issue":{"href":"https://api.github.com/repos/google/gapid/issues/901"},"comments":{"href":"https://api.github.com/repos/google/gapid/issues/901/comments"},"review_comments":{"href":"https://api.github.com/repos/google/gapid/pulls/901/comments"},"review_comment":{"href":"https://api.github.com/repos/google/gapid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/gapid/pulls/901/commits"},"statuses":{"href":"https://api.github.com/repos/google/gapid/statuses/12fca8db3ff814a230a9a9fe976420a7e914c4f2"}}}}
{"actor":{"display_login":"Qining"}}