MCPcopy Create free account
hub / github.com/MariaDB/server / PlugSubSet

Function PlugSubSet

storage/connect/plugutil.cpp:537–544  ·  view source on GitHub ↗

/ Program for SubSet initialization of memory pools. */ Here there should be some verification done such as validity of */ the address and size not larger than memory size. */ /

Source from the content-addressed store, hash-verified

535/* the address and size not larger than memory size. */
536/***********************************************************************/
537BOOL PlugSubSet(void *memp, size_t size)
538{
539 PPOOLHEADER pph = (PPOOLHEADER)memp;
540
541 pph->To_Free = (size_t)sizeof(POOLHEADER);
542 pph->FreeBlk = size - pph->To_Free;
543 return FALSE;
544} /* end of PlugSubSet */
545
546/***********************************************************************/
547/* Use it to export a function that do throwing. */

Callers 15

plugutil.cppFile · 0.85
user_initMethod · 0.85
CheckCleanupMethod · 0.85
bson_fileFunction · 0.85
bfile_convertFunction · 0.85
bfile_bjsonFunction · 0.85
GetTableMethod · 0.85
ReadDBMethod · 0.85
WriteDBMethod · 0.85
json_array_grp_initFunction · 0.85
json_array_grp_clearFunction · 0.85
json_object_grp_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected