Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: third_party/sqlite/src/ext/fts2/fts2_hash.h

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** 2001 September 22 2 ** 2001 September 22
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
11 ************************************************************************* 11 *************************************************************************
12 ** This is the header file for the generic hash-table implemenation 12 ** This is the header file for the generic hash-table implementation
13 ** used in SQLite. We've modified it slightly to serve as a standalone 13 ** used in SQLite. We've modified it slightly to serve as a standalone
14 ** hash table implementation for the full-text indexing module. 14 ** hash table implementation for the full-text indexing module.
15 ** 15 **
16 */ 16 */
17 #ifndef _FTS2_HASH_H_ 17 #ifndef _FTS2_HASH_H_
18 #define _FTS2_HASH_H_ 18 #define _FTS2_HASH_H_
19 19
20 /* Forward declarations of structures. */ 20 /* Forward declarations of structures. */
21 typedef struct fts2Hash fts2Hash; 21 typedef struct fts2Hash fts2Hash;
22 typedef struct fts2HashElem fts2HashElem; 22 typedef struct fts2HashElem fts2HashElem;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #define fts2HashData(E) ((E)->data) 101 #define fts2HashData(E) ((E)->data)
102 #define fts2HashKey(E) ((E)->pKey) 102 #define fts2HashKey(E) ((E)->pKey)
103 #define fts2HashKeysize(E) ((E)->nKey) 103 #define fts2HashKeysize(E) ((E)->nKey)
104 104
105 /* 105 /*
106 ** Number of entries in a hash table 106 ** Number of entries in a hash table
107 */ 107 */
108 #define fts2HashCount(H) ((H)->count) 108 #define fts2HashCount(H) ((H)->count)
109 109
110 #endif /* _FTS2_HASH_H_ */ 110 #endif /* _FTS2_HASH_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698