代码搜索:Tree
找到约 10,000 项符合「Tree」的源代码
代码结果 10,000
www.eeworm.com/read/111083/15519045
c tree_add.c
/* Binary tree implementation of a collection */
static void AddToTree( Node *t, Node new ) {
Node base;
base = *t;
/* If it's a null tree, just add it here */
if ( base == NULL ) {
*t = new;
www.eeworm.com/read/111083/15519060
c tree_struct.c
/* Binary tree implementation of a collection */
struct t_node {
void *item;
struct t_node *left;
struct t_node *right;
};
typedef struct t_node *Node;
struct t_collection {
int size; /* Neede
www.eeworm.com/read/111083/15519069
c tree_find.c
/* Binary tree implementation of a collection */
/* Now we need to know whether one key is less, equal or greater than
another
*/
extern int KeyCmp( void *a, void *b );
/* Returns -1, 0, 1 for a
www.eeworm.com/read/111083/15519137
gif unbal_tree.gif
www.eeworm.com/read/111083/15519157