| /sqlite-3.40.0/test/ |
| H A D | run-wordcount.sh | 17 mv wc-out.txt wc-baseline.txt 20 if cmp -s wc-out.txt wc-baseline.txt; 23 diff -u wc-baseline.txt wc-out.txt; 28 if cmp -s wc-out.txt wc-baseline.txt; 31 diff -u wc-baseline.txt wc-out.txt; 35 if cmp -s wc-out.txt wc-baseline.txt; 43 if cmp -s wc-out.txt wc-baseline.txt; 51 if cmp -s wc-out.txt wc-baseline.txt; 58 mv wc-out.txt wc-baseline.txt 60 if cmp -s wc-out.txt wc-baseline.txt; [all …]
|
| H A D | zipfile.test | 234 f.txt 1 249 } {f.txt g.txt h.txt i.txt} 252 } {f.txt g.txt h.txt i.txt} 260 } {f.txt h.txt i.txt} 353 i.txt {} 360 i.txt {} 634 a.txt 1 b.txt 2 c.txt 1 d.txt 2 641 } {a.txt 1 c.txt 1} 782 } {subdir subdir/x1.txt subdir/x2.txt} 791 } {subdir subdir/x1.txt subdir/x2.txt} [all …]
|
| H A D | quota2.test | 85 } {PWD/quota2a/xyz.txt 4000 7000} 160 sqlite3_quota_remove quota2a/xyz.txt 266 } {{*/quota2a/* 4000 300 {PWD/quota2a/x2/b.txt 200 1 0} {PWD/quota2a/x1/a.txt 100 0 0}}} 271 } {{*/quota2a/* 4000 800 {PWD/quota2a/x1/c.txt 500 1 0} {PWD/quota2a/x2/b.txt 200 1 0} {PWD/quota2a… 273 file exists quota2a/x1/a.txt 276 file exists quota2a/x2/b.txt 279 file exists quota2a/x1/c.txt 284 } {{*/quota2a/* 4000 700 {PWD/quota2a/x1/c.txt 500 1 1} {PWD/quota2a/x2/b.txt 200 1 0}}} 291 file exists quota2a/x1/a.txt 294 file exists quota2a/x2/b.txt [all …]
|
| H A D | extension01.test | 21 forcedelete file1.txt 22 set out [open ./file1.txt wb] 27 INSERT INTO t1 VALUES(1, readfile('./file1.txt')); 32 forcedelete file2.txt 47 set in [open ./file2.txt rb] 50 list $x [file size file2.txt] 55 SELECT writefile('./file2.txt', NULL); 59 file size ./file2.txt 66 file attributes ./file2.txt -readonly 1 69 SELECT writefile('./file2.txt', 'Another test'); [all …]
|
| H A D | wapp.tcl | 24 proc wapp {txt} { argument 46 proc wapp-unsafe {txt} { argument 81 proc wapp-subst {txt} { 84 {%(html|url|qp|string|unsafe){1,1}?(|%)\((.+)\)\2} $txt wappInt-enc txt 87 proc wapp-trim {txt} { 89 regsub -all {\n\s+} [string trim $txt] \n txt 91 {%(html|url|qp|string|unsafe){1,1}?(|%)\((.+)\)\2} $txt wappInt-enc txt 98 proc wapp-subst {txt} { 104 proc wapp-trim {txt} { 106 regsub -all {\n\s+} [string trim $txt] \n txt [all …]
|
| H A D | zipfile2.test | 83 VALUES('a.txt', 1000000, 'contents of a.txt') UNION ALL 84 VALUES('b.txt', 1000000, 'contents of b.txt') 94 a.txt 1000000 {contents of a.txt} 95 b.txt 1000000 {contents of b.txt} 120 a.txt {contents of a.txt} 121 b.txt {contents of b.txt} 132 a.txt {contents of a.txt} 133 b.txt {contents of b.txt} 139 # VALUES('a.txt', 1000000, 'aaaaaaaaaaaaaaaaaaaaaaa') 161 a.txt 1000000 aaaaaaaaaaaaaaaaaaaaaaa 8 [all …]
|
| H A D | trigger7.test | 58 set txt [db eval {EXPLAIN UPDATE t1 SET x=5}] 59 string match *___update_t1.x___* $txt 62 set txt [db eval {EXPLAIN UPDATE t1 SET x=5}] 63 string match *___update_t1.y___* $txt 66 set txt [db eval {EXPLAIN UPDATE t1 SET y=5}] 67 string match *___update_t1.x___* $txt 70 set txt [db eval {EXPLAIN UPDATE t1 SET y=5}] 71 string match *___update_t1.y___* $txt 74 set txt [db eval {EXPLAIN UPDATE t1 SET rowid=5}] 75 string match *___update_t1.x___* $txt [all …]
|
| H A D | speed3.test | 63 set txt "[number_name [expr {$n/1000}]] thousand" 66 set txt {} 69 append txt " [lindex $::ones [expr {$n/100}]] hundred" 73 append txt " [lindex $::tens [expr {$n/10}]]" 77 append txt " [lindex $::ones $n]" 79 set txt [string trim $txt] 80 if {$txt==""} {set txt zero} 81 return $txt
|
| H A D | zipfilefault.test | 42 INSERT INTO setup(name, data) VALUES('a.txt', '1234567890'); 48 faultsim_test_result {0 {a.txt 1234567890}} 66 INSERT INTO setup(name, data) VALUES('a.txt', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa'); 72 faultsim_test_result {0 {a.txt aaaaaaaaaaaaaaaaaaaaaaaaaaaa}} 101 VALUES('a.txt', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa'); 136 VALUES('a.txt', '1234567890') UNION ALL 149 VALUES('a.txt', $big)
|
| H A D | speed4.test | 30 set sqlout [open speed1.txt w] 49 set txt "[number_name [expr {$n/1000}]] thousand" 52 set txt {} 55 append txt " [lindex $::ones [expr {$n/100}]] hundred" 59 append txt " [lindex $::tens [expr {$n/10}]]" 63 append txt " [lindex $::ones $n]" 65 set txt [string trim $txt] 66 if {$txt==""} {set txt zero} 67 return $txt
|
| H A D | speed1.test | 28 set sqlout [open speed1.txt w] 47 set txt "[number_name [expr {$n/1000}]] thousand" 50 set txt {} 53 append txt " [lindex $::ones [expr {$n/100}]] hundred" 57 append txt " [lindex $::tens [expr {$n/10}]]" 61 append txt " [lindex $::ones $n]" 63 set txt [string trim $txt] 64 if {$txt==""} {set txt zero} 65 return $txt
|
| H A D | shell4.test | 131 set fd [open t1.txt wb] 134 exec $::CLI_ONLY :memory: --interactive ".read t1.txt" 137 set fd [open t1.txt wb] 140 exec $::CLI_ONLY :memory: --interactive ".read t1.txt" 144 set fd [open t1.txt wb] 145 puts $fd ".read t1.txt" 147 catchcmd ":memory:" ".read t1.txt"
|
| H A D | quota.test | 418 sqlite3_quota_file quota-test-B1.txt 428 add_to_file quota-test-B1.txt 123 429 sqlite3_quota_file quota-test-B1.txt 433 add_to_file quota-test-B2.txt 234 434 sqlite3_quota_file quota-test-B2.txt 438 add_to_file quota-test-B1.txt 2000 439 sqlite3_quota_file quota-test-B1.txt 443 forcedelete quota-test-B1.txt 444 sqlite3_quota_file quota-test-B1.txt 448 forcedelete quota-test-B2.txt [all …]
|
| H A D | speed4p.explain | 30 set sqlout [open speed1.txt w] 49 set txt "[number_name [expr {$n/1000}]] thousand" 52 set txt {} 55 append txt " [lindex $::ones [expr {$n/100}]] hundred" 59 append txt " [lindex $::tens [expr {$n/10}]]" 63 append txt " [lindex $::ones $n]" 65 set txt [string trim $txt] 66 if {$txt==""} {set txt zero} 67 return $txt
|
| H A D | speed4p.test | 30 set sqlout [open speed1.txt w] 49 set txt "[number_name [expr {$n/1000}]] thousand" 52 set txt {} 55 append txt " [lindex $::ones [expr {$n/100}]] hundred" 59 append txt " [lindex $::tens [expr {$n/10}]]" 63 append txt " [lindex $::ones $n]" 65 set txt [string trim $txt] 66 if {$txt==""} {set txt zero} 67 return $txt
|
| H A D | speed2.test | 24 set sqlout [open speed2.txt w] 43 set txt "[number_name [expr {$n/1000}]] thousand" 46 set txt {} 49 append txt " [lindex $::ones [expr {$n/100}]] hundred" 53 append txt " [lindex $::tens [expr {$n/10}]]" 57 append txt " [lindex $::ones $n]" 59 set txt [string trim $txt] 60 if {$txt==""} {set txt zero} 61 return $txt
|
| H A D | speed1p.test | 45 set txt "[number_name [expr {$n/1000}]] thousand" 48 set txt {} 51 append txt " [lindex $::ones [expr {$n/100}]] hundred" 55 append txt " [lindex $::tens [expr {$n/10}]]" 59 append txt " [lindex $::ones $n]" 61 set txt [string trim $txt] 62 if {$txt==""} {set txt zero} 63 return $txt
|
| H A D | speed1p.explain | 26 set sqlout [open speed1.txt w] 45 set txt "[number_name [expr {$n/1000}]] thousand" 48 set txt {} 51 append txt " [lindex $::ones [expr {$n/100}]] hundred" 55 append txt " [lindex $::tens [expr {$n/10}]]" 59 append txt " [lindex $::ones $n]" 61 set txt [string trim $txt] 62 if {$txt==""} {set txt zero} 63 return $txt
|
| /sqlite-3.40.0/tool/ |
| H A D | speed-check.sh | 174 echo "NAME = $NAME" | tee summary-$NAME.txt 176 echo "CC_OPTS = $CC_OPTS" | tee -a summary-$NAME.txt 182 size sqlite3.o | tee -a summary-$NAME.txt 190 ls -l speedtest1 | tee -a summary-$NAME.txt 193 $SPEEDTEST_OPTS 2>&1 | tee -a summary-$NAME.txt 197 size sqlite3.o | tee -a summary-$NAME.txt 200 cg_anno.tcl cachegrind.out.* >cout-$NAME.txt 202 sed 's/^[0-9=-]\{9\}/==00000==/' summary-$NAME.txt >>cout-$NAME.txt 208 tclsh ../sqlite/tool/vdbe_profile.tcl >vdbeprofile-$NAME.txt 209 open vdbeprofile-$NAME.txt [all …]
|
| H A D | run-speed-test.sh | 69 echo "NAME = $NAME" | tee summary-$NAME.txt 70 echo "SPEEDTEST_OPTS = $SPEEDTEST_OPTS" | tee -a summary-$NAME.txt 71 echo "CC_OPTS = $CC_OPTS" | tee -a summary-$NAME.txt 74 size sqlite3.o | tee -a summary-$NAME.txt 82 ls -l speedtest1 | tee -a summary-$NAME.txt 84 $SPEEDTEST_OPTS 2>&1 | tee -a summary-$NAME.txt 85 size sqlite3.o | tee -a summary-$NAME.txt 87 cg_anno.tcl cachegrind.out.* >cout-$NAME.txt 89 ./speedtest1 --explain $SPEEDTEST_OPTS | ./sqlite3 >explain-$NAME.txt
|
| H A D | mkspeedsql.tcl | 32 set txt "[number_name [expr {$n/1000}]] thousand" 35 set txt {} 38 append txt " [lindex $::ones [expr {$n/100}]] hundred" 42 append txt " [lindex $::tens [expr {$n/10}]]" 46 append txt " [lindex $::ones $n]" 48 set txt [string trim $txt] 49 if {$txt==""} {set txt zero} 50 return $txt
|
| H A D | speedtest2.tcl | 96 set txt "[number_name [expr {$n/1000}]] thousand" 99 set txt {} 102 append txt " [lindex $::ones [expr {$n/100}]] hundred" 106 append txt " [lindex $::tens [expr {$n/10}]]" 110 append txt " [lindex $::ones $n]" 112 set txt [string trim $txt] 113 if {$txt==""} {set txt zero} 114 return $txt
|
| H A D | kvtest-speed.sh | 23 valgrind --tool=cachegrind ./kvtest run kvtest.db $KVARGS 2>&1 | tee summary-kvtest-$NAME.txt 25 cg_anno.tcl cachegrind.out.sql-$NAME >cout-kvtest-sql-$NAME.txt 28 … --tool=cachegrind ./kvtest run kvtest.db $KVARGS --blob-api 2>&1 | tee -a summary-kvtest-$NAME.txt 30 cg_anno.tcl cachegrind.out.$NAME >cout-kvtest-$NAME.txt 34 fossil test-diff --tk cout-kvtest-trunk.txt cout-kvtest-$NAME.txt &
|
| H A D | speedtest.tcl | 105 set txt "[number_name [expr {$n/1000}]] thousand" 108 set txt {} 111 append txt " [lindex $::ones [expr {$n/100}]] hundred" 115 append txt " [lindex $::tens [expr {$n/10}]]" 119 append txt " [lindex $::ones $n]" 121 set txt [string trim $txt] 122 if {$txt==""} {set txt zero} 123 return $txt
|
| /sqlite-3.40.0/ext/session/ |
| H A D | session_common.tcl | 196 set txt "[number_name [expr {$n/1000}]] thousand" 199 set txt {} 202 append txt " [lindex $::ones [expr {$n/100}]] hundred" 206 append txt " [lindex $::tens [expr {$n/10}]]" 210 append txt " [lindex $::ones $n]" 212 set txt [string trim $txt] 213 if {$txt==""} {set txt zero} 214 return $txt
|