zig/lib/std
Jan Philipp Hafer 1ea650bb75 compiler_rt: add __popcountsi2, __popcountdi2 and __popcountti2
- apply simpler approach than LLVM for __popcountdi2
  taken from The Art of Computer Programming and generalized
- rename popcountdi2.zig to popcount.zig
- test cases derived from popcountdi2_test.zig
- tests: compare naive approach 10_000 times with
  random numbers created from naive seed 42

    See #1290
2021-11-29 12:50:25 -08:00
..
atomic std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
build add print field to RunStep 2021-11-16 16:35:12 -05:00
c Merge pull request #10073 from hoanga/haiku-support-build2 2021-11-24 18:42:30 -08:00
compress
crypto Merge pull request #10073 from hoanga/haiku-support-build2 2021-11-24 18:42:30 -08:00
dwarf
event std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
fmt
fs Add chmod and chown 2021-11-15 20:04:55 -05:00
hash std.rand: Refactor Random interface 2021-10-27 16:07:48 -04:00
heap std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
io std.rand: Refactor Random interface 2021-10-27 16:07:48 -04:00
json
math AstGen: use reachableExpr for return operand 2021-11-24 14:47:33 -07:00
mem std: Publicize Allocator.reallocBytes 2021-11-09 13:41:38 -05:00
meta Make std.meta.trait.isContainer true for opaques 2021-10-29 20:02:25 +00:00
net migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
os Merge pull request #10151 from hnakamur/zig 2021-11-23 12:32:25 -06:00
rand Add argument for fillFn to Random.init 2021-10-29 19:20:31 -04:00
special compiler_rt: add __popcountsi2, __popcountdi2 and __popcountti2 2021-11-29 12:50:25 -08:00
target
testing
Thread libstd: fix bug in std.Thread.Futex selecting incorrect default macOS version 2021-11-25 22:20:32 +01:00
time
unicode migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
valgrind
x migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
zig zig fmt: Fix performance issue with nested arrays (#10224) 2021-11-26 23:02:09 -05:00
array_hash_map.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
array_list.zig std.ArrayList: add ensureTotalCapacityPrecise and update doc comments 2021-11-01 00:57:24 -07:00
ascii.zig
atomic.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
base64.zig
bit_set.zig
bounded_array.zig std.bounded_array: fix self parameter type in constSlice 2021-11-20 02:35:36 -05:00
buf_map.zig
buf_set.zig
build.zig zig build: add each_lib_rpath property 2021-11-26 21:22:33 -07:00
builtin.zig std.builtin.StackTrace: format() workaround on freestanding 2021-11-19 19:15:14 -07:00
c.zig Add chmod and chown 2021-11-15 20:04:55 -05:00
child_process.zig actually fix child process deadlock on windows 2021-10-17 16:07:51 -04:00
coff.zig Update ensureTotalCapacity to ensureTotalCapacityPrecise where it makes sense 2021-11-01 00:57:33 -07:00
compress.zig
comptime_string_map.zig
crypto.zig add argon2 kdf (#9756) 2021-11-15 04:47:57 +01:00
cstr.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
debug.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
dwarf.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
dynamic_library.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
elf.zig
enums.zig
event.zig
fifo.zig
fmt.zig std: Fix endless loop in fmt impl 2021-10-17 16:06:40 -04:00
fs.zig Merge pull request #10073 from hoanga/haiku-support-build2 2021-11-24 18:42:30 -08:00
hash.zig
hash_map.zig std.rand: Refactor Random interface 2021-10-27 16:07:48 -04:00
heap.zig stage2: fix inline assembly with expression output 2021-10-20 15:34:10 -07:00
io.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
json.zig std/json: use bit-stack for nesting instead of large LLVM integer type 2021-11-16 16:33:56 -05:00
leb128.zig
linked_list.zig
log.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
macho.zig
math.zig std/math: add ldexp and make scalbn an alias 2021-11-23 14:47:01 -05:00
mem.zig std.mem.indexOfPos should return start_index when needle length is zero (#10220) 2021-11-25 20:56:38 -05:00
meta.zig Add std.meta.Float, alongside std.meta.Int 2021-11-22 21:30:20 -05:00
multi_array_list.zig multi_array_list: get function take self by value 2021-10-26 18:55:02 -04:00
net.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
once.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
os.zig add NotLink error (#9877) 2021-11-20 15:49:22 -05:00
packed_int_array.zig Better documentation, use of len field instead of function, @bitSizeOf instead of meta.bitCout 2021-10-09 03:15:34 -04:00
pdb.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
priority_dequeue.zig std.rand: Refactor Random interface 2021-10-27 16:07:48 -04:00
priority_queue.zig Move compareFn from init to type constructor in PriorityQueue and PriorityDequeue. 2021-10-17 17:47:43 -04:00
process.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
Progress.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
rand.zig Add argument for fillFn to Random.init 2021-10-29 19:20:31 -04:00
SemanticVersion.zig
sort.zig std.rand: Refactor Random interface 2021-10-27 16:07:48 -04:00
start.zig wasm: Update wasm stage2 test backend to use 'main' 2021-11-29 08:05:51 +01:00
start_windows_tls.zig
std.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
target.zig bpf: do not invoke lld when linking eBPF relocatables 2021-11-26 10:53:30 +01:00
testing.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
Thread.zig updates for haiku stdc 2021-11-15 00:29:26 -06:00
time.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
unicode.zig Replace ArrayList.init/ensureTotalCapacity pairs with initCapacity 2021-11-04 14:54:25 -04:00
valgrind.zig
wasm.zig wasm-linker: Upstream zwld into stage2 2021-11-27 15:02:01 +01:00
x.zig
zig.zig