(self, *args)
| 150 | return len(self._storage) |
| 151 | |
| 152 | def add(self, *args): |
| 153 | if self._next_idx >= len(self._storage): |
| 154 | self._storage.append(args) |
| 155 | else: |
| 156 | self._storage[self._next_idx] = args |
| 157 | self._next_idx = (self._next_idx + 1) % self._maxsize |
| 158 | |
| 159 | def _encode_sample(self, idxes): |
| 160 | b_o, b_a, b_r, b_o_, b_d = [], [], [], [], [] |
no outgoing calls
no test coverage detected