aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Add tests for `runtime.memory_*` comparison proceduresFeoramund2025-05-291-0/+76
|
* Fix multiline RegEx iterationFeoramund2025-05-261-3/+54
| | | | | | | | | | In `.Multiline` mode: - `^` is now defined to assert the start of the string or that a "\n" or "\r" rune was parsed on last VM dispatch. - `$` is now defined to consume a newline sequence of "\n", "\r", or "\r\n" or to assert the end of the string.
* fix another type alias issue with mini cycleLaytan Laats2025-05-263-0/+26
|
* Add more RegEx testsFeoramund2025-05-241-6/+160
|
* Remove `Global` RegEx flag, default to unanchored patternsFeoramund2025-05-242-16/+18
|
* Make RegEx VM restartable and fix iterator infinite loopFeoramund2025-05-241-2/+3
|
* fix global and static anyLaytan Laats2025-05-171-0/+40
| | | | Fixes #4627
* new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed0xrsp2025-05-151-0/+34
|
* Fix os2.clean_path on WindowsJeroen van Rijn2025-05-112-37/+49
|
* add hexfloat (0h) parsing to strconvLaytan Laats2025-05-101-0/+37
|
* Merge pull request #5098 from laytan/fix-nan-comparisonsgingerBill2025-05-021-0/+44
|\ | | | | fix variable NaN comparisons
| * fix variable NaN comparisonsLaytan Laats2025-04-301-0/+44
| |
* | adds the cases of #5043 and #5097 to the CILaytan Laats2025-04-304-0/+42
|/
* Fix parsing of CDATA tags (#5059)Jeroen van Rijn2025-04-192-6/+11
| | | Fixes #5054
* `signbit` -> `sign_bit` in `tests/core/math`Jeroen van Rijn2025-04-151-1/+1
|
* Remove reference to git issuemtarik34b2025-04-151-0/+0
|
* Ensure NaN != any_float_value evaluates to true for constant NaN valuesmtarik34b2025-04-151-21/+35
|
* `core:mem/tlsf`: Add early-out in OOM logicJeroen van Rijn2025-04-141-5/+2
| | | | | | | | This implementation doesn't allow for out-of-band allocations to be passed through, as it's not designed to track those. Nor is it able to signal those allocations then need to be freed on the backing allocator, as opposed to regular allocations handled for you when you `destroy` the TLSF instance. So if we're asked for more than we're configured to grow by, we can fail with an OOM error early, without adding a new pool.
* Allow `core:mem/tlsf` to automatically add new pools.Jeroen van Rijn2025-04-141-1/+41
| | | | | | | New features: - If TLSF can't service an allocation made on it, and it's initialized with `new_pool_size` > 0, it will ask the backing allocator for additional memory. - `estimate_pool_size` can tell you what size your initial (and `new_pool_size`) ought to be if you want to make `count` allocations of `size` and `alignment`, or in its other form, how much backing memory is needed for `count` allocations of `type` and its corresponding size and alignment.
* Refactor `core:mem/tlsf`, add `free_all` support.Jeroen van Rijn2025-04-141-0/+102
| | | | | TODO: Allow the TLSF allocator to add additional pools when it would ordinarily OOM by calling its backing allocator.
* Add tests for `type_elem_type` on SIMD vectorsJeroen van Rijn2025-04-111-0/+71
|
* Added tests for `math.nextafter`.Barinzaya2025-04-071-0/+189
|
* Optimize regex match iterator.Jeroen van Rijn2025-04-071-2/+1
| | | | Reuse virtual machine and capture groups between matches.
* Return loop index in regex iterator.Jeroen van Rijn2025-04-061-4/+3
|
* {.Glboal} implicit in regex allocator.Jeroen van Rijn2025-04-061-1/+1
|
* Keep -vet happy.Jeroen van Rijn2025-04-061-1/+1
|
* Add iterator for `core:text/regex`.Jeroen van Rijn2025-04-061-0/+57
| | | | | | | | | | | | | | | Usage: ```odin haystack := `xxfoobarxfoobarxx` pattern := `f(o)ob(ar)` it := regex.create_iterator(haystack, pattern, {.Global}) or_return defer regex.destroy(it) for capture in regex.match(&it) { fmt.println(capture) } ```
* Merge pull request #5007 from laytan/net-errors-overhaulJeroen van Rijn2025-04-051-8/+15
|\ | | | | net: rework errors to be cross-platform
| * net: rework errors to be cross-platformLaytan Laats2025-04-051-8/+15
| |
* | Fix #5004Jeroen van Rijn2025-04-051-0/+33
|/ | | | Fixes constant NaN to constant NaN comparisons.
* Merge pull request #4954 from Feoramund/os2-pathgingerBill2025-03-243-17/+373
|\ | | | | Add new path API for `os2`
| * Add tests for new `os2` path APIFeoramund2025-03-211-0/+344
| |
| * Decouple usage of `filepath` from `os2`Feoramund2025-03-213-17/+29
| |
* | test/benchmarks/crypto: Improve benchmarksYawning Angel2025-03-237-552/+746
| | | | | | | | | | - Use text/table for results - Add more benchmarks
* | core:crypto/deoxysii: Initial importYawning Angel2025-03-232-0/+147
| |
* | core/crypto/aegis: Initial importYawning Angel2025-03-232-0/+262
| |
* | core/crypto/x448: Initial importYawning Angel2025-03-232-0/+84
| |
* | Merge pull request #4836 from laytan/fix-wrong-out-of-memorygingerBill2025-03-202-1/+31
|\ \ | |/ |/| fix wrong out of memory in edge cases, just try allocate from block for one source of truth
| * cleanup test arenasLaytan Laats2025-02-122-0/+2
| |
| * fix wrong out of memory in edge cases, just try allocate from block for one ↵Laytan Laats2025-02-122-1/+29
| | | | | | | | source of truth
* | Merge pull request #4877 from laytan/os2-additionsgingerBill2025-02-282-0/+105
|\ \ | | | | | | os/os2: recursive directory walker, expose errors in read_directory, file clone
| * | os/os2: recursive directory walker, expose errors in read_directory, file cloneLaytan Laats2025-02-242-0/+105
| | | | | | | | | | | | | | | | | | Adds a directory walker, a method of exposing and retrieving errors from the existing read directory iterator, allows reusing of the existing read directory iterator, and adds a file clone procedure
* | | Add tests for new safe `to_cstring`Feoramund2025-02-271-0/+43
|/ /
* / fix addrinfo struct defLaytan Laats2025-02-122-0/+3
|/ | | | Fixes #4816
* Merge pull request #4779 from jkenda/mastergingerBill2025-02-081-1/+47
|\ | | | | encoding/json: marshal enumerated arrays to objects with key-value pairs
| * encoding/json: marshal enumerated arrays to objects with key-value pairsjkenda2025-02-011-1/+47
| |
* | reorganize tests and handle endianLaytan Laats2025-02-061-5/+117
| |
* | add tests for abs() on floatsLaytan Laats2025-02-061-0/+56
|/
* os/os2: add get_executable_path and get_executable_directoryLaytan Laats2025-01-211-0/+22
|
* Merge branch 'master' of https://github.com/avanspector/Odinavanspector2025-01-101-0/+1
|\