V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::BitFieldBase< T, shift, size, U > Class Template Reference

Public Types

typedef T FieldType
 

Public Member Functions

 STATIC_ASSERT ((kNext - 1)/8< sizeof(U))
 

Static Public Member Functions

static constexpr bool is_valid (T value)
 
static U encode (T value)
 
static U update (U previous, T value)
 
static T decode (U value)
 

Static Public Attributes

static const U kOne = static_cast<U>(1U)
 
static const U kMask = ((kOne << shift) << size) - (kOne << shift)
 
static const U kShift = shift
 
static const U kSize = size
 
static const U kNext = kShift + kSize
 
static const U kNumValues = kOne << size
 
static const T kMax = static_cast<T>(kNumValues - 1)
 

Detailed Description

template<class T, int shift, int size, class U>
class v8::internal::BitFieldBase< T, shift, size, U >

Definition at line 323 of file utils.h.


The documentation for this class was generated from the following file: