diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-06 21:30:23 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-06 21:33:40 +0200 |
| commit | 2c13315e72887ba924a990f93e69efe588462344 (patch) | |
| tree | 892e5eefc47867aa77be28eb6f3e0f37d26860bb /core | |
| parent | 0434281f734db10ff17b68395e593d4a07b03d8d (diff) | |
compress: Update BSD-3 license + remove semicolons from compressed example.
Diffstat (limited to 'core')
| -rw-r--r-- | core/compress/common.odin | 2 | ||||
| -rw-r--r-- | core/compress/gzip/example.odin | 2 | ||||
| -rw-r--r-- | core/compress/gzip/gzip.odin | 2 | ||||
| -rw-r--r-- | core/compress/zlib/example.odin | 35 | ||||
| -rw-r--r-- | core/compress/zlib/zlib.odin | 2 | ||||
| -rw-r--r-- | core/math/big/build.bat | 4 |
6 files changed, 21 insertions, 26 deletions
diff --git a/core/compress/common.odin b/core/compress/common.odin index b245e35b2..683679566 100644 --- a/core/compress/common.odin +++ b/core/compress/common.odin @@ -2,7 +2,7 @@ package compress /* Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. - Made available under Odin's BSD-2 license. + Made available under Odin's BSD-3 license. List of contributors: Jeroen van Rijn: Initial implementation, optimization. diff --git a/core/compress/gzip/example.odin b/core/compress/gzip/example.odin index 91bcb858a..0e2c2b9f6 100644 --- a/core/compress/gzip/example.odin +++ b/core/compress/gzip/example.odin @@ -3,7 +3,7 @@ package gzip /* Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. - Made available under Odin's BSD-2 license. + Made available under Odin's BSD-3 license. List of contributors: Jeroen van Rijn: Initial implementation. diff --git a/core/compress/gzip/gzip.odin b/core/compress/gzip/gzip.odin index e49a12f1c..6ea4b3559 100644 --- a/core/compress/gzip/gzip.odin +++ b/core/compress/gzip/gzip.odin @@ -2,7 +2,7 @@ package gzip /* Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. - Made available under Odin's BSD-2 license. + Made available under Odin's BSD-3 license. List of contributors: Jeroen van Rijn: Initial implementation. diff --git a/core/compress/zlib/example.odin b/core/compress/zlib/example.odin index fb7da5a08..ab7fb4cd8 100644 --- a/core/compress/zlib/example.odin +++ b/core/compress/zlib/example.odin @@ -3,7 +3,7 @@ package zlib /* Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. - Made available under Odin's BSD-2 license. + Made available under Odin's BSD-3 license. List of contributors: Jeroen van Rijn: Initial implementation. @@ -15,27 +15,22 @@ import "core:bytes" import "core:fmt" main :: proc() { - ODIN_DEMO := []u8{ - 120, 156, 101, 144, 77, 110, 131, 48, 16, 133, 215, 204, 41, 158, 44, - 69, 73, 32, 148, 182, 75, 35, 14, 208, 125, 47, 96, 185, 195, 143, - 130, 13, 50, 38, 81, 84, 101, 213, 75, 116, 215, 43, 246, 8, 53, - 82, 126, 8, 181, 188, 152, 153, 111, 222, 147, 159, 123, 165, 247, 170, - 98, 24, 213, 88, 162, 198, 244, 157, 243, 16, 186, 115, 44, 75, 227, - 5, 77, 115, 72, 137, 222, 117, 122, 179, 197, 39, 69, 161, 170, 156, - 50, 144, 5, 68, 130, 4, 49, 126, 127, 190, 191, 144, 34, 19, 57, - 69, 74, 235, 209, 140, 173, 242, 157, 155, 54, 158, 115, 162, 168, 12, - 181, 239, 246, 108, 17, 188, 174, 242, 224, 20, 13, 199, 198, 235, 250, - 194, 166, 129, 86, 3, 99, 157, 172, 37, 230, 62, 73, 129, 151, 252, - 70, 211, 5, 77, 31, 104, 188, 160, 113, 129, 215, 59, 205, 22, 52, - 123, 160, 83, 142, 255, 242, 89, 123, 93, 149, 200, 50, 188, 85, 54, - 252, 18, 248, 192, 238, 228, 235, 198, 86, 224, 118, 224, 176, 113, 166, - 112, 67, 106, 227, 159, 122, 215, 88, 95, 110, 196, 123, 205, 183, 224, - 98, 53, 8, 104, 213, 234, 201, 147, 7, 248, 192, 14, 170, 29, 25, - 171, 15, 18, 59, 138, 112, 63, 23, 205, 110, 254, 136, 109, 78, 231, - 63, 234, 138, 133, 204, + 120, 218, 101, 144, 65, 110, 131, 48, 16, 69, 215, 246, 41, 190, 44, 69, 73, 32, 148, 182, + 75, 75, 28, 32, 251, 46, 217, 88, 238, 0, 86, 192, 32, 219, 36, 170, 170, 172, 122, 137, + 238, 122, 197, 30, 161, 70, 162, 20, 81, 203, 139, 25, 191, 255, 191, 60, 51, 40, 125, 81, + 53, 33, 144, 15, 156, 155, 110, 232, 93, 128, 208, 189, 35, 89, 117, 65, 112, 222, 41, 99, + 33, 37, 6, 215, 235, 195, 17, 239, 156, 197, 170, 118, 170, 131, 44, 32, 82, 164, 72, 240, + 253, 245, 249, 129, 12, 185, 224, 76, 105, 61, 118, 99, 171, 66, 239, 38, 193, 35, 103, 85, + 172, 66, 127, 33, 139, 24, 244, 235, 141, 49, 204, 223, 76, 208, 205, 204, 166, 7, 173, 60, + 97, 159, 238, 37, 214, 41, 105, 129, 167, 5, 102, 27, 152, 173, 97, 178, 129, 73, 129, 231, + 5, 230, 27, 152, 175, 225, 52, 192, 127, 243, 170, 157, 149, 18, 121, 142, 115, 109, 227, 122, + 64, 87, 114, 111, 161, 49, 182, 6, 181, 158, 162, 226, 206, 167, 27, 215, 246, 48, 56, 99, + 67, 117, 16, 47, 13, 45, 35, 151, 98, 231, 75, 1, 173, 90, 61, 101, 146, 71, 136, 244, + 170, 218, 145, 176, 123, 45, 173, 56, 113, 134, 191, 51, 219, 78, 235, 95, 28, 249, 253, 7, + 159, 150, 133, 125, } - OUTPUT_SIZE :: 438 + OUTPUT_SIZE :: 432 buf: bytes.Buffer diff --git a/core/compress/zlib/zlib.odin b/core/compress/zlib/zlib.odin index c44dc1a63..f428dc11b 100644 --- a/core/compress/zlib/zlib.odin +++ b/core/compress/zlib/zlib.odin @@ -2,7 +2,7 @@ package zlib /* Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. - Made available under Odin's BSD-2 license. + Made available under Odin's BSD-3 license. List of contributors: Jeroen van Rijn: Initial implementation, optimization. diff --git a/core/math/big/build.bat b/core/math/big/build.bat index 7ca32641b..b41694523 100644 --- a/core/math/big/build.bat +++ b/core/math/big/build.bat @@ -1,11 +1,11 @@ @echo off
-odin run . -vet
+:odin run . -vet -strict-style
: -define:MATH_BIG_USE_FROBENIUS_TEST=true
set TEST_ARGS=-fast-tests
:set TEST_ARGS=
:odin build . -build-mode:shared -show-timings -o:minimal -no-bounds-check -define:MATH_BIG_EXE=false && python test.py %TEST_ARGS%
-:odin build . -build-mode:shared -show-timings -o:size -no-bounds-check -define:MATH_BIG_EXE=false && python test.py %TEST_ARGS%
+odin build . -build-mode:shared -show-timings -o:size -no-bounds-check -define:MATH_BIG_EXE=false && python test.py %TEST_ARGS%
:odin build . -build-mode:shared -show-timings -o:size -define:MATH_BIG_EXE=false && python test.py %TEST_ARGS%
:odin build . -build-mode:shared -show-timings -o:speed -no-bounds-check -define:MATH_BIG_EXE=false && python test.py %TEST_ARGS%
:odin build . -build-mode:shared -show-timings -o:speed -define:MATH_BIG_EXE=false && python test.py -fast-tests %TEST_ARGS%
\ No newline at end of file |