| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package memory | 5 package memory |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "bytes" | 8 "bytes" |
| 9 "fmt" | 9 "fmt" |
| 10 "sort" | 10 "sort" |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 coll.Set(k, nv) | 280 coll.Set(k, nv) |
| 281 } | 281 } |
| 282 }) | 282 }) |
| 283 default: | 283 default: |
| 284 panic("impossible") | 284 panic("impossible") |
| 285 } | 285 } |
| 286 // TODO(riannucci): remove entries from idxColl and remove index
collections | 286 // TODO(riannucci): remove entries from idxColl and remove index
collections |
| 287 // when there are no index entries for that index any more. | 287 // when there are no index entries for that index any more. |
| 288 }) | 288 }) |
| 289 } | 289 } |
| OLD | NEW |