MySQL 9.1.0
Source Code Documentation
single_indexer_t< Type, N > Struct Template Reference

For counters where N=1. More...

#include <ut0counter.h>

Public Types

enum  { fast = 0 }
 Default constructor/destructor should are OK. More...
 

Static Public Member Functions

static size_t offset (size_t index) 1
 
static size_t get_rnd_index () 1
 

Detailed Description

template<typename Type = ulint, int N = 1>
struct single_indexer_t< Type, N >

For counters where N=1.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type = ulint, int N = 1>
anonymous enum

Default constructor/destructor should are OK.

Enumerator
fast 

Member Function Documentation

◆ get_rnd_index()

template<typename Type = ulint, int N = 1>
static size_t single_indexer_t< Type, N >::get_rnd_index ( )
inlinestatic
Returns
1

◆ offset()

template<typename Type = ulint, int N = 1>
static size_t single_indexer_t< Type, N >::offset ( size_t  index)
inlinestatic
Returns
offset within m_counter

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