diff options
Diffstat (limited to 'asl')
75 files changed, 300 insertions, 0 deletions
diff --git a/asl/base/BUILD.bazel b/asl/base/BUILD.bazel index 3dc715b..cd05e00 100644 --- a/asl/base/BUILD.bazel +++ b/asl/base/BUILD.bazel @@ -1,3 +1,7 @@ +# Copyright 2025 Steven Le Rouzic +# +# SPDX-License-Identifier: BSD-3-Clause + cc_library( name = "base", hdrs = [ diff --git a/asl/base/annotations.hpp b/asl/base/annotations.hpp index b87dbde..ec17502 100644 --- a/asl/base/annotations.hpp +++ b/asl/base/annotations.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/config.hpp" diff --git a/asl/base/assert.cpp b/asl/base/assert.cpp index c3e0c69..ecda20d 100644 --- a/asl/base/assert.cpp +++ b/asl/base/assert.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/assert.hpp" static asl::AssertFailureHandler* s_handler = nullptr; diff --git a/asl/base/assert.hpp b/asl/base/assert.hpp index d23e897..5aeb161 100644 --- a/asl/base/assert.hpp +++ b/asl/base/assert.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/config.hpp" diff --git a/asl/base/config.hpp b/asl/base/config.hpp index e182569..a8652c5 100644 --- a/asl/base/config.hpp +++ b/asl/base/config.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #if defined(_WIN32) diff --git a/asl/base/defer.hpp b/asl/base/defer.hpp index 122312a..bc5d078 100644 --- a/asl/base/defer.hpp +++ b/asl/base/defer.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/utility.hpp" diff --git a/asl/base/defer_tests.cpp b/asl/base/defer_tests.cpp index 488350f..4c53f2c 100644 --- a/asl/base/defer_tests.cpp +++ b/asl/base/defer_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/defer.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/base/float.hpp b/asl/base/float.hpp index 2de2e0c..bd5e3c4 100644 --- a/asl/base/float.hpp +++ b/asl/base/float.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/meta.hpp" diff --git a/asl/base/float_tests.cpp b/asl/base/float_tests.cpp index 0a5bebf..05ff467 100644 --- a/asl/base/float_tests.cpp +++ b/asl/base/float_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/float.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/base/functional.hpp b/asl/base/functional.hpp index b4b5312..9aeb485 100644 --- a/asl/base/functional.hpp +++ b/asl/base/functional.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/meta.hpp" diff --git a/asl/base/functional_tests.cpp b/asl/base/functional_tests.cpp index 991c3c1..5e7b052 100644 --- a/asl/base/functional_tests.cpp +++ b/asl/base/functional_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/functional.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/base/integers.hpp b/asl/base/integers.hpp index c18c850..4580509 100644 --- a/asl/base/integers.hpp +++ b/asl/base/integers.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/config.hpp" diff --git a/asl/base/integers_tests.cpp b/asl/base/integers_tests.cpp index 52feb85..4a25ae2 100644 --- a/asl/base/integers_tests.cpp +++ b/asl/base/integers_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/integers.hpp" static_assert(sizeof(int8_t) == 1); diff --git a/asl/base/meta.hpp b/asl/base/meta.hpp index bbe5547..b798eeb 100644 --- a/asl/base/meta.hpp +++ b/asl/base/meta.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/integers.hpp" diff --git a/asl/base/meta_tests.cpp b/asl/base/meta_tests.cpp index 99cc6c0..774f9bc 100644 --- a/asl/base/meta_tests.cpp +++ b/asl/base/meta_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/meta.hpp" #include "asl/tests/types.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/base/utility.hpp b/asl/base/utility.hpp index b8e13ae..63f16b1 100644 --- a/asl/base/utility.hpp +++ b/asl/base/utility.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/meta.hpp" diff --git a/asl/base/utility_tests.cpp b/asl/base/utility_tests.cpp index 8fd6479..20cdf97 100644 --- a/asl/base/utility_tests.cpp +++ b/asl/base/utility_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/base/utility.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/containers/BUILD.bazel b/asl/containers/BUILD.bazel index 792b812..feb5711 100644 --- a/asl/containers/BUILD.bazel +++ b/asl/containers/BUILD.bazel @@ -1,3 +1,7 @@ +# Copyright 2025 Steven Le Rouzic +# +# SPDX-License-Identifier: BSD-3-Clause + cc_library( name = "buffer", hdrs = [ diff --git a/asl/containers/buffer.hpp b/asl/containers/buffer.hpp index 3954d35..8bdb63e 100644 --- a/asl/containers/buffer.hpp +++ b/asl/containers/buffer.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/meta.hpp" diff --git a/asl/containers/buffer_tests.cpp b/asl/containers/buffer_tests.cpp index fd8ad45..23fe5af 100644 --- a/asl/containers/buffer_tests.cpp +++ b/asl/containers/buffer_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/containers/buffer.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/containers/hash_map.hpp b/asl/containers/hash_map.hpp index a59e580..77e5512 100644 --- a/asl/containers/hash_map.hpp +++ b/asl/containers/hash_map.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/utility.hpp" diff --git a/asl/containers/hash_map_tests.cpp b/asl/containers/hash_map_tests.cpp index 6cb7fe1..9652e2f 100644 --- a/asl/containers/hash_map_tests.cpp +++ b/asl/containers/hash_map_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/testing/testing.hpp" #include "asl/containers/hash_map.hpp" diff --git a/asl/containers/hash_set.hpp b/asl/containers/hash_set.hpp index 97a37f2..6c46aac 100644 --- a/asl/containers/hash_set.hpp +++ b/asl/containers/hash_set.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/annotations.hpp" diff --git a/asl/containers/hash_set_tests.cpp b/asl/containers/hash_set_tests.cpp index 2baab94..d9462d5 100644 --- a/asl/containers/hash_set_tests.cpp +++ b/asl/containers/hash_set_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/containers/hash_set.hpp" #include "asl/testing/testing.hpp" #include "asl/tests/types.hpp" diff --git a/asl/containers/intrusive_list.hpp b/asl/containers/intrusive_list.hpp index 99509b8..ce0c133 100644 --- a/asl/containers/intrusive_list.hpp +++ b/asl/containers/intrusive_list.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/meta.hpp" diff --git a/asl/containers/intrusive_list_tests.cpp b/asl/containers/intrusive_list_tests.cpp index 373913c..5d2d97b 100644 --- a/asl/containers/intrusive_list_tests.cpp +++ b/asl/containers/intrusive_list_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/containers/intrusive_list.hpp" #include "asl/testing/testing.hpp" diff --git a/asl/formatting/BUILD.bazel b/asl/formatting/BUILD.bazel index cab293e..836585e 100644 --- a/asl/formatting/BUILD.bazel +++ b/asl/formatting/BUILD.bazel @@ -1,3 +1,7 @@ +# Copyright 2025 Steven Le Rouzic +# +# SPDX-License-Identifier: BSD-3-Clause + cc_library( name = "formatting", hdrs = [ diff --git a/asl/formatting/format.cpp b/asl/formatting/format.cpp index 0c52c1b..4f35a52 100644 --- a/asl/formatting/format.cpp +++ b/asl/formatting/format.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/formatting/format.hpp" #include "asl/base/utility.hpp" #include "asl/base/assert.hpp" diff --git a/asl/formatting/format.hpp b/asl/formatting/format.hpp index 02f43eb..c3a1f94 100644 --- a/asl/formatting/format.hpp +++ b/asl/formatting/format.hpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #pragma once #include "asl/base/integers.hpp" diff --git a/asl/formatting/format_float.cpp b/asl/formatting/format_float.cpp index fb37064..aa113c6 100644 --- a/asl/formatting/format_float.cpp +++ b/asl/formatting/format_float.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/formatting/format.hpp" #include "asl/base/float.hpp" diff --git a/asl/formatting/format_tests.cpp b/asl/formatting/format_tests.cpp index 96ed7d0..0e83ee1 100644 --- a/asl/formatting/format_tests.cpp +++ b/asl/formatting/format_tests.cpp @@ -1,3 +1,7 @@ +// Copyright 2025 Steven Le Rouzic +// +// SPDX-License-Identifier: BSD-3-Clause + #include "asl/formatting/format.hpp" #include "asl/testing/testing.hpp" #include "asl/base/float.hpp" diff --git a/asl/hashing/BUILD.bazel b/asl/hashing/BUILD.bazel index 6b9b410..18be389 100644 --- a/asl/hashing/BUILD.bazel +++ b/asl/hashing/BUILD.bazel @@ -1,3 +1,7 @@ +# Copyright 2025 Steven Le Rouzic +# +# SPDX-License-Identifier: BSD-3-Clause + cc_library( name = "hashing", hdrs = [ diff --git a/asl/hashing/hash.hpp b/asl/hashing/hash.hpp index 60550d0..d4b0910 100644 --- a/asl/hashing/hash.hpp +++ b/ |