/[LeafOK_CVS]/lbbs/src/test_memory_pool.c
ViewVC logotype

Diff of /lbbs/src/test_memory_pool.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Tue Nov 4 14:58:56 2025 UTC Revision 1.7 by sysadm, Tue Nov 11 00:28:05 2025 UTC
# Line 6  Line 6 
6   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7   */   */
8    
9    #ifdef HAVE_CONFIG_H
10    #include "config.h"
11    #endif
12    
13  #include "log.h"  #include "log.h"
14  #include "memory_pool.h"  #include "memory_pool.h"
15  #include <stdio.h>  #include <stdio.h>
16  #include <string.h>  #include <string.h>
17  #include <unistd.h>  #include <unistd.h>
18    
19  #define NODE_SIZE 1023  enum _test_memory_pool_constant_t
20  #define NODE_PER_CHUNK 1000  {
21  #define CHUNK_COUNT_LIMIT 100          NODE_SIZE = 1023,
22            NODE_PER_CHUNK = 1000,
23            CHUNK_COUNT_LIMIT = 100,
24    };
25    
26  int main(int argc, char *argv[])  int main(int argc, char *argv[])
27  {  {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1