github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/testdata/merging_iter_seek (about)

     1  define
     2  a0.SET.0:0
     3  a1.SET.1:1
     4  a2.SET.2:2
     5  ----
     6  
     7  iter
     8  seek-ge a0
     9  next
    10  next
    11  next
    12  ----
    13  a0:0
    14  a1:1
    15  a2:2
    16  .
    17  
    18  iter
    19  seek-ge a1
    20  next
    21  next
    22  ----
    23  a1:1
    24  a2:2
    25  .
    26  
    27  iter
    28  seek-ge a2
    29  next
    30  ----
    31  a2:2
    32  .
    33  
    34  iter
    35  seek-ge a3
    36  ----
    37  .
    38  
    39  iter
    40  seek-lt a0
    41  ----
    42  .
    43  
    44  iter
    45  seek-lt a1
    46  prev
    47  ----
    48  a0:0
    49  .
    50  
    51  iter
    52  seek-lt a2
    53  prev
    54  prev
    55  ----
    56  a1:1
    57  a0:0
    58  .
    59  
    60  iter
    61  seek-lt a3
    62  prev
    63  prev
    64  prev
    65  ----
    66  a2:2
    67  a1:1
    68  a0:0
    69  .
    70  
    71  iter
    72  seek-prefix-ge a0
    73  next
    74  ----
    75  a0:0
    76  .
    77  
    78  iter
    79  seek-prefix-ge a0
    80  prev
    81  ----
    82  a0:0
    83  .
    84  
    85  iter
    86  seek-prefix-ge a0
    87  first
    88  next
    89  next
    90  next
    91  ----
    92  a0:0
    93  a0:0
    94  a1:1
    95  a2:2
    96  .
    97  
    98  iter
    99  seek-prefix-ge a0
   100  last
   101  next
   102  ----
   103  a0:0
   104  a2:2
   105  .
   106  
   107  iter
   108  seek-prefix-ge a0
   109  seek-ge a0
   110  next
   111  next
   112  next
   113  ----
   114  a0:0
   115  a0:0
   116  a1:1
   117  a2:2
   118  .
   119  
   120  iter
   121  seek-prefix-ge a0
   122  seek-lt a2
   123  next
   124  next
   125  ----
   126  a0:0
   127  a1:1
   128  a2:2
   129  .
   130  
   131  iter
   132  seek-prefix-ge a1
   133  last
   134  prev
   135  prev
   136  prev
   137  ----
   138  a1:1
   139  a2:2
   140  a1:1
   141  a0:0
   142  .
   143  
   144  iter
   145  seek-prefix-ge a1
   146  first
   147  prev
   148  ----
   149  a1:1
   150  a0:0
   151  .
   152  
   153  define
   154  a0.SET.0:0 b3.SET.3:3
   155  a1.SET.1:1
   156  a2.SET.2:2
   157  ----
   158  
   159  iter
   160  seek-ge a2
   161  next
   162  next
   163  ----
   164  a2:2
   165  b3:3
   166  .
   167  
   168  iter
   169  seek-lt a2
   170  prev
   171  prev
   172  ----
   173  a1:1
   174  a0:0
   175  .
   176  
   177  define
   178  a.SET.0:0 b.SET.3:3
   179  aa.SET.1:1
   180  aaa.SET.2:2
   181  ----
   182  
   183  iter
   184  seek-prefix-ge a
   185  next
   186  next
   187  next
   188  ----
   189  a:0
   190  aa:1
   191  aaa:2
   192  .
   193  
   194  iter
   195  seek-prefix-ge aa
   196  prev
   197  ----
   198  aa:1
   199  .
   200  
   201  iter
   202  seek-prefix-ge aa
   203  next
   204  prev
   205  prev
   206  ----
   207  aa:1
   208  aaa:2
   209  aa:1
   210  .
   211  
   212  iter
   213  seek-prefix-ge aa
   214  next
   215  prev
   216  next
   217  next
   218  ----
   219  aa:1
   220  aaa:2
   221  aa:1
   222  aaa:2
   223  .
   224  
   225  iter
   226  seek-prefix-ge aaa
   227  next
   228  ----
   229  aaa:2
   230  .
   231  
   232  iter
   233  seek-prefix-ge aaa
   234  prev
   235  ----
   236  aaa:2
   237  .
   238  
   239  iter
   240  seek-prefix-ge b
   241  prev
   242  ----
   243  b:3
   244  .
   245  
   246  iter
   247  seek-prefix-ge b
   248  next
   249  ----
   250  b:3
   251  .
   252  
   253  iter
   254  seek-prefix-ge aa
   255  last
   256  prev
   257  prev
   258  prev
   259  prev
   260  ----
   261  aa:1
   262  b:3
   263  aaa:2
   264  aa:1
   265  a:0
   266  .
   267  
   268  iter
   269  seek-prefix-ge aa
   270  first
   271  next
   272  next
   273  next
   274  next
   275  ----
   276  aa:1
   277  a:0
   278  aa:1
   279  aaa:2
   280  b:3
   281  .
   282  
   283  iter
   284  seek-prefix-ge aa
   285  seek-ge a
   286  next
   287  next
   288  next
   289  next
   290  ----
   291  aa:1
   292  a:0
   293  aa:1
   294  aaa:2
   295  b:3
   296  .
   297  
   298  iter
   299  seek-prefix-ge aa
   300  seek-lt aaa
   301  next
   302  next
   303  next
   304  ----
   305  aa:1
   306  aa:1
   307  aaa:2
   308  b:3
   309  .