Skip to content

Namespace memoize

Namespace List > memoize

Classes

Type Name
class key
struct key_maker <target_type>
struct possible_check
class storage
struct value

Public Types

Type Name
typedef cubmem::fixed_size_alloc::allocator< T, false > fixed_allocator
enum result_code

Public Attributes

Type Name
constexpr size_t MEMOIZE_FREE_ITERATION_LIMIT = 1000
constexpr double MEMOIZE_HIT_RATIO_THRESHOLD = 0.5
struct memoize::possible_check checker
key_maker< TARGET_CLASS > const cls_key_maker
constexpr size_t hash_entry_sz = [**sizeof**](broker__monitor_8c.md#function-timeout) (std::pair&lt;[**key**](classmemoize_1_1key.md) \*[**const**](broker__monitor_8c.md#function-timeout), [**value**](structmemoize_1_1value.md) \*&gt;) + [**sizeof**](broker__monitor_8c.md#function-timeout) ([**void**](broker__monitor_8c.md#function-timeout) \*)\*3
key_maker< TARGET_LIST > const list_key_maker

Public Types Documentation

typedef fixed_allocator

using memoize::fixed_allocator = typedef cubmem::fixed_size_alloc::allocator<T, false>;

enum result_code

enum memoize::result_code {
    SUCCESS = 0,
    ENDED = 1,
    NOT_FOUND = 2,
    FULL = 3,
    ERROR = 4
};

Public Attributes Documentation

variable MEMOIZE_FREE_ITERATION_LIMIT

constexpr size_t memoize::MEMOIZE_FREE_ITERATION_LIMIT;

variable MEMOIZE_HIT_RATIO_THRESHOLD

constexpr double memoize::MEMOIZE_HIT_RATIO_THRESHOLD;

variable checker

struct memoize::possible_check memoize::checker;

variable cls_key_maker

key_maker<TARGET_CLASS> const memoize::cls_key_maker;

variable hash_entry_sz

constexpr size_t memoize::hash_entry_sz;

variable list_key_maker

key_maker<TARGET_LIST> const memoize::list_key_maker;


The documentation for this class was generated from the following file cubrid/src/query/memoize.cpp