MCPcopy Index your code
hub / github.com/tensorflow/tfjs / isFull

Method isFull

tfjs-data/src/util/ring_buffer.ts:88–90  ·  view source on GitHub ↗

* Reports whether the buffer is full. * @returns true if the number of items in the buffer equals its capacity, and * false otherwise.

()

Source from the content-addressed store, hash-verified

86 * false otherwise.
87 */
88 isFull() {
89 return this.length() === this.capacity;
90 }
91
92 /**
93 * Reports whether the buffer is empty.

Callers 3

pushMethod · 0.95
unshiftMethod · 0.95
refillMethod · 0.45

Calls 1

lengthMethod · 0.95

Tested by

no test coverage detected