Flutter Impeller
allocation_size.h File Reference
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Classes

class  impeller::AllocationSize< Period >
 Represents the size of an allocation in different units. More...
 

Namespaces

 impeller
 
 impeller::allocation_size_literals
 

Typedefs

using impeller::Bytes = AllocationSize< 1u >
 
using impeller::KiloBytes = AllocationSize< 1 '000u >
 
using impeller::MegaBytes = AllocationSize< 1 '000u *1 '000u >
 
using impeller::GigaBytes = AllocationSize< 1 '000u *1 '000u *1 '000u >
 
using impeller::KibiBytes = AllocationSize< 1 '024u >
 
using impeller::MebiBytes = AllocationSize< 1 '024u *1 '024u >
 
using impeller::GibiBytes = AllocationSize< 1 '024u *1 '024u *1 '024u >
 

Enumerations

enum class  impeller::FromBytesTag { impeller::kFromBytes }
 

Functions

constexpr Bytes impeller::allocation_size_literals::operator""_bytes (unsigned long long int size)
 
constexpr KiloBytes impeller::allocation_size_literals::operator""_kb (unsigned long long int size)
 
constexpr MegaBytes impeller::allocation_size_literals::operator""_mb (unsigned long long int size)
 
constexpr GigaBytes impeller::allocation_size_literals::operator""_gb (unsigned long long int size)
 
constexpr KibiBytes impeller::allocation_size_literals::operator""_kib (unsigned long long int size)
 
constexpr MebiBytes impeller::allocation_size_literals::operator""_mib (unsigned long long int size)
 
constexpr GibiBytes impeller::allocation_size_literals::operator""_gib (unsigned long long int size)