theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_TCL_API

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

+ Collaboration diagram for Sq3Lite_Internal_Memory_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3Lite_HardHeapLimit64 (OtClass_ARGS)
  Tcl: (static) int64 [Sq3Lite HardHeapLimit64 N:int64] C-API
Impose A Limit On Heap Size …
 
static OT_ProcRet tclsq3lite_Sq3Lite_ReleaseMemory (OtClass_ARGS)
  Tcl: (static) Sq3Lite ReleaseMemory N:int32 C-API
Attempt To Free Heap Memory …
 
static OT_ProcRet tclsq3lite_Sq3Lite_SoftHeapLimit64 (OtClass_ARGS)
  Tcl: (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

◆ tclsq3lite_Sq3Lite_HardHeapLimit64()

static OT_ProcRet tclsq3lite_Sq3Lite_HardHeapLimit64 ( OtClass_ARGS )
static

Tcl: (static) int64 [Sq3Lite HardHeapLimit64 N:int64] C-API
Impose A Limit On Heap Size …

Definition at line 4900 of file LibSq3Lite_tcl.c.

4900 {
4903 MK_I64 N = 0;
4907 goto end;
4908 error:
4910 end:
4912}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_Error
#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
signed long long MK_I64
static MK_I64 Sq3HardHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …

◆ tclsq3lite_Sq3Lite_ReleaseMemory()

static OT_ProcRet tclsq3lite_Sq3Lite_ReleaseMemory ( OtClass_ARGS )
static

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

Definition at line 4915 of file LibSq3Lite_tcl.c.

4915 {
4918 MK_I32 N = 0;
4923 goto end;
4924 error:
4926 end:
4928}
#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 …

◆ tclsq3lite_Sq3Lite_SoftHeapLimit64()

static OT_ProcRet tclsq3lite_Sq3Lite_SoftHeapLimit64 ( OtClass_ARGS )
static

Tcl: (static) int64 [Sq3Lite SoftHeapLimit64 N:int64] C-API
Impose A Limit On Heap Size …

Definition at line 4931 of file LibSq3Lite_tcl.c.

4931 {
4934 MK_I64 N = 0;
4938 goto end;
4939 error:
4941 end:
4943}
#define SoftHeapLimit64_doc
static MK_I64 Sq3SoftHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …