MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / shell_check_oom

Function shell_check_oom

modules/dasSQLITE/sqlite/shell.c:640–642  ·  view source on GitHub ↗

Check a pointer to see if it is NULL. If it is NULL, exit with an ** out-of-memory error. */

Source from the content-addressed store, hash-verified

638** out-of-memory error.
639*/
640static void shell_check_oom(void *p){
641 if( p==0 ) shell_out_of_memory();
642}
643
644/*
645** Write I/O traces to the following stream.

Callers 15

local_getlineFunction · 0.85
appendTextFunction · 0.85
shellFakeSchemaFunction · 0.85
output_hex_blobFunction · 0.85
output_csvFunction · 0.85
eqp_appendFunction · 0.85
shell_callbackFunction · 0.85
set_table_nameFunction · 0.85
shell_error_contextFunction · 0.85
save_err_msgFunction · 0.85
explain_data_prepareFunction · 0.85

Calls 1

shell_out_of_memoryFunction · 0.85

Tested by

no test coverage detected