{"id":17360634,"url":"https://github.com/jvdp1/hashtable","last_synced_at":"2026-01-07T05:04:31.702Z","repository":{"id":54952062,"uuid":"330364342","full_name":"jvdp1/hashtable","owner":"jvdp1","description":"Fortran hash tables","archived":false,"fork":false,"pushed_at":"2025-03-08T11:17:49.000Z","size":62,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T11:29:12.537Z","etag":null,"topics":["hash","hash-table","hashtable"],"latest_commit_sha":null,"homepage":"","language":"Fortran","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/jvdp1.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":"2021-01-17T10:24:04.000Z","updated_at":"2025-03-08T10:57:52.000Z","dependencies_parsed_at":"2025-03-08T11:25:42.236Z","dependency_job_id":"949a6cf1-011d-48e3-924f-3e1426ac1c2d","html_url":"https://github.com/jvdp1/hashtable","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/jvdp1%2Fhashtable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvdp1%2Fhashtable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvdp1%2Fhashtable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvdp1%2Fhashtable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jvdp1","download_url":"https://codeload.github.com/jvdp1/hashtable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245881447,"owners_count":20687726,"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":["hash","hash-table","hashtable"],"created_at":"2024-10-15T19:26:53.312Z","updated_at":"2026-01-07T05:04:26.657Z","avatar_url":"https://github.com/jvdp1.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hash tables\n\nModern Fortran hash tables based on the function `hashword` in [lookup3.c](http://burtleburtle.net/bob/c/lookup3.c)\n\n## Derived types\n\nFive derived types are available:\n\nDerived type       | Data to be stored\n-------------------|--------------------------------------------\ntable_char_t        | Characters of a defined length. Trailing blanks are ignored.\ntable_int32_t       | Integer scalars of 32 bits\ntable_real32_t      | Real scalars of 32 bits\ntable_arrint32_t   | Integer arrays of 32 bits\ntable_arrreal32_t  | Real arrays of 32 bits\n\n## Public derived type methods\n\nEach derived type contains these 7 public methods.\n\nMethod         | Class      | Description\n---------------|------------|----------------------------------\n`add(element[, index, lnew])`   | Subroutine | Add the element `element` in the DT if not stored yet. The integer `index` (`intent(out), optional`) contains the index of the elements (between 1 and `getfilled()`. The logical `lnew` (`intent(out), optional`) is `.true.` if the element is not stored yet. Otherwise it is `.false.`.\n`destroy()`            | Function   | Reset all scalars and arrays\n`get(index)`           | Function   | Returns the element stored corresponding to the index `index`.\n`getfilled()`          | Function   | Returns the number of elements stored in the DT\n`getindex(element)`    | Function   | Returns the index (between 1 and `getfilled()`) of the element `element`\n`getsize()`            | Function   | Returns the size of the arrays that contains the stored elements\n`writetable(filename)` | Subroutine | Writes to a file called `filename` all elements and corresponding index stored in the DT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvdp1%2Fhashtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjvdp1%2Fhashtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvdp1%2Fhashtable/lists"}