|
Blender V4.3
|
#include <algorithm>#include "BLI_memory_utils.hh"#include "BLI_utildefines.h"#include "BLI_vector.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
Functions | |
Constexpr Utility Functions | |
Those should eventually be de-duplicated with functions in BLI_math_base.h. | |
| template<typename IntT > | |
| constexpr IntT | blender::ceil_division (const IntT x, const IntT y) |
| template<typename IntT > | |
| constexpr IntT | blender::floor_division (const IntT x, const IntT y) |
| constexpr int64_t | blender::ceil_division_by_fraction (const int64_t x, const int64_t numerator, const int64_t denominator) |
| constexpr int64_t | blender::floor_multiplication_with_fraction (const int64_t x, const int64_t numerator, const int64_t denominator) |
| constexpr int64_t | blender::total_slot_amount_for_usable_slots (const int64_t min_usable_slots, const int64_t max_load_factor_numerator, const int64_t max_load_factor_denominator) |
This file contains code that can be shared between different hash table implementations.
Definition in file BLI_hash_tables.hh.