Skip to content

Conversation

@Barenboim
Copy link
Contributor

No description provided.

return -1;
}

size_t crc32_offset = record_header.size();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个得挪回去,record_header.size();的值变了

}

char *crc_ptr = (char *)header_block->get_block() + crc32_offset;
size_t crc32_offset = 8 + 4 + 4 + 2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8 + 4 + 4 + 1

@Barenboim Barenboim merged commit cb04492 into sogou:master Nov 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants