aboutsummaryrefslogtreecommitdiff
path: root/lib/std/hash/crc
AgeCommit message (Collapse)Author
2025-07-11Remove numerous things deprecated during the 0.14 release cycleLinus Groh
Basically everything that has a direct replacement or no uses left. Notable omissions: - std.ArrayHashMap: Too much fallout, needs a separate cleanup. - std.debug.runtime_safety: Too much fallout. - std.heap.GeneralPurposeAllocator: Lots of references to it remain, not a simple find and replace as "debug allocator" is not equivalent to "general purpose allocator". - std.io.Reader: Is being reworked at the moment. - std.unicode.utf8Decode(): No replacement, needs a new API first. - Manifest backwards compat options: Removal would break test data used by TestFetchBuilder. - panic handler needs to be a namespace: Many tests still rely on it being a function, needs a separate cleanup.
2024-07-09std: fix typos (#20560)Jora Troosh
2024-04-28std.hash.crc: simplify apiMarc Tiehuis
This removes the two original implementations in favour of the single generic one based on the Algorithm type. Previously we had three, very similar implementations which was somewhat confusing when knowing what one should actually be used. The previous polynomials all have equivalent variants available when using the Algorithm type.
2024-04-11std.hash.crc: get rid of usingnamespaceBrandon Black
This flips things around such that std/hash/crc.zig is generated by the catalog-based generation tool, and the real code that used to be in that file is moved out to std/hash/crc/impl.zig. The generated tests are moved to std/hash/crc/test.zig. By going this route, we eliminate the need for usingnamespace without changing anything for callers of these interfaces. The Crc32 tests are simply added to the fixed part of the generated output and compactified a bit. This was the second-to-last usage of usingnamespace left in std.
2023-09-02std/hash: add generic tests for idempotency/iterative apiMarc Tiehuis
2023-01-22Rewrite update_crc_catalog in zig and move tests to separate filefn ⌃ ⌥
2023-01-21std.hash.crc: implement algorithms listed in CRC RevEng catalogfn ⌃ ⌥