def add(self, value):
ind = int(self._ind % self.shape)<EOL>self._pos = self._ind % self.shape<EOL>self._values[ind] = value<EOL>if self._ind < self.shape:<EOL><INDENT>self._ind += <NUM_LIT:1>  <EOL><DEDENT>else:<EOL><INDENT>self._ind += self._splitValue<EOL>self._splitPos += self._splitValue<EOL><DEDENT>self._cached = False<EOL>
Add a value to the buffer.