link-grammar-5.8.0/link-grammar/dict-file/read-dict.c
/* Return size of the full portion of the tree
 * Gets the next pow(2,k)-1
 */
Return size of the full portion of the tree
Gets the next pow(2,k)-1
Return size of the full portion of the tree Gets the next pow ( 2 k ) - 1
static inline unsigned int full_tree_size (unsigned int size)
{
	unsigned int pk = 1;
	while (pk < size) pk = 2*pk + 1;
	return pk/2;
}
static inline unsigned int full_tree_size ( unsigned int size ) { unsigned int pk = 1 ; while ( pk < size ) pk = 2 * pk + 1 ; return pk / 2 ; }
Return size of the full portion of the tree
 Gets the next pow(2,k)-1
Return size of the full portion of the tree Gets the next pow ( 2 k ) - 1