def _scan_pages_for_same(self, progress_cb=_stub_progress):
        progress = 0
        count = 0
        same_count = 0

        for page in self.page_list:
            # Read page data if unknown - after this page.same will be True or False
            if page.same is None:
                data = self.flash.target.readBlockMemoryUnaligned8(page.addr, len(page.data))
                page.same = _same(page.data, data)
                progress += page.getVerifyWeight()
                count += 1
                if page.same:
                    same_count += 1

                # Update progress
                progress_cb(float(progress) / float(self.page_erase_weight))
        return progress
Return the cassandra version
dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/flash/flash_builder.py/FlashBuilder._scan_pages_for_same--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/cassandra.py/version