aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
AgeCommit message (Expand)Author
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
2020-09-05Use boyer-moore-horspool algorithm for indexOfPos and lastIndexOfdec05eba
2020-09-03update uses of deprecated type field accessVexu
2020-08-27Added edge case test to mem.countCléo Rebert
2020-08-26std.mem.countSobeston
2020-08-26forceEval() -> doNotOptimizeAway()Frank Denis
2020-08-26Rename blackBox, move it to std.mem.forceEval()Frank Denis
2020-08-20Merge pull request #6103 from Vexu/externAndrew Kelley
2020-08-20add license header to all std lib filesAndrew Kelley
2020-08-20translate-c: correct translation of global variablesVexu
2020-08-14Support tuples in mem.len and trait.isIndexable (#5897)Dmitry Atamanov
2020-08-08std.mem.Allocator: add return_address to the interfaceAndrew Kelley
2020-08-07std: introduce GeneralPurposeAllocatorAndrew Kelley
2020-08-04zig fmtAndrew Kelley
2020-07-26Add memory replacement routinesmeme
2020-07-17add is_tuple field to struct typeinfoVexu
2020-07-16std.mem.zeroes use std.mem.set instead of `@memset`Vexu
2020-07-16std.mem.zeroInit support initiating with tuplesVexu
2020-07-12std: add mem.joinZIsaac Freund
2020-07-12document a few functions in std.memxackus
2020-07-11run zig fmt on std lib and self hostedVexu
2020-07-01Corrected default value field initialization in std.zeroInitAlexandros Naskos
2020-06-28Fix issue 5741, use after freeJonathan Marler
2020-06-27new allocator interface after Andrew Kelley reviewJonathan Marler
2020-06-26new allocator interfaceJonathan Marler
2020-06-01rename std.mem.defaultInit to std.mem.zeroInitAndrew Kelley
2020-06-01Add initialization helperAlexis Brodeur
2020-05-27Support vectors in mem.lendata-man
2020-05-24Supports vectors in mem.zeroesdata-man
2020-05-24run zig fmt on std libAndrew Kelley
2020-05-16Merge remote-tracking branch 'origin/master' into self-hosted-incremental-com...Andrew Kelley
2020-05-14fix codegen of sentinel-terminated arrays and .got alignmentAndrew Kelley
2020-05-13self-hosted: fix compile errors, except for codegen.zigAndrew Kelley