github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/storage/testdata/diskmap (about) 1 new-map main duplicates=false 2 ---- 3 4 batch main 5 put a 1 6 put b 2 7 put a 3 8 ---- 9 10 iter main 11 rewind 12 next 13 next 14 ---- 15 a:3 16 b:2 17 . 18 19 batch main 20 put d3 3 21 put cd 2 22 put c 1 23 ---- 24 25 iter main 26 rewind 27 next 28 next 29 next 30 next 31 next 32 ---- 33 a:3 34 b:2 35 c:1 36 cd:2 37 d3:3 38 . 39 40 iter main 41 rewind 42 next 43 next 44 rewind 45 seek c 46 next 47 next 48 next 49 ---- 50 a:3 51 b:2 52 c:1 53 a:3 54 c:1 55 cd:2 56 d3:3 57 . 58 59 close-map main 60 ---- 61 62 new-map sandbox1 63 ---- 64 65 new-map sandbox2 66 ---- 67 68 batch sandbox1 69 put x 1 70 put y 2 71 ---- 72 73 iter sandbox2 74 seek x 75 ---- 76 . 77 78 iter sandbox1 79 seek x 80 next 81 next 82 ---- 83 x:1 84 y:2 85 . 86 87 batch sandbox2 88 put p 3 89 put q 4 90 ---- 91 92 iter sandbox1 93 rewind 94 next 95 next 96 ---- 97 x:1 98 y:2 99 . 100 101 iter sandbox2 102 rewind 103 next 104 next 105 ---- 106 p:3 107 q:4 108 . 109 110 close-map sandbox1 111 ---- 112 113 raw-count 114 ---- 115 count=2 116 117 iter sandbox2 118 rewind 119 next 120 next 121 ---- 122 p:3 123 q:4 124 . 125 126 close-map sandbox2 127 ---- 128 129 raw-count 130 ---- 131 count=0