aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
AgeCommit message (Expand)Author
2024-02-25fix integer overflow in indexOfPosLinear when needle.len > haystack.lenTechatrix
2024-02-23std.mem: take advantage of length-based slicingAndrew Kelley
2024-02-08Replace std.rand references with std.Randome4m2
2024-02-04std: use simple eqlBytes for spirvRobin Voetter
2024-01-14mem: add byteswap array support (#17959)Tristan Ross
2024-01-09std.mem: fix simd.suggestVectorLength merge conflictAndrew Kelley
2024-01-09Merge pull request #18318 from castholm/simd-segfaultAndrew Kelley
2024-01-09Optimized `std.mem.eql` with SIMD (#18389)David Rubin
2024-01-04speed up sliceTo when end == sentinelxdBronch
2024-01-03Correct expected/actual parameter order of some assertionsCarl Åstholm
2024-01-03Fix compile errors from the `expectEqual` changeCarl Åstholm
2024-01-01Change `<` to `<=` in `indexOfSentinel` SIMD pathCarl Åstholm
2024-01-01Deprecate `suggestVectorSize` in favor of `suggestVectorLength`Carl Åstholm
2024-01-01Prevent reading over a page boundary in `mem.indexOfSentinel`Carl Åstholm
2023-11-29Remove all usages of `std.mem.copy` and remove `std.mem.set` (#18143)David Rubin
2023-11-22std: remove meta.traitAndrew Kelley
2023-11-19lib: correct unnecessary uses of 'var'mlugg
2023-11-03x86_64: fix std test failuresJacob Young
2023-10-31std.builtin.Endian: make the tags lower caseAndrew Kelley
2023-10-31mem: delete `readIntSlice` and `writeIntSlice`Jacob Young
2023-10-31mem: fix ub in writeIntJacob Young
2023-10-28std.mem.minMax: make it return a tupleAndrew Kelley
2023-10-27x86_64: fix `cond_br`Jacob Young
2023-10-26x86_64: fix behavior of `getValue`Jacob Young
2023-10-25x86_64: pass more testsJacob Young
2023-10-24Sema: don't allow undef values through resolveDefinedValue in typeof blockmlugg
2023-10-23x86_64: implement 128-bit builtinsJacob Young
2023-10-23x86_64: implement enough to pass unicode testsJacob Young
2023-10-22Revert "Revert "Merge pull request #17637 from jacobly0/x86_64-test-std""Jacob Young
2023-10-22Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"Andrew Kelley
2023-10-21x86_64: disable failing tests, enable test-std testingJacob Young
2023-10-21x86_64: fix bugs and disable erroring testsJacob Young
2023-10-16Package.Fetch: normalize path separators in symlinksAndrew Kelley
2023-10-16std.mem: Improve writeIntSlice performancejoadnacer
2023-10-13std.simd: return comptime_int from `suggestVectorSize`Veikka Tuominen
2023-10-09std.mem: use indexOfScalarPos when indexOf is called where needle.len == 1Karl Seguin
2023-10-01std.mem.zeroes: Zero out entire `extern union`, including paddingJay Petacat
2023-09-30fix indexOfSentinel alignment for types larger than 1 byteMarc Tiehuis
2023-09-30std.mem: check backend vector support for indexOfSentinel/indexOfScalarPosMarc Tiehuis
2023-09-30std.mem: add vectorized indexOfScalarPos and indexOfSentinelMarc Tiehuis
2023-09-28std.mem: use for loop instead of while in indexOf* to reduce bound checkingKarl Seguin
2023-09-27std: Reactivate skipped tests w.r.t. llvm/llvm-project#55522Jay Petacat
2023-09-19skip regressed LLVM 17 std lib test on powerpcAndrew Kelley
2023-09-13mem: explicit Allocator.Error on concat and joinPascal S. de Kloe
2023-08-09std.mem.sliceAsBytes: support arrays of zero-bit typesJacob Young
2023-07-12Remove len parameter from splat in standard libantlilja
2023-07-10std: add mem.SplitIterator.peek() (#15670)Meghan
2023-07-10std.mem.zeroes work with allowzero pointersxdBronch
2023-06-27fix u65529 and above overflowing in more placesr00ster91
2023-06-25x86_64: fix crash emitting a packed undefined u128Jacob Young