aboutsummaryrefslogtreecommitdiff
path: root/lib/std/bit_set.zig
AgeCommit message (Collapse)Author
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
Closes #12529 Closes #12511 Closes #6835
2022-06-17stage2: check that struct is a tuple when value tags differ in eqlVeikka Tuominen
2022-06-12std: disable failing tests, add zig2 build test-std to CIVeikka Tuominen
2022-05-10std: make IntegerBitSet and ArrayBitSet have defined memory layoutSilver
This is useful for wrapping C libraries and native interfaces that make use of bit sets
2022-03-08deprecated TypeInfo in favor of TypeJonathan Marler
Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-02-07std.bit_set: add setRangeValue(Range, bool)Arnavion
For large ranges, this is faster than having the caller call setValue() for each index in the range. Masks wholly covered by the range can be set to the new mask value in one go, and the two masks at either end that are partially covered can each set the covered range of bits in one go.
2021-12-039944: make allocator the first argument (excl. self)Jakub Dupak
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-10-01std: disable ArrayBitSet test on aarch64Andrew Kelley
See #9879. This regressed with the release of LLVM 13.0.0.
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
2021-08-06Make DynamicBitSet.iterator take self as constChris Gregory
2021-06-21fix code broken from previous commitJacob G-W
2021-05-20Run `zig fmt` on src/ and lib/std/Isaac Freund
This replaces callconv(.Inline) with the more idiomatic inline keyword.
2021-05-08std: update usage of std.testingVeikka Tuominen
2021-03-18Add some enum utilitiesMartin Wickham
2021-03-01zig fmt the std libAndrew Kelley
2021-03-01Add some bit set variantsMartin Wickham