mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
8
third_party/sqlite3/rowset.c
vendored
8
third_party/sqlite3/rowset.c
vendored
|
@ -84,7 +84,7 @@
|
|||
** in the list, pLeft points to the tree, and v is unused. The
|
||||
** RowSet.pForest value points to the head of this forest list.
|
||||
*/
|
||||
struct RowSetEntry {
|
||||
struct RowSetEntry {
|
||||
i64 v; /* ROWID value for this entry */
|
||||
struct RowSetEntry *pRight; /* Right subtree (larger entries) or list */
|
||||
struct RowSetEntry *pLeft; /* Left subtree (smaller entries) */
|
||||
|
@ -236,7 +236,7 @@ void sqlite3RowSetInsert(RowSet *p, i64 rowid){
|
|||
/*
|
||||
** Merge two lists of RowSetEntry objects. Remove duplicates.
|
||||
**
|
||||
** The input lists are connected via pRight pointers and are
|
||||
** The input lists are connected via pRight pointers and are
|
||||
** assumed to each already be in sorted order.
|
||||
*/
|
||||
static struct RowSetEntry *rowSetEntryMerge(
|
||||
|
@ -273,7 +273,7 @@ static struct RowSetEntry *rowSetEntryMerge(
|
|||
/*
|
||||
** Sort all elements on the list of RowSetEntry objects into order of
|
||||
** increasing v.
|
||||
*/
|
||||
*/
|
||||
static struct RowSetEntry *rowSetEntrySort(struct RowSetEntry *pIn){
|
||||
unsigned int i;
|
||||
struct RowSetEntry *pNext, *aBucket[40];
|
||||
|
@ -346,7 +346,7 @@ static struct RowSetEntry *rowSetNDeepTree(
|
|||
struct RowSetEntry *pLeft; /* Left subtree */
|
||||
if( *ppList==0 ){ /*OPTIMIZATION-IF-TRUE*/
|
||||
/* Prevent unnecessary deep recursion when we run out of entries */
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
if( iDepth>1 ){ /*OPTIMIZATION-IF-TRUE*/
|
||||
/* This branch causes a *balanced* tree to be generated. A valid tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue