Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::allocation_size_literals Namespace Reference

Functions

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

Function Documentation

◆ operator""_bytes()

constexpr Bytes impeller::allocation_size_literals::operator""_bytes ( unsigned long long int  size)
constexpr

Definition at line 154 of file allocation_size.h.

154 {
155 return Bytes{size};
156}

◆ operator""_gb()

constexpr GigaBytes impeller::allocation_size_literals::operator""_gb ( unsigned long long int  size)
constexpr

Definition at line 169 of file allocation_size.h.

169 {
170 return GigaBytes{size};
171}
AllocationSize< 1 '000u *1 '000u *1 '000u > GigaBytes

◆ operator""_gib()

constexpr GibiBytes impeller::allocation_size_literals::operator""_gib ( unsigned long long int  size)
constexpr

Definition at line 184 of file allocation_size.h.

184 {
185 return GibiBytes{size};
186}
AllocationSize< 1 '024u *1 '024u *1 '024u > GibiBytes

◆ operator""_kb()

constexpr KiloBytes impeller::allocation_size_literals::operator""_kb ( unsigned long long int  size)
constexpr

Definition at line 159 of file allocation_size.h.

159 {
160 return KiloBytes{size};
161}
AllocationSize< 1 '000u > KiloBytes

◆ operator""_kib()

constexpr KibiBytes impeller::allocation_size_literals::operator""_kib ( unsigned long long int  size)
constexpr

Definition at line 174 of file allocation_size.h.

174 {
175 return KibiBytes{size};
176}
AllocationSize< 1 '024u > KibiBytes

◆ operator""_mb()

constexpr MegaBytes impeller::allocation_size_literals::operator""_mb ( unsigned long long int  size)
constexpr

Definition at line 164 of file allocation_size.h.

164 {
165 return MegaBytes{size};
166}
AllocationSize< 1 '000u *1 '000u > MegaBytes

◆ operator""_mib()

constexpr MebiBytes impeller::allocation_size_literals::operator""_mib ( unsigned long long int  size)
constexpr

Definition at line 179 of file allocation_size.h.

179 {
180 return MebiBytes{size};
181}
AllocationSize< 1 '024u *1 '024u > MebiBytes