search for: trie_nod

Displaying 3 results from an estimated 3 matches for "trie_nod".

Did you mean: trie_node
2014 Apr 13
2
Adding an external library to Xapian
It is there: https://github.com/sidmutha/xapian/blob/master/xapian-core/api/Makefile.mk#L53 On an other note, I'm trying to run ./bootstrap from the cloned repo. But it gives an error saying "unknown option -C" followed by "Bootstrap failed". *Siddhant Mutha* Undergraduate Student Department of Computer Science and Engineering IIT Madras Chennai
2014 Apr 13
2
Adding an external library to Xapian
...bove) is: > > diff --git a/xapian-core/api/trie.cc b/xapian-core/api/trie.cc > index eba3a15..b856f39 100644 > --- a/xapian-core/api/trie.cc > +++ b/xapian-core/api/trie.cc > @@ -33,10 +33,10 @@ Trie::Trie() { > void > Trie::add_term(std::string term) { > struct trie_node *curr_node = &root; > - for (int i = 0; i < term.size(); ++i) { > + for (unsigned int i = 0; i < term.size(); ++i) { > for (vector<trie_node *>::iterator it = > curr_node->children.begi > it != curr_node-...
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi, I have rewritten the patches I submitted earlier today for the CVS HEAD. Some of the changes were already committed months ago. On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote: > That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it > is mostly because I wanted to keep bsearch() API. If it can't return > void * then maybe it could be