Lines Matching refs:data
46 # Compute hashes on the u1 and u2 fields of the sample data.
49 global data
51 foreach rec [lsort -integer -index 0 $data] {
57 global data
59 foreach rec [lsort -integer -index 0 $data] {
65 # Create the initial data set
67 unset -nocomplain data i max_rowid todel n rec max1 id origres newres
69 set data {}
72 lappend data $rec
76 # Create the T1 table used to hold test data. Populate that table with
77 # the initial data set and check hashes to make sure everything is correct.
89 foreach rec [scramble $data] {
103 set n [expr {[llength $data]/10}]
104 set data [scramble $data]
105 foreach rec [lrange $data 0 $n] {
108 set data [lrange $data [expr {$n+1}] end]
109 set max1 [lindex [lindex $data 0] 0]
110 foreach rec $data {
128 lappend data $rec
136 lappend data $rec
230 unset -nocomplain data i max_rowid todel n rec max1 id origres newres