mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 12:26:34 -05:00
Convert stdint to short ints
This commit is contained in:
parent
53c5a2cf1e
commit
511bf47af9
63 changed files with 294 additions and 290 deletions
11
src/rnd.hpp
11
src/rnd.hpp
|
|
@ -18,7 +18,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include "base_types.h"
|
||||
|
||||
#include <random>
|
||||
|
||||
class RND
|
||||
|
|
@ -27,10 +28,10 @@ public:
|
|||
RND();
|
||||
|
||||
public:
|
||||
static uint64_t rand64(void);
|
||||
static uint64_t rand64(const uint64_t max_);
|
||||
static uint64_t rand64(const uint64_t min_,
|
||||
const uint64_t max_);
|
||||
static u64 rand64(void);
|
||||
static u64 rand64(cu64 max_);
|
||||
static u64 rand64(cu64 min_,
|
||||
cu64 max_);
|
||||
|
||||
template<typename T>
|
||||
static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue