mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Renamings and small reorganizations.
This commit is contained in:
16
src/search.h
16
src/search.h
@@ -39,7 +39,7 @@ public:
|
||||
~Search ();
|
||||
void optimize ();
|
||||
private:
|
||||
void preprepare ();
|
||||
void prepare ();
|
||||
|
||||
/* Computes the upper bound on the indices passed to asso_values[],
|
||||
assuming no alpha_increments. */
|
||||
@@ -76,17 +76,6 @@ private:
|
||||
/* Find good _alpha_inc[]. */
|
||||
void find_alpha_inc ();
|
||||
|
||||
void prepare ();
|
||||
|
||||
/* Returns the length of keyword list. */
|
||||
int keyword_list_length () const;
|
||||
|
||||
/* Returns the maximum length of keywords. */
|
||||
int max_key_length () const;
|
||||
|
||||
/* Returns the number of key positions. */
|
||||
int get_max_keysig_size () const;
|
||||
|
||||
/* Initializes the asso_values[] related parameters. */
|
||||
void prepare_asso_values ();
|
||||
|
||||
@@ -136,6 +125,9 @@ public:
|
||||
upper case characters to lower case characters (and maybe more). */
|
||||
unsigned int * _alpha_unify;
|
||||
|
||||
/* Maximum _selchars_length over all keywords. */
|
||||
unsigned int _max_selchars_length;
|
||||
|
||||
/* Total number of duplicates that have been moved to _duplicate_link lists
|
||||
(not counting their representatives which stay on the main list). */
|
||||
int _total_duplicates;
|
||||
|
||||
Reference in New Issue
Block a user