aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
AgeCommit message (Expand)Author
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
2021-03-01Add some bit set variantsMartin Wickham
2021-01-27Fix interger overflow when calling joinZ with empty slicesroot
2021-01-11std.os.windows.GetFinalPathNameByHandle: remove intermediate buffersRohlem
2021-01-08added mem.containsAtLeastSobeston
2020-12-31Year++Frank Denis
2020-11-18Merge pull request #7084 from xackus/mem-volatileVeikka Tuominen
2020-11-16std.mem: make args comptime, fix test namesxackus
2020-11-14std.mem: make sliceAsBytes, etc. respect volatilexackus
2020-11-14std.mem: improve doc commentsxackus
2020-11-07Add mem.timingSafeEql() for constant-time array comparisonFrank Denis
2020-11-03sparc64 has a 8Kb page sizeFrank Denis
2020-10-29Set page size to 16KB for aarch64 macosJakub Konka
2020-10-25Make lastIndexOf use the same cut-off between BMH as indexOfdec05eba
2020-10-17std.mem: expose the simpler linear functionsAndrew Kelley
2020-10-17Merge pull request #6259 from dec05eba/masterAndrew Kelley
2020-10-17Make std.meta.Int accept a signedness parameterJan Prudil
2020-09-06Use better haystack size and needle size for cutoff between linear and BMHdec05eba
2020-09-05Add comment to clearify why the first/last element in preprocess isdec05eba
2020-09-05Fix indexOf and lastIndexOf with empty needledec05eba
2020-09-05Fix start index if @sizeOf(T) > 1dec05eba
2020-09-05Check if the type has unique bit representation to see if it can be compared ...dec05eba
2020-09-05Remove type size check, looks like its not neededdec05eba
2020-09-05Make preprocess function take comptime sized slicedec05eba
2020-09-05Fix lastIndexOf and add tests that do not fallback to linear searchdec05eba
2020-09-05Only use boyer-moore-horsepool for types that are power of 2dec05eba
2020-09-05Use boyer-moore-horspool with all types of Tdec05eba
2020-09-05Create skipping tabledec05eba