aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
AgeCommit message (Expand)Author
2020-03-19revert std.mem.span to prefer len over sentinel; add spanZAndrew Kelley
2020-03-19update std lib to take advantage of slicing with comptime indexesAndrew Kelley
2020-03-19std lib fixups for new semanticsAndrew Kelley
2020-03-19improve std lib code for the new semanticsAndrew Kelley
2020-03-19`@ptrCast` supports casting a slice to pointerAndrew Kelley
2020-03-19fixes in semantic analysis needed to support this featureAndrew Kelley
2020-03-15adjust renameatW to always supply dest root dirAndrew Kelley
2020-03-15fix typo in new mem.len testAndrew Kelley
2020-03-15fix std.mem.span handling of sentinel-terminated arraysAndrew Kelley
2020-03-11Merge pull request #4709 from LemonBoy/implement-2096Andrew Kelley
2020-03-10std: Fix broken testsLemonBoy
2020-03-10add allocSentinel functionJonathan Marler
2020-03-05Fix crash when freeing empty string as null-terminated sentinelMichaƫl Larouche
2020-03-01short std.builtin enum literals in std libxackus
2020-03-01breaking: std.mem.len no longer takes a type argumentAndrew Kelley
2020-03-01add new functions to std.mem and deprecate othersAndrew Kelley
2020-03-01revert changes outside std.fmtAndrew Kelley
2020-03-01std: format contents of sentinel terminated many pointersdaurnimator
2020-02-24Merge pull request #4544 from BarabasGitHub/zeroes-for-non-extern-typesAndrew Kelley
2020-02-24remove uses of `@ArgType` and `@IntType`Vexu
2020-02-24Processed review comments. Updated documentation, used the typinfo for field ...Bas van den Berg
2020-02-24vectors do not support iterating, do not support them (for now)Bas van den Berg
2020-02-24implement zeroes for non extern structs and native typesBas van den Berg
2020-02-23remove @bytesToSlice, @sliceToBytes from tests, docsxackus
2020-02-21remove @bytesToSlice, @sliceToBytes from std libxackus
2020-02-21implement bytesAsSlice, sliceAsBytesxackus
2020-02-16self-hosted libc detectionAndrew Kelley
2020-02-14std: use testing.allocator in testsdaurnimator
2020-02-09fix off-by-one error in std.unicode.utf8ToUtf16LeWithNullAndrew Kelley
2020-01-21std: allocator interface sets freed memory to undefineddaurnimator
2020-01-06Add std.mem.zeroes to the standard libraryTimon Kruiper
2020-01-01std.mem.compare: breaking API changesAndrew Kelley
2019-12-20sentinel slicing improvementsAndrew Kelley
2019-12-20fix std.mem.addNullByte and implement sentinel slicingAndrew Kelley
2019-12-10Replace @typeOf with @TypeOf in all zig sourceRobin Voetter
2019-11-27remove type coercion from array values to referencesAndrew Kelley
2019-11-24make std.mem.toSlice use null terminated pointersAndrew Kelley
2019-11-23update the stage1 implementation to the new proposalAndrew Kelley
2019-11-21string literals are now null terminatedAndrew Kelley
2019-11-08update the codebase to use `@as`Andrew Kelley
2019-11-06allow type coercion from *[0]T to E![]const TAndrew Kelley
2019-10-30make std.net more portableAndrew Kelley
2019-10-28Add some documentation for standard library things. (#3540)Nathan Michaels
2019-10-16fix std.mem.AsBytesReturnType (#3442)Emeka Nkurumeh
2019-09-25mv std/ lib/Andrew Kelley