src/stringmap/split_l.cpp
static void RTreeInitPVars(struct PartitionVars *P, int maxrects, int minfill)
{
	register struct PartitionVars *p = P;
	register int i;
	assert(p);

	p->count[0] = p->count[1] = 0;
	p->total = maxrects;
	p->minfill = minfill;
	for (i=0; i<maxrects; i++)
	{
		p->taken[i] = FALSE;
		p->partition[i] = -1;
	}
}
/*-----------------------------------------------------------------------------
| Initialize a PartitionVars structure.
-----------------------------------------------------------------------------*/
| Initialize a PartitionVars structure.
| Initialize a PartitionVars structure .
static void RTreeInitPVars(struct PartitionVars *P, int maxrects, int minfill)
{
	register struct PartitionVars *p = P;
	register int i;
	assert(p);
	p->count[0] = p->count[1] = 0;
	p->total = maxrects;
	p->minfill = minfill;
	for (i=0; i<maxrects; i++)
	{
		p->taken[i] = FALSE;
		p->partition[i] = -1;
	}
}
static void RTreeInitPVars ( struct PartitionVars * P , int maxrects , int minfill ) { register struct PartitionVars * p = P ; register int i ; assert ( p ) ; p -> count [ 0 ] = p -> count [ 1 ] = 0 ; p -> total = maxrects ; p -> minfill = minfill ; for ( i = 0 ; i < maxrects ; i ++ ) { p -> taken [ i ] = FALSE ; p -> partition [ i ] = -1 ; } }
| Initialize a PartitionVars structure.
| Initialize a PartitionVars structure .