Classes | Variables
b2_block_allocator.cpp File Reference
#include "box2d/b2_block_allocator.h"
#include <limits.h>
#include <string.h>
#include <stddef.h>
Include dependency graph for b2_block_allocator.cpp:

Go to the source code of this file.

Classes

struct  b2Block
 
struct  b2Chunk
 
struct  b2SizeMap
 

Variables

static const int32 b2_blockSizes [b2_blockSizeCount]
 
static const int32 b2_chunkArrayIncrement = 128
 
static const int32 b2_chunkSize = 16 * 1024
 
static const int32 b2_maxBlockSize = 640
 
static const b2SizeMap b2_sizeMap
 

Variable Documentation

◆ b2_blockSizes

const int32 b2_blockSizes[b2_blockSizeCount]
static
Initial value:
=
{
16,
32,
64,
96,
128,
160,
192,
224,
256,
320,
384,
448,
512,
640,
}

Definition at line 33 of file b2_block_allocator.cpp.

◆ b2_chunkArrayIncrement

const int32 b2_chunkArrayIncrement = 128
static

Definition at line 30 of file b2_block_allocator.cpp.

◆ b2_chunkSize

const int32 b2_chunkSize = 16 * 1024
static

Definition at line 28 of file b2_block_allocator.cpp.

◆ b2_maxBlockSize

const int32 b2_maxBlockSize = 640
static

Definition at line 29 of file b2_block_allocator.cpp.

◆ b2_sizeMap

const b2SizeMap b2_sizeMap
static

Definition at line 76 of file b2_block_allocator.cpp.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22