theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_RB_API

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' … More...

+ Collaboration diagram for Sq3Lite_Internal_Memory_RB_API:

Functions

static OT_ProcRet rbsq3lite_Sq3Lite_HardHeapLimit64 (OtClass_ARGS)
  Ruby: (static) int64 Sq3Lite.HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 
static OT_ProcRet rbsq3lite_Sq3Lite_ReleaseMemory (OtClass_ARGS)
  Ruby: (static) Sq3Lite.ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …
 
static OT_ProcRet rbsq3lite_Sq3Lite_SoftHeapLimit64 (OtClass_ARGS)
  Ruby: (static) int64 Sq3Lite.SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 

Detailed Description

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' …

Attempt To Free Heap Memory:

Impose A Limit On Heap Size:

Reference code from sqlite3:

// Attempt To Free Heap Memory:
// Impose A Limit On Heap Size:
sqlite_int64 sqlite3_int64
#define SQLITE_API
SQLITE_API int sqlite3_release_memory(int)
SQLITE_API sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 N)
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N)

Function Documentation

◆ rbsq3lite_Sq3Lite_HardHeapLimit64()

static OT_ProcRet rbsq3lite_Sq3Lite_HardHeapLimit64 ( OtClass_ARGS )
static

Ruby: (static) int64 Sq3Lite.HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 1897 of file LibSq3Lite_rb.c.

1897 {
1900 MK_I64 N = 0;
1904 end: MK_UNUSED /* LONG JUMP on error */
1906}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_I64(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define HardHeapLimit64_doc
#define OT_SETUP_hdl_static
#define MK_UNUSED
signed long long MK_I64
static MK_I64 Sq3HardHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …

◆ rbsq3lite_Sq3Lite_ReleaseMemory()

static OT_ProcRet rbsq3lite_Sq3Lite_ReleaseMemory ( OtClass_ARGS )
static

Ruby: (static) Sq3Lite.ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …

Definition at line 1909 of file LibSq3Lite_rb.c.

1909 {
1912 MK_I32 N = 0;
1917 end: MK_UNUSED /* LONG JUMP on error */
1919}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ReleaseMemory_doc
signed int MK_I32
static enum MkErrorE Sq3ReleaseMemory(MK_I32 N)
Attempt To Free Heap Memory …

◆ rbsq3lite_Sq3Lite_SoftHeapLimit64()

static OT_ProcRet rbsq3lite_Sq3Lite_SoftHeapLimit64 ( OtClass_ARGS )
static

Ruby: (static) int64 Sq3Lite.SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 1922 of file LibSq3Lite_rb.c.

1922 {
1925 MK_I64 N = 0;
1929 end: MK_UNUSED /* LONG JUMP on error */
1931}
#define SoftHeapLimit64_doc
static MK_I64 Sq3SoftHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …