Dataset Viewer
Auto-converted to Parquet Duplicate
file
stringclasses
74 values
line
int64
23
267k
count
int64
1
300
code
stringlengths
1
224
spellfix.c
1,866
300
c = utf8Read(zIn, nIn, &sz);
spellfix.c
1,867
300
zIn += sz;
spellfix.c
1,868
300
nIn -= sz;
spellfix.c
1,869
300
if( c<0x02af ){
series.c
685
300
if( pConstraint->iColumn<SERIES_COLUMN_START ){
test8.c
1,008
300
string_concat(&z, sqlite3_mprintf(
test8.c
1,009
300
"%s %Q=?%d", zSep, pVtab->aCol[i-2], i), 1, &rc);
test8.c
1,010
300
zSep = ",";
test8.c
1,067
300
sqlite3_bind_value(pStmt, nData, apData[0]);
sqlite3.c
137,869
300
return 0;
sqlite3.c
141,803
300
}else if( iDb!=1 ){
sqlite3.c
141,804
300
int iLevel = (getSafetyLevel(zRight,0,1)+1) & PAGER_SYNCHRONOUS_MASK;
sqlite3.c
141,806
300
pDb->safety_level = iLevel;
sqlite3.c
141,807
300
pDb->bSyncSet = 1;
sqlite3.c
141,808
300
setAllPagerFlags(db);
sqlite3.c
156,115
300
KeyInfo *pKeyInfo = sqlite3KeyInfoOfIndex(pParse, pPk);
sqlite3.c
156,116
300
if( pKeyInfo ){
sqlite3.c
156,117
300
pKeyInfo->nAllField = nEphCol;
sqlite3.c
156,118
300
sqlite3VdbeAppendP4(v, pKeyInfo, P4_KEYINFO);
sqlite3.c
174,977
300
&& windowExprGtZero(pParse, pMWin->pStart)
sqlite3.c
175,197
300
if( pMWin->eEnd==TK_UNBOUNDED ){
sqlite3_analyzer.c
179,079
300
case 30: /* scanpt ::= */
sqlite3_analyzer.c
179,082
300
yymsp[1].minor.yy342 = yyLookaheadToken.z;
sqlite3_analyzer.c
179,084
300
break;
csv.c
758
300
while( i<pTab->nCol ){
normalize.c
300
299
static int sqlite3GetToken(const unsigned char *z, int *tokenType){
normalize.c
302
299
switch( aiClass[*z] ){ /* Switch on the character-class of the first byte
normalize.c
570
299
n = sqlite3GetToken((unsigned char*)zSql+i, &tokenType);
normalize.c
571
299
switch( tokenType ){
test8.c
500
299
(*(echo_vtab**)ppVtab)->inTransaction = 1;
sqlite3.c
118,820
299
if( pToken->t.z>pBest->t.z ) pBest = pToken;
sqlite3.c
128,576
299
for(k=sqliteHashFirst(&pDb->pSchema->tblHash); k; k=sqliteHashNext(k)){
sqlite3.c
163,732
299
pLeft = pLeft->x.pList->a[pTerm->u.x.iField-1].pExpr;
sqlite3.c
164,033
299
idxNew = whereClauseInsert(pWC, pExpr, TERM_VIRTUAL|TERM_SLICE);
sqlite3.c
164,034
299
pWC->a[idxNew].u.x.iField = i+1;
sqlite3.c
164,035
299
exprAnalyze(pSrc, pWC, idxNew);
sqlite3.c
164,036
299
markTermAsChild(pWC, idxNew, idxTerm);
sqlite3.c
182,425
299
switch( *zSql ){
sqlite3.c
182,466
299
zSql += nId-1;
regexp.c
333
298
case RE_OP_CC_EXC: {
regexp.c
334
298
if( c==0 ) break;
test1.c
8,266
298
zName = Tcl_GetString(objv[j]);
test1.c
8,270
298
if( i>=ArraySize(aExtension) ){
sqlite3expert.c
341
297
static int idxPrintfPrepareStmt(
sqlite3expert.c
351
297
va_start(ap, zFmt);
sqlite3expert.c
352
297
zSql = sqlite3_vmprintf(zFmt, ap);
sqlite3expert.c
353
297
if( zSql==0 ){
sqlite3expert.c
356
297
rc = idxPrepareStmt(db, ppStmt, pzErrmsg, zSql);
sqlite3expert.c
357
297
sqlite3_free(zSql);
sqlite3expert.c
359
297
va_end(ap);
sqlite3expert.c
360
297
return rc;
sqlite3_analyzer.c
32,780
297
SQLITE_PRIVATE char *sqlite3StrAccumFinish(StrAccum *p){
sqlite3_analyzer.c
32,781
297
if( p->zText ){
sqlite3_analyzer.c
32,782
297
p->zText[p->nChar] = 0;
sqlite3_analyzer.c
32,783
297
if( p->mxAlloc>0 && !isMalloced(p) ){
sqlite3_analyzer.c
86,916
297
if( pOp->p2<0 ){
sqlite3_analyzer.c
86,934
297
break;
test1.c
8,274
296
if( aExtension[i].pInit ){
test1.c
8,275
296
rc = aExtension[i].pInit(db, &zErrMsg, 0);
test1.c
8,279
296
if( (rc!=SQLITE_OK && rc!=SQLITE_OK_LOAD_PERMANENTLY) || zErrMsg ){
sqlite3.c
99,213
296
if( (newType & MEM_Null) || oc>=OP_SeekGE ){
sqlite3.c
113,115
296
return exprNodeIsConstant(pWalker, pExpr);
sqlite3.c
124,529
296
while( sType.n>0 && sqlite3Isspace(sType.z[sType.n-1]) ) sType.n--;
sqlite3.c
125,476
296
for(i=0, j=pIdx->nKeyCol; i<nPk; i++){
sqlite3.c
168,469
296
continue; /* Partial index inappropriate for this query */
tclsqlite.c
2,938
296
case DB_FUNCTION: {
tclsqlite.c
2,939
296
int flags = SQLITE_UTF8;
tclsqlite.c
2,943
296
int nArg = -1;
tclsqlite.c
2,945
296
int eType = SQLITE_NULL;
tclsqlite.c
2,946
296
if( objc<4 ){
sqlite3_analyzer.c
129,188
296
return p;
sqlite3_analyzer.c
175,444
296
static Expr *tokenExpr(Parse *pParse, int op, Token t){
sqlite3_analyzer.c
175,445
296
Expr *p = sqlite3DbMallocRawNN(pParse->db, sizeof(Expr)+t.n+1);
sqlite3_analyzer.c
175,446
296
if( p ){
sqlite3_analyzer.c
175,448
296
p->op = (u8)op;
sqlite3_analyzer.c
175,449
296
p->affExpr = 0;
sqlite3_analyzer.c
175,450
296
p->flags = EP_Leaf;
sqlite3_analyzer.c
175,453
296
p->pLeft = p->pRight = 0;
sqlite3_analyzer.c
175,454
296
p->pAggInfo = 0;
sqlite3_analyzer.c
175,455
296
memset(&p->x, 0, sizeof(p->x));
sqlite3_analyzer.c
175,456
296
memset(&p->y, 0, sizeof(p->y));
sqlite3_analyzer.c
175,457
296
p->op2 = 0;
sqlite3_analyzer.c
175,458
296
p->iTable = 0;
sqlite3_analyzer.c
175,459
296
p->iColumn = 0;
sqlite3_analyzer.c
175,460
296
p->u.zToken = (char*)&p[1];
sqlite3_analyzer.c
175,461
296
memcpy(p->u.zToken, t.z, t.n);
sqlite3_analyzer.c
175,462
296
p->u.zToken[t.n] = 0;
sqlite3_analyzer.c
175,463
296
p->w.iOfst = (int)(t.z - pParse->zTail);
sqlite3_analyzer.c
175,464
296
if( sqlite3Isquote(p->u.zToken[0]) ){
sqlite3_analyzer.c
175,470
296
if( IN_RENAME_OBJECT ){
sqlite3_analyzer.c
175,474
296
return p;
test1.c
5,271
295
for(i=0; i<nFlag; i++){
sqlite3.c
179,118
295
case 45: /* generated ::= LP expr RP */
sqlite3.c
179,119
295
{sqlite3AddGenerated(pParse,yymsp[-1].minor.yy590,0);}
sqlite3.c
179,120
295
break;
sqlite3.c
181,836
295
i++;
sqlite3.c
181,837
295
}while( (c=z[i])!=0 && !sqlite3Isspace(c) && c!=')' );
sqlite3.c
208,245
295
return 0;
series.c
763
294
pIdxInfo->aConstraintUsage[j].argvIndex = ++nArg;
series.c
764
294
pIdxInfo->aConstraintUsage[j].omit =
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
5