コード例 #1
0
ファイル: BplusTreeRank.c プロジェクト: BonusTeam/CodeHome
void
put(int key, int data)
{
if (data) {
bplus_tree_insert(bplus_tree, key, data);
} else {
bplus_tree_delete(bplus_tree, key);
}
}
コード例 #2
0
ファイル: bplustree.c プロジェクト: jb08/bplustree
int
bplus_tree_put(struct bplus_tree *tree, int key, int data)
{
        if (data) {
                return bplus_tree_insert(tree, key, data);
        } else {
                return bplus_tree_delete(tree, key);
        }
}