github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/testdata/simple_level_iter (about)

     1  build 1
     2  set b b
     3  set c c
     4  ----
     5  
     6  
     7  iter files=(1)
     8  first
     9  next
    10  next
    11  ----
    12  b:b
    13  c:c
    14  .
    15  
    16  build 2
    17  set d d
    18  set f f
    19  ----
    20  
    21  iter files=(1, 2)
    22  first
    23  next
    24  next
    25  next
    26  ----
    27  b:b
    28  c:c
    29  d:d
    30  f:f
    31  
    32  # Test seeks within files.
    33  
    34  iter files=(1, 2)
    35  seek-ge bb
    36  next
    37  next
    38  next
    39  ----
    40  c:c
    41  d:d
    42  f:f
    43  .
    44  
    45  iter files=(1, 2)
    46  seek-ge a
    47  next
    48  next
    49  next
    50  ----
    51  b:b
    52  c:c
    53  d:d
    54  f:f
    55  
    56  iter files=(1, 2)
    57  seek-ge d
    58  next
    59  next
    60  ----
    61  d:d
    62  f:f
    63  .
    64  
    65  iter files=(1, 2)
    66  seek-ge f
    67  next
    68  ----
    69  f:f
    70  .
    71  
    72  iter files=(1, 2)
    73  seek-ge ff
    74  next
    75  ----
    76  .
    77  .