{"action":"created","comment":{"url":"https://api.github.com/repos/ibalashov24/hometask/pulls/comments/170416562","pull_request_review_id":99107453,"id":170416562,"diff_hunk":"@@ -0,0 +1,174 @@\n+﻿namespace HashTableStuff\n+{\n+    using System;\n+\n+    internal class HashTable<TKey, TValue> : IHashTable<TKey, TValue>\n+    {\n+        // New bucket count after resize == oldBucketCount * ResizeFactor\n+        private static readonly int ResizeFactor = 2;\n+\n+        // The hash table resizes when fill factor >= MaxFillFactor\n+        private static readonly double MaxFillFactor = 1.0;","path":"semester_2/homework_2/Problem3/HashTable.cs","position":11,"original_position":11,"commit_id":"733df812df2f4cb1eb9f9a4def4da2c0f150d4ed","original_commit_id":"733df812df2f4cb1eb9f9a4def4da2c0f150d4ed","user":{"login":"yurii-litvinov","id":706768,"avatar_url":"https://avatars3.githubusercontent.com/u/706768?v=4","gravatar_id":"","url":"https://api.github.com/users/yurii-litvinov","html_url":"https://github.com/yurii-litvinov","followers_url":"https://api.github.com/users/yurii-litvinov/followers","following_url":"https://api.github.com/users/yurii-litvinov/following{/other_user}","gists_url":"https://api.github.com/users/yurii-litvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurii-litvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurii-litvinov/subscriptions","organizations_url":"https://api.github.com/users/yurii-litvinov/orgs","repos_url":"https://api.github.com/users/yurii-litvinov/repos","events_url":"https://api.github.com/users/yurii-litvinov/events{/privacy}","received_events_url":"https://api.github.com/users/yurii-litvinov/received_events","type":"User","site_admin":false},"body":"А вот эти штуки не readonly, а const-ы --- их значение известно во время компиляции","created_at":"2018-02-24T09:14:37Z","updated_at":"2018-02-24T09:25:00Z","html_url":"https://github.com/ibalashov24/hometask/pull/13#discussion_r170416562","pull_request_url":"https://api.github.com/repos/ibalashov24/hometask/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/comments/170416562"},"html":{"href":"https://github.com/ibalashov24/hometask/pull/13#discussion_r170416562"},"pull_request":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/ibalashov24/hometask/pulls/13","id":170902705,"html_url":"https://github.com/ibalashov24/hometask/pull/13","diff_url":"https://github.com/ibalashov24/hometask/pull/13.diff","patch_url":"https://github.com/ibalashov24/hometask/pull/13.patch","issue_url":"https://api.github.com/repos/ibalashov24/hometask/issues/13","number":13,"state":"open","locked":false,"title":"Homework 2","user":{"login":"ibalashov24","id":21558097,"avatar_url":"https://avatars1.githubusercontent.com/u/21558097?v=4","gravatar_id":"","url":"https://api.github.com/users/ibalashov24","html_url":"https://github.com/ibalashov24","followers_url":"https://api.github.com/users/ibalashov24/followers","following_url":"https://api.github.com/users/ibalashov24/following{/other_user}","gists_url":"https://api.github.com/users/ibalashov24/gists{/gist_id}","starred_url":"https://api.github.com/users/ibalashov24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibalashov24/subscriptions","organizations_url":"https://api.github.com/users/ibalashov24/orgs","repos_url":"https://api.github.com/users/ibalashov24/repos","events_url":"https://api.github.com/users/ibalashov24/events{/privacy}","received_events_url":"https://api.github.com/users/ibalashov24/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-23T00:17:59Z","updated_at":"2018-02-24T09:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26904856ad180378390012bc60ef547f41699ab6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ibalashov24/hometask/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ibalashov24/hometask/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ibalashov24/hometask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ibalashov24/hometask/issues/13/comments","statuses_url":"https://api.github.com/repos/ibalashov24/hometask/statuses/733df812df2f4cb1eb9f9a4def4da2c0f150d4ed","head":{"label":"ibalashov24:s_2_homework_2","ref":"s_2_homework_2","sha":"733df812df2f4cb1eb9f9a4def4da2c0f150d4ed","user":{"login":"ibalashov24","id":21558097,"avatar_url":"https://avatars1.githubusercontent.com/u/21558097?v=4","gravatar_id":"","url":"https://api.github.com/users/ibalashov24","html_url":"https://github.com/ibalashov24","followers_url":"https://api.github.com/users/ibalashov24/followers","following_url":"https://api.github.com/users/ibalashov24/following{/other_user}","gists_url":"https://api.github.com/users/ibalashov24/gists{/gist_id}","starred_url":"https://api.github.com/users/ibalashov24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibalashov24/subscriptions","organizations_url":"https://api.github.com/users/ibalashov24/orgs","repos_url":"https://api.github.com/users/ibalashov24/repos","events_url":"https://api.github.com/users/ibalashov24/events{/privacy}","received_events_url":"https://api.github.com/users/ibalashov24/received_events","type":"User","site_admin":false},"repo":{"id":108744649,"name":"hometask","full_name":"ibalashov24/hometask","owner":{"login":"ibalashov24","id":21558097,"avatar_url":"https://avatars1.githubusercontent.com/u/21558097?v=4","gravatar_id":"","url":"https://api.github.com/users/ibalashov24","html_url":"https://github.com/ibalashov24","followers_url":"https://api.github.com/users/ibalashov24/followers","following_url":"https://api.github.com/users/ibalashov24/following{/other_user}","gists_url":"https://api.github.com/users/ibalashov24/gists{/gist_id}","starred_url":"https://api.github.com/users/ibalashov24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibalashov24/subscriptions","organizations_url":"https://api.github.com/users/ibalashov24/orgs","repos_url":"https://api.github.com/users/ibalashov24/repos","events_url":"https://api.github.com/users/ibalashov24/events{/privacy}","received_events_url":"https://api.github.com/users/ibalashov24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ibalashov24/hometask","description":null,"fork":false,"url":"https://api.github.com/repos/ibalashov24/hometask","forks_url":"https://api.github.com/repos/ibalashov24/hometask/forks","keys_url":"https://api.github.com/repos/ibalashov24/hometask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibalashov24/hometask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibalashov24/hometask/teams","hooks_url":"https://api.github.com/repos/ibalashov24/hometask/hooks","issue_events_url":"https://api.github.com/repos/ibalashov24/hometask/issues/events{/number}","events_url":"https://api.github.com/repos/ibalashov24/hometask/events","assignees_url":"https://api.github.com/repos/ibalashov24/hometask/assignees{/user}","branches_url":"https://api.github.com/repos/ibalashov24/hometask/branches{/branch}","tags_url":"https://api.github.com/repos/ibalashov24/hometask/tags","blobs_url":"https://api.github.com/repos/ibalashov24/hometask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibalashov24/hometask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibalashov24/hometask/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibalashov24/hometask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibalashov24/hometask/statuses/{sha}","languages_url":"https://api.github.com/repos/ibalashov24/hometask/languages","stargazers_url":"https://api.github.com/repos/ibalashov24/hometask/stargazers","contributors_url":"https://api.github.com/repos/ibalashov24/hometask/contributors","subscribers_url":"https://api.github.com/repos/ibalashov24/hometask/subscribers","subscription_url":"https://api.github.com/repos/ibalashov24/hometask/subscription","commits_url":"https://api.github.com/repos/ibalashov24/hometask/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibalashov24/hometask/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibalashov24/hometask/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibalashov24/hometask/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibalashov24/hometask/contents/{+path}","compare_url":"https://api.github.com/repos/ibalashov24/hometask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibalashov24/hometask/merges","archive_url":"https://api.github.com/repos/ibalashov24/hometask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibalashov24/hometask/downloads","issues_url":"https://api.github.com/repos/ibalashov24/hometask/issues{/number}","pulls_url":"https://api.github.com/repos/ibalashov24/hometask/pulls{/number}","milestones_url":"https://api.github.com/repos/ibalashov24/hometask/milestones{/number}","notifications_url":"https://api.github.com/repos/ibalashov24/hometask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibalashov24/hometask/labels{/name}","releases_url":"https://api.github.com/repos/ibalashov24/hometask/releases{/id}","deployments_url":"https://api.github.com/repos/ibalashov24/hometask/deployments","created_at":"2017-10-29T15:08:49Z","updated_at":"2017-10-29T15:31:43Z","pushed_at":"2018-02-23T23:31:56Z","git_url":"git://github.com/ibalashov24/hometask.git","ssh_url":"git@github.com:ibalashov24/hometask.git","clone_url":"https://github.com/ibalashov24/hometask.git","svn_url":"https://github.com/ibalashov24/hometask","homepage":null,"size":1891,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ibalashov24:master","ref":"master","sha":"bc38b5dc05a53ba85e74e6da7dbeb912cb794565","user":{"login":"ibalashov24","id":21558097,"avatar_url":"https://avatars1.githubusercontent.com/u/21558097?v=4","gravatar_id":"","url":"https://api.github.com/users/ibalashov24","html_url":"https://github.com/ibalashov24","followers_url":"https://api.github.com/users/ibalashov24/followers","following_url":"https://api.github.com/users/ibalashov24/following{/other_user}","gists_url":"https://api.github.com/users/ibalashov24/gists{/gist_id}","starred_url":"https://api.github.com/users/ibalashov24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibalashov24/subscriptions","organizations_url":"https://api.github.com/users/ibalashov24/orgs","repos_url":"https://api.github.com/users/ibalashov24/repos","events_url":"https://api.github.com/users/ibalashov24/events{/privacy}","received_events_url":"https://api.github.com/users/ibalashov24/received_events","type":"User","site_admin":false},"repo":{"id":108744649,"name":"hometask","full_name":"ibalashov24/hometask","owner":{"login":"ibalashov24","id":21558097,"avatar_url":"https://avatars1.githubusercontent.com/u/21558097?v=4","gravatar_id":"","url":"https://api.github.com/users/ibalashov24","html_url":"https://github.com/ibalashov24","followers_url":"https://api.github.com/users/ibalashov24/followers","following_url":"https://api.github.com/users/ibalashov24/following{/other_user}","gists_url":"https://api.github.com/users/ibalashov24/gists{/gist_id}","starred_url":"https://api.github.com/users/ibalashov24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibalashov24/subscriptions","organizations_url":"https://api.github.com/users/ibalashov24/orgs","repos_url":"https://api.github.com/users/ibalashov24/repos","events_url":"https://api.github.com/users/ibalashov24/events{/privacy}","received_events_url":"https://api.github.com/users/ibalashov24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ibalashov24/hometask","description":null,"fork":false,"url":"https://api.github.com/repos/ibalashov24/hometask","forks_url":"https://api.github.com/repos/ibalashov24/hometask/forks","keys_url":"https://api.github.com/repos/ibalashov24/hometask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibalashov24/hometask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibalashov24/hometask/teams","hooks_url":"https://api.github.com/repos/ibalashov24/hometask/hooks","issue_events_url":"https://api.github.com/repos/ibalashov24/hometask/issues/events{/number}","events_url":"https://api.github.com/repos/ibalashov24/hometask/events","assignees_url":"https://api.github.com/repos/ibalashov24/hometask/assignees{/user}","branches_url":"https://api.github.com/repos/ibalashov24/hometask/branches{/branch}","tags_url":"https://api.github.com/repos/ibalashov24/hometask/tags","blobs_url":"https://api.github.com/repos/ibalashov24/hometask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibalashov24/hometask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibalashov24/hometask/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibalashov24/hometask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibalashov24/hometask/statuses/{sha}","languages_url":"https://api.github.com/repos/ibalashov24/hometask/languages","stargazers_url":"https://api.github.com/repos/ibalashov24/hometask/stargazers","contributors_url":"https://api.github.com/repos/ibalashov24/hometask/contributors","subscribers_url":"https://api.github.com/repos/ibalashov24/hometask/subscribers","subscription_url":"https://api.github.com/repos/ibalashov24/hometask/subscription","commits_url":"https://api.github.com/repos/ibalashov24/hometask/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibalashov24/hometask/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibalashov24/hometask/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibalashov24/hometask/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibalashov24/hometask/contents/{+path}","compare_url":"https://api.github.com/repos/ibalashov24/hometask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibalashov24/hometask/merges","archive_url":"https://api.github.com/repos/ibalashov24/hometask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibalashov24/hometask/downloads","issues_url":"https://api.github.com/repos/ibalashov24/hometask/issues{/number}","pulls_url":"https://api.github.com/repos/ibalashov24/hometask/pulls{/number}","milestones_url":"https://api.github.com/repos/ibalashov24/hometask/milestones{/number}","notifications_url":"https://api.github.com/repos/ibalashov24/hometask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibalashov24/hometask/labels{/name}","releases_url":"https://api.github.com/repos/ibalashov24/hometask/releases{/id}","deployments_url":"https://api.github.com/repos/ibalashov24/hometask/deployments","created_at":"2017-10-29T15:08:49Z","updated_at":"2017-10-29T15:31:43Z","pushed_at":"2018-02-23T23:31:56Z","git_url":"git://github.com/ibalashov24/hometask.git","ssh_url":"git@github.com:ibalashov24/hometask.git","clone_url":"https://github.com/ibalashov24/hometask.git","svn_url":"https://github.com/ibalashov24/hometask","homepage":null,"size":1891,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/13"},"html":{"href":"https://github.com/ibalashov24/hometask/pull/13"},"issue":{"href":"https://api.github.com/repos/ibalashov24/hometask/issues/13"},"comments":{"href":"https://api.github.com/repos/ibalashov24/hometask/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ibalashov24/hometask/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ibalashov24/hometask/statuses/733df812df2f4cb1eb9f9a4def4da2c0f150d4ed"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yurii-litvinov"}}