v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
unibrow::Predicate< T, size > Class Template Reference

#include <unicode.h>

Collaboration diagram for unibrow::Predicate< T, size >:

Classes

class  CacheEntry
 

Public Member Functions

 Predicate ()=default
 
bool get (uchar c)
 

Private Member Functions

bool CalculateValue (uchar c)
 

Private Attributes

CacheEntry entries_ [kSize]
 

Static Private Attributes

static const int kSize = size
 
static const int kMask = kSize - 1
 

Friends

class Test
 

Detailed Description

template<class T, int size = 256>
class unibrow::Predicate< T, size >

Definition at line 31 of file unicode.h.

Constructor & Destructor Documentation

◆ Predicate()

template<class T , int size = 256>
unibrow::Predicate< T, size >::Predicate ( )
inlinedefault

Member Function Documentation

◆ CalculateValue()

template<class T , int s>
bool unibrow::Predicate< T, s >::CalculateValue ( uchar c)
private

Definition at line 25 of file unicode-inl.h.

◆ get()

template<class T , int s>
bool unibrow::Predicate< T, s >::get ( uchar c)
inline

Definition at line 18 of file unicode-inl.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Test

template<class T , int size = 256>
friend class Test
friend

Definition at line 37 of file unicode.h.

Member Data Documentation

◆ entries_

template<class T , int size = 256>
CacheEntry unibrow::Predicate< T, size >::entries_[kSize]
private

Definition at line 62 of file unicode.h.

◆ kMask

template<class T , int size = 256>
const int unibrow::Predicate< T, size >::kMask = kSize - 1
staticprivate

Definition at line 61 of file unicode.h.

◆ kSize

template<class T , int size = 256>
const int unibrow::Predicate< T, size >::kSize = size
staticprivate

Definition at line 60 of file unicode.h.


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