chore: Update copyright year
This commit is contained in:
parent
0b5c7c0b54
commit
13ac4ea055
5 changed files with 9 additions and 12 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue