aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
AgeCommit message (Expand)Author
2022-02-07std: Allow `mem.zeroes` to work at comptime with extern unionEvan Haas
2022-02-01stage1: avoid anytype fields for type infoAndrew Kelley
2022-01-29Merge pull request #9915 from zzyxyzz/indexOfMinMaxVeikka Tuominen
2022-01-28Rename mem.bswapAllFields to byteSwapAllFieldsJohn Schmidt
2022-01-27Add std.mem.minMax() and std.mem.IndexOfMinMax()Mikhail Popov
2022-01-27std.mem: Add functions to find the index of the mimimum/maximum value in a sl...Mikhail Popov
2022-01-26Update the documentation for std.mem.sliceTo for readabilityJosh Hannaford
2021-12-27std: Skip `comptime` struct fields in `mem.zeroes()` (#10406)Ali Chraghi
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
2021-11-30allocgate: change resize to return optional instead of errorLee Cannon
2021-11-30allocgate: split free out from resizeLee Cannon
2021-11-30allocgate: utilize a *const vtable fieldLee Cannon
2021-11-30allocgate: fix failing testsLee Cannon
2021-11-30allocgate: renamed getAllocator function to allocatorLee Cannon
2021-11-30allocgate: dont use a dummy temporary for stateless allocatorsLee Cannon
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
2021-11-25std.mem.indexOfPos should return start_index when needle length is zero (#10220)Fabio Arnold
2021-11-21Fix type error for u8 in writeIntSliceTrioct
2021-10-04migrate from `std.Target.current` to `@import("builtin").target`Andrew Kelley
2021-09-22FIX resize() for non u8 element types. (#9806)Coleman Broaddus
2021-09-20Address Spaces: Pointer and function info in @TypeRobin Voetter
2021-08-29zig fmt: respect trailing commas in inline assemblyjdmichaud
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
2021-08-11Update mem.split/mem.tokenize doc commentsRyan Liptak
2021-08-06Make mem.split and mem.tokenize generic instead of assuming u8Ryan Liptak
2021-07-02stage2: improve AstGen FileNotFound error messageAndrew Kelley
2021-06-25Add fat/universal dylib support to zig ldTom Maenan Read Cutting
2021-06-21fix code broken from previous commitJacob G-W
2021-06-06fix doc comments copy paste typoAndrew Kelley
2021-06-06std: Add helpers to safely align pointersLemonBoy
2021-06-01os/bits: remove duplicate `sockaddr_storage` for dragonflyKenta Iwasaki
2021-06-01x/os/net: remove unnecessary comptime prefix in resolveScopeID()Kenta Iwasaki
2021-05-28make writeIntSlice functions work for signed integersMatthew Borkowski
2021-05-22fix Boyer-Moore-Horspool algorithm in indexOfPos and lastIndexOf when element...Matthew Borkowski
2021-05-22Merge pull request #7664 from marler8997/fixWindowsPathsAndrew Kelley
2021-05-22fix accidental quadratic dependence on haystack length in replace and replace...Matthew Borkowski
2021-05-21handle relative paths with too many ".."Jonathan Marler
2021-05-20have collapseRepeats return slice intead of just lenJonathan Marler
2021-05-20implement nt path conversion for windowsJonathan Marler
2021-05-12Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-05-12std/mem: add sliceTo(), deprecate spanZ(), lenZ()Isaac Freund
2021-05-08Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-05-08std: update usage of std.testingVeikka Tuominen
2021-04-28Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-04-25#8454 Fix for std.mem.replacementSize adjacent matches bug. (#8455)jumpnbrownweasel
2021-04-22std: fix compile errors caught by stage2 AstGenAndrew Kelley
2021-04-15std: change `@import("builtin")` to `std.builtin`Andrew Kelley
2021-03-20std: Add reset to TokenIteratorNuno Leiria
2021-03-07std: Prevent null pointer deref in mem.len{,Z}LemonBoy