aboutsummaryrefslogtreecommitdiff
path: root/core/hash/hash.odin
Commit message (Collapse)AuthorAgeFilesLines
* Fix #5498Jeroen van Rijn2025-07-251-1/+1
| | | | | | Also: - Expands `tests/core/hash` - Fixes bug found in `#hash(s, "murmur64")`
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-11/+11
|
* Make hash procedures contextless where possiblegingerBill2024-03-271-12/+12
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Add aliases for fnv* no_a formsgingerBill2022-11-291-1/+3
|
* Rename `fnv32` and `fnv64` to `fnv32_no_a` and `fnv64_no_a`gingerBill2022-11-031-2/+4
|
* Fix murmur64a's tail handling.Jeroen van Rijn2022-07-151-86/+92
| | | | Also, split up the murmur64 proc into murmur64a and murmur64b as they're distinct hashes with their own output.
* Make `raw_data` return `[^]T` typesgingerBill2022-05-231-3/+3
|
* Correct: murmur32gingerBill2022-03-111-1/+1
|
* Move bash.djbx33a to hash.odingingerBill2021-12-291-0/+17
|
* Add optional seed parameters to all hashesgingerBill2021-11-181-22/+20
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-153/+153
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-211-1/+1
|
* Adler32 speedup.Jeroen van Rijn2021-06-241-5/+38
|
* ZLIB: More faster.Jeroen van Rijn2021-06-231-2/+11
|
* Allow seeding CRC32, CRC64 & Adler32 with previous partial hash.Jeroen van Rijn2021-03-251-2/+2
| | | | | | | | | | | | | | | | | Foo := []u8{'F', 'o','o', '3', 'F', 'o', 'o', '4'}; crc := hash.crc32(Foo[0:4]); crc = hash.crc32(Foo[4:], crc); crc_all := hash.crc32(Foo); fmt.printf("%8x %8x\n", crc, crc_all); d6285ff7 d6285ff7 a32 := hash.adler32(Foo[0:4]); a32 = hash.adler32(Foo[4:], a32); a32_all := hash.adler32(Foo); fmt.printf("%8x %8x\n", a32, a32_all); 0c5102b0 0c5102b0
* Add `raw_data` to replace cases in which `&x[0]` was usedgingerBill2020-06-291-3/+3
|
* Add `hash.djb2` `hash.jenkins`; Add `container.Bloom_Filter`; Add ↵gingerBill2020-06-161-143/+24
| | | | `container.Ring`
* Reduce number of range and slice operators #239gingerBill2018-08-011-2/+2
| | | | Replace .. and ... with : and ..
* Make source code compile with 32 bit (but not build 32 bit code)gingerBill2018-06-151-2/+2
|
* Reorganize `runtime` packagegingerBill2018-05-271-1/+1
|
* Parse directories to be packagesgingerBill2018-05-211-0/+348