lnd/queue
carla a223e4eedb
queue: add fixed size circular buffer
This commit introduces a fixed size circular buffer  which stores
elements in a fixed size underlying array, wrapping to overwrite items
when the buffer gets full.
2020-03-17 08:22:23 +02:00
..
circular_buf_test.go queue: add fixed size circular buffer 2020-03-17 08:22:23 +02:00
circular_buf.go queue: add fixed size circular buffer 2020-03-17 08:22:23 +02:00
gc_queue_test.go multi: add buffer.Write and pool.WriteBuffer, make GCQueue generic 2019-02-15 19:31:24 -08:00
gc_queue.go multi: add buffer.Write and pool.WriteBuffer, make GCQueue generic 2019-02-15 19:31:24 -08:00
go.mod queue: run go mod tidy 2019-09-23 15:11:20 +02:00
go.sum ticker+queue: run go mod tidy 2019-07-26 09:29:38 +02:00
priority_queue_test.go queue: Introducing a general purpose priority queue. 2019-12-11 16:08:05 +01:00
priority_queue.go queue: fixing doc after cherry pick 2019-12-13 16:52:22 +01:00
queue_test.go queue/queue_test: adds 100% test coverage 2018-12-03 13:58:25 -08:00
queue.go multi: replace manual CAS with sync.Once in several more modules 2019-06-12 09:37:26 -03:00