()
| 8317 | var kMask = kSize - 1; |
| 8318 | var FixedCircularBuffer = class { |
| 8319 | constructor() { |
| 8320 | this.bottom = 0; |
| 8321 | this.top = 0; |
| 8322 | this.list = new Array(kSize); |
| 8323 | this.next = null; |
| 8324 | } |
| 8325 | isEmpty() { |
| 8326 | return this.top === this.bottom; |
| 8327 | } |
| 8328 | isFull() { |
| 8329 | return (this.top + 1 & kMask) === this.bottom; |
no outgoing calls
no test coverage detected