engine/executor/src/i_malloc.cpp
static int check_addr(void* addr) {
  if (addr > g_mempool.start_addr && addr < g_mempool.start_addr + g_mempool.total_size) {
    return 1;
  }
  return -1;
}
// Return 1 if it is inside our memory pool, otherwise -1
Return 1 if it is inside our memory pool, otherwise -1
Return 1 if it is inside our memory pool otherwise - 1
static int check_addr(void* addr) {
  if (addr > g_mempool.start_addr && addr < g_mempool.start_addr + g_mempool.total_size) {
    return 1;
  }
  return -1;
}
static int check_addr ( void * addr ) { if ( addr > g_mempool . start_addr && addr < g_mempool . start_addr + g_mempool . total_size ) { return 1 ; } return -1 ; }
Return 1 if it is inside our memory pool, otherwise -1
Return 1 if it is inside our memory pool otherwise - 1