OLD | NEW |
1 /* | 1 /* |
2 ** 2015 May 30 | 2 ** 2015 May 30 |
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 ** |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 333 |
334 | 334 |
335 int sqlite3Fts5GetVarintLen(u32 iVal){ | 335 int sqlite3Fts5GetVarintLen(u32 iVal){ |
336 if( iVal<(1 << 7 ) ) return 1; | 336 if( iVal<(1 << 7 ) ) return 1; |
337 if( iVal<(1 << 14) ) return 2; | 337 if( iVal<(1 << 14) ) return 2; |
338 if( iVal<(1 << 21) ) return 3; | 338 if( iVal<(1 << 21) ) return 3; |
339 if( iVal<(1 << 28) ) return 4; | 339 if( iVal<(1 << 28) ) return 4; |
340 return 5; | 340 return 5; |
341 } | 341 } |
342 | 342 |
OLD | NEW |