()
| 144 | } |
| 145 | |
| 146 | func waitForSet() { |
| 147 | time.Sleep(10 * time.Millisecond) |
| 148 | } |
| 149 | |
| 150 | // NewCache creates a new cache of files. |
| 151 | // cacheBlockSize is the fixed size of the cache block in bytes, and is used to evaluate the cost of each item in the cache. |