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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/src/util.c

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 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 15 2 ** 2001 September 15
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 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 1141
1142 /* 1142 /*
1143 ** Compute the absolute value of a 32-bit signed integer, of possible. Or 1143 ** Compute the absolute value of a 32-bit signed integer, of possible. Or
1144 ** if the integer has a value of -2147483648, return +2147483647 1144 ** if the integer has a value of -2147483648, return +2147483647
1145 */ 1145 */
1146 int sqlite3AbsInt32(int x){ 1146 int sqlite3AbsInt32(int x){
1147 if( x>=0 ) return x; 1147 if( x>=0 ) return x;
1148 if( x==(int)0x80000000 ) return 0x7fffffff; 1148 if( x==(int)0x80000000 ) return 0x7fffffff;
1149 return -x; 1149 return -x;
1150 } 1150 }
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/src/utf.c ('k') | third_party/sqlite/sqlite-src-3070603/src/vacuum.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698