代码搜索:Tree
找到约 10,000 项符合「Tree」的源代码
代码结果 10,000
www.eeworm.com/read/290664/8468082
h tree.h
typedef struct AVLTree
{
int nData;
struct AVLTree* pLeft;
struct AVLTree* pRight;
int nHeight;
}AVLTree;
www.eeworm.com/read/189298/8477436
c a_tree.c
/*
** A binary search tree implemented with a static array. The
** array size can be adjusted only by changing the #define and
** recompiling the module.
*/
#include "tree.h"
#include
www.eeworm.com/read/189298/8477450
h tree.h
/*
** Interface for a binary search tree module
*/
#define TREE_TYPE int /* Type of value in the tree */
/*
** insert
** Add a new value to the tree. The argument is the value
** to be add
www.eeworm.com/read/390081/8486709
c tree.c
#include "tree.h"
#include
extern void free();
tree make_node (enum tree_code code) {
tree t = (tree)malloc(sizeof(tree));
TREE_SET_CODE(t,code);
return t;
}
/* int main() {
www.eeworm.com/read/390081/8486713
def tree.def
DEFTREECODE (ERROR_MARK, "error_mark", "x", 0)
DEFTREECODE (IDENTIFIER_NODE, "identifier_node", "x", -1)
DEFTREECODE (OP_IDENTIFIER, "op_identifier", "x", 2)
DEFTREECODE (TREE_LIST, "tree_list", "x",
www.eeworm.com/read/390081/8486731
o tree.o
www.eeworm.com/read/390081/8486763
h tree.h
#ifndef _TREE_H
#define _TREE_H
#include
#define MAX_HASH_TABLE 1009
#define DEFTREECODE(SYM, STRING, TYPE, NARGS) SYM,
enum tree_code {
IDENTIFIER_NODE,
NEGATE_EXPR,
AD
www.eeworm.com/read/390081/8486788
c tree.c
/* Language-independent node constructors for parse phase of GNU compiler.
Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you
www.eeworm.com/read/390081/8486795
def tree.def
DEFTREECODE (ERROR_MARK, "error_mark", "x", 0)
DEFTREECODE (IDENTIFIER_NODE, "identifier_node", "x", -1)
DEFTREECODE (OP_IDENTIFIER, "op_identifier", "x", 2)
DEFTREECODE (TREE_LIST, "tree_list", "x",
www.eeworm.com/read/390081/8486860
h tree.h
/* Front-end tree definitions for GNU compiler.
Copyright (C) 1989 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it un