def next(self):
        if self.pos >= self.size:
            raise StopIteration
        chunk_size = min(self.size - self.pos, self.chunk_size)
        self.pos += chunk_size
        return '0' * chunk_size
dataset/ETHPy150Open openstack/swift-bench/swiftbench/bench.py/SourceFile.next/original