Commit Graph

1975 Commits

Author SHA1 Message Date
gingerBill
6fa3c992b5 mem.Raw_* alias runtime.Raw_* 2021-09-25 17:29:51 +01:00
gingerBill
868c923770 Make map internals more robust when using mem.nil_allocator() 2021-09-25 15:55:27 +01:00
gingerBill
fa0d58f96e Correct f64 -> u128/i128 generation 2021-09-25 15:38:56 +01:00
gingerBill
ebc09d5e4e Add i128 and u128 parsers to strconv 2021-09-25 14:30:50 +01:00
gingerBill
bfc92d0aaf Make runtime.memset use int for the length from uint 2021-09-23 23:43:29 +01:00
gingerBill
360f75a65c Keep -vet happy 2021-09-23 12:19:08 +01:00
Jeroen van Rijn
6e22a6dfa5 hash: Smaller CRC-64 ISO 3306 table. 2021-09-21 16:28:35 +02:00
Jeroen van Rijn
181eabcffc hash: Add CRC-64 (ISO 3306) and inverse. 2021-09-21 16:17:01 +02:00
Jeroen van Rijn
b600ffba3b Correct CRC-64 (ECMA 182) & add CRC-64 (XZ) and tests. 2021-09-21 15:17:23 +02:00
Daniel Gavin
50ee65ea9e Make default_parser use the optional_semicolons and add odin parser test. 2021-09-20 20:50:01 +02:00
Daniel Gavin
a2a7647c90 Fix '>>' operand being tokenized correctly and switch statement with bare semicolon. 2021-09-20 20:12:13 +02:00
Jeroen van Rijn
eb9665f836 fix mem.new_clone 2021-09-19 22:19:06 +02:00
Jeroen van Rijn
bf15e63130 Revert "Merge pull request #1177 from Kelimion/new_clone"
This reverts commit efa513262e, reversing
changes made to daccfca11d.
2021-09-19 22:16:02 +02:00
Jeroen van Rijn
efa513262e Merge pull request #1177 from Kelimion/new_clone
New clone
2021-09-19 13:13:44 -07:00
Jeroen van Rijn
64ce55944a fix mem.new_clone 2021-09-19 22:10:19 +02:00
gingerBill
ee876ad66b Strip semicolons 2021-09-19 11:59:44 +01:00
gingerBill
ceebd7b23c Correct context.allocator usage 2021-09-19 11:59:31 +01:00
Jeroen van Rijn
e760535dba lz4: Start of implementation. 2021-09-19 12:51:07 +02:00
Jeroen van Rijn
72fe1e88a3 Make sure to delete on the right allocator. 2021-09-19 12:19:01 +02:00
gingerBill
b427bd8105 Correct XXH_DISABLE_PREFETCH usage 2021-09-18 12:59:54 +01:00
gingerBill
6855538729 Merge branch 'master' into llvm-12.0.1-windows 2021-09-18 12:55:13 +01:00
gingerBill
f38b7ebf42 Begin adding vendor:miniaudio 2021-09-17 12:57:52 +01:00
gingerBill
4cb7f05644 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-16 23:03:25 +01:00
gingerBill
91d089ffe2 Minor clean up to strings.odin 2021-09-16 23:03:16 +01:00
Jeroen van Rijn
b6d0a8fe0c xxhash: Add tests for streaming input. 2021-09-15 23:32:48 +02:00
Jeroen van Rijn
662d27b796 Finish xxHash implementation. 2021-09-15 20:06:07 +02:00
gingerBill
de00c7c9a8 Add bits.log2 2021-09-15 15:18:20 +01:00
Jeroen van Rijn
a641ef95c0 Add XXH3-64 + tests. 2021-09-13 20:58:26 +02:00
Jeroen van Rijn
a9f4c90c79 sys: Add Windows Bluetooth APIs. 2021-09-13 14:31:52 +02:00
Jeroen van Rijn
6ca58dd64e Merge pull request #1162 from rasa-silva/fix_osx_readdir
Fix read_dir on OSX
2021-09-13 13:51:24 +02:00
Ricardo Silva
01aa0c4151 Fix read_dir on OSX 2021-09-13 12:34:36 +01:00
Jeroen van Rijn
00c1d34108 xxhash: Extra (generated) tests. 2021-09-11 23:45:08 +02:00
gingerBill
7260d3cecb Add intrinsics.prefetch_* procedures 2021-09-11 17:30:44 +01:00
gingerBill
344abf2cb2 Make core and vendor adhere to -vet, -strict-style, and -disallow-do 2021-09-11 16:40:19 +01:00
gingerBill
93593f4721 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-11 16:33:12 +01:00
gingerBill
ab85571ae6 Minor improvements to mem.odin 2021-09-11 16:33:05 +01:00
Jeroen van Rijn
5f920414d7 xxhash: Disable prefetch on Linux. 2021-09-11 15:45:17 +02:00
Jeroen van Rijn
72782d9035 xxhash: Fix test on Linux. 2021-09-11 15:39:11 +02:00
Jeroen van Rijn
eaefbc43cb xxhash: Add XXH3_128 + test vectors. 2021-09-11 15:28:49 +02:00
gingerBill
b712c84afb Fix typo 2021-09-10 16:37:43 +01:00
gingerBill
9980f81062 Add other constants to c and libc 2021-09-10 16:14:39 +01:00
gingerBill
297cdde144 Change defaults of c.int_fast16_t on other platforms 2021-09-10 16:08:39 +01:00
gingerBill
461ca40848 Add procs.odin 2021-09-10 16:01:17 +01:00
gingerBill
12af657369 Unify memset usage across platforms and core:c/libc 2021-09-10 15:59:14 +01:00
gingerBill
c519ab9401 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-10 15:42:00 +01:00
gingerBill
99df0f1b12 libc changes: unify c and libc types; Add [^]T where appropriate 2021-09-10 15:41:51 +01:00
Ricardo Silva
87408aedb5 replace lstat/fstat with lstat64/fstat64 since they return the correct values 2021-09-10 14:18:08 +01:00
Jeroen van Rijn
809b3a87af Merge pull request #1150 from rasa-silva/fix_osx_absolute_path_from_handle
Fix `absolute_path_from_handle` on OSX
2021-09-09 18:19:36 +02:00
Ricardo Silva
43c578d8b7 Fix absolute_path_from_handle on OSX 2021-09-09 17:12:26 +01:00
Jeroen van Rijn
05e303e9a0 Make QPC thread local again. 2021-09-09 16:16:06 +02:00