Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::GroupIndexTableView Class Reference
Collaboration diagram for Arcane::GroupIndexTableView:

Public Member Functions

__host__ __device__ ValueType operator[] (Int32 i) const
__host__ __device__ Int32 size () const

Private Types

typedef Int32 KeyTypeValue
typedef Int32 ValueType
typedef HashTraitsT< KeyTypeValue > KeyTraitsType
typedef KeyTraitsType::KeyTypeConstRef KeyTypeConstRef

Private Member Functions

__host__ __device__ Int32 _lookup (KeyTypeConstRef id) const
 Search for a key in the entire table.
__host__ __device__ Int32 _hash (KeyTypeConstRef id) const
__host__ __device__ Integer _lookupBucket (Int32 bucket, KeyTypeConstRef id) const

Private Attributes

SmallSpan< const KeyTypeValue > m_key_buffer_span
SmallSpan< const Int32m_next_buffer_span
SmallSpan< const Int32m_buckets_span
Int32 m_nb_bucket = 0

Friends

class GroupIndexTable

Detailed Description

Definition at line 30 of file GroupIndexTable.h.

Member Typedef Documentation

◆ KeyTraitsType

typedef HashTraitsT<KeyTypeValue> Arcane::GroupIndexTableView::KeyTraitsType
private

Definition at line 35 of file GroupIndexTable.h.

◆ KeyTypeConstRef

typedef KeyTraitsType::KeyTypeConstRef Arcane::GroupIndexTableView::KeyTypeConstRef
private

Definition at line 36 of file GroupIndexTable.h.

◆ KeyTypeValue

typedef Int32 Arcane::GroupIndexTableView::KeyTypeValue
private

Definition at line 33 of file GroupIndexTable.h.

◆ ValueType

typedef Int32 Arcane::GroupIndexTableView::ValueType
private

Definition at line 34 of file GroupIndexTable.h.

Member Function Documentation

◆ _hash()

__host__ __device__ Int32 Arcane::GroupIndexTableView::_hash ( KeyTypeConstRef id) const
inlineprivate

Definition at line 57 of file GroupIndexTable.h.

◆ _lookup()

__host__ __device__ Int32 Arcane::GroupIndexTableView::_lookup ( KeyTypeConstRef id) const
inlineprivate

Search for a key in the entire table.

Definition at line 53 of file GroupIndexTable.h.

◆ _lookupBucket()

__host__ __device__ Integer Arcane::GroupIndexTableView::_lookupBucket ( Int32 bucket,
KeyTypeConstRef id ) const
inlineprivate

Definition at line 61 of file GroupIndexTable.h.

◆ operator[]()

__host__ __device__ ValueType Arcane::GroupIndexTableView::operator[] ( Int32 i) const
inline

Definition at line 40 of file GroupIndexTable.h.

◆ size()

__host__ __device__ Int32 Arcane::GroupIndexTableView::size ( ) const
inline

Definition at line 41 of file GroupIndexTable.h.

◆ GroupIndexTable

friend class GroupIndexTable
friend

Definition at line 32 of file GroupIndexTable.h.

Member Data Documentation

◆ m_buckets_span

SmallSpan<const Int32> Arcane::GroupIndexTableView::m_buckets_span
private

Definition at line 47 of file GroupIndexTable.h.

◆ m_key_buffer_span

SmallSpan<const KeyTypeValue> Arcane::GroupIndexTableView::m_key_buffer_span
private

Definition at line 45 of file GroupIndexTable.h.

◆ m_nb_bucket

Int32 Arcane::GroupIndexTableView::m_nb_bucket = 0
private

Definition at line 48 of file GroupIndexTable.h.

◆ m_next_buffer_span

SmallSpan<const Int32> Arcane::GroupIndexTableView::m_next_buffer_span
private

Definition at line 46 of file GroupIndexTable.h.


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