chore: Update copyright year

This commit is contained in:
Xavier Moffett 2025-07-19 02:27:48 -04:00
parent 0b5c7c0b54
commit 13ac4ea055
Signed by: Sapphirus
GPG key ID: E967DD18119C6EEA
5 changed files with 9 additions and 12 deletions

View file

@ -1,7 +1,7 @@
/* /*
* SimpleByteUnit * SimpleByteUnit
* *
* Copyright 2023 Xavier R.M. * Copyright (C) 2023-2025 Xavier Moffett <sapphirus@azorium.net>
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View file

@ -1,7 +1,7 @@
/* /*
* SimpleByteUnit * SimpleByteUnit
* *
* Copyright 2023 Xavier R.M. * Copyright (C) 2023-2025 Xavier Moffett <sapphirus@azorium.net>
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View file

@ -1,7 +1,7 @@
/* /*
* SimpleByteUnit * SimpleByteUnit
* *
* Copyright 2023 Xavier R.M. * Copyright (C) 2023-2025 Xavier Moffett <sapphirus@azorium.net>
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -43,7 +43,7 @@ pub fn arithmetic<T: Copy>(value: (T, f64), power_of: i8) -> (i8, f64) where i64
let mut power = 0; let mut power = 0;
while bytes >= diviser && power < power_of { while bytes >= diviser && power < power_of {
bytes = bytes / diviser; bytes /= diviser;
power += 1; power += 1;
} }

View file

@ -1,7 +1,7 @@
/* /*
* SimpleByteUnit * SimpleByteUnit
* *
* Copyright 2023 Xavier R.M. * Copyright (C) 2023-2025 Xavier Moffett <sapphirus@azorium.net>
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View file

@ -1,7 +1,7 @@
/* /*
* SimpleByteUnit * SimpleByteUnit
* *
* Copyright 2023 Xavier R.M. * Copyright (C) 2023-2025 Xavier Moffett <sapphirus@azorium.net>
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -9,10 +9,7 @@
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
*/ */
use crate::simplebyteunit::*;
#![allow(dead_code,unused_imports)]
use super::simplebyteunit::*;
const POSITIVE_5B: i64 = 5000; const POSITIVE_5B: i64 = 5000;
const NEGATIVE_5B: i64 = -5000; const NEGATIVE_5B: i64 = -5000;