![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <bit-field.h>
Public Types | |
using | FieldType = T |
using | BaseType = U |
template<class T2 , int size2> | |
using | Next = BitField<T2, kShift + kSize, size2, U> |
Static Public Member Functions | |
static constexpr bool | is_valid (T value) |
static constexpr U | encode (T value) |
static V8_NODISCARD constexpr U | update (U previous, T value) |
static constexpr T | decode (U value) |
Static Public Attributes | |
static constexpr int | kShift = shift |
static constexpr int | kSize = size |
static constexpr U | kMask = ((U{1} << kShift) << kSize) - (U{1} << kShift) |
static constexpr int | kLastUsedBit = kShift + kSize - 1 |
static constexpr U | kNumValues = U{1} << kSize |
static constexpr U | kMax = kNumValues - 1 |
Definition at line 25 of file bit-field.h.
using v8::base::BitField< T, shift, size, U >::BaseType = U |
Definition at line 34 of file bit-field.h.
using v8::base::BitField< T, shift, size, U >::FieldType = T |
Definition at line 33 of file bit-field.h.
using v8::base::BitField< T, shift, size, U >::Next = BitField<T2, kShift + kSize, size2, U> |
Definition at line 47 of file bit-field.h.
|
inlinestaticconstexpr |
Definition at line 66 of file bit-field.h.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
Definition at line 42 of file bit-field.h.
|
staticconstexpr |
Definition at line 41 of file bit-field.h.
|
staticconstexpr |
Definition at line 44 of file bit-field.h.
|
staticconstexpr |
Definition at line 43 of file bit-field.h.
|
staticconstexpr |
Definition at line 39 of file bit-field.h.
|
staticconstexpr |
Definition at line 40 of file bit-field.h.