Andrew Gillis
|
04e142afea
+= notation
|
9 лет назад |
Andrew Gillis
|
98ef0e8da9
Get() accepts negative index.
|
9 лет назад |
Dariusz Górecki
|
334cc1b023
Simplify arithmetic so it's easier to understand
|
10 лет назад |
Evan Huus
|
f4e18e921e
Replace <= with == to make it clearer the size is always a power of two
|
10 лет назад |
Evan Huus
|
4cf52fc23a
Add a comment, switch a conditional for readability
|
10 лет назад |
Evan Huus
|
09089ab65e
Trivial formatting
|
10 лет назад |
Evan Huus
|
b6f8f25cf2
Slightly more informative error messages
|
11 лет назад |
Evan Huus
|
4a3e001d49
Access count directly rather than through a function
|
11 лет назад |
Evan Huus
|
6770be2743
Minor simplification
|
11 лет назад |
Antoine Grondin
|
ad0f934b4e
Update docs to mention panics for bad accesses.
|
11 лет назад |
Antoine Grondin
|
d8809f0b75
Add bound checks. Add test for bound checks.
|
11 лет назад |
Antoine Grondin
|
c58145c54b
Add a mean to get an index, allowing iterations of the queue.
|
11 лет назад |
Evan Huus
|
197b9db7ad
Tweak godoc
|
11 лет назад |
Evan Huus
|
94680353d4
Initial import of queue code from channels package
|
11 лет назад |