Drop the AGPL license in favor of a source-available license. See the blog post [1] for details. [1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
17 lines
288 B
C++
17 lines
288 B
C++
/*
|
|
* Copyright (C) 2017-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <concepts>
|
|
|
|
inline auto
|
|
div_ceil(std::integral auto dividend, std::integral auto divisor) {
|
|
return (dividend + divisor - 1) / divisor;
|
|
}
|