Skip to content

Conversation

@pcanal
Copy link
Member

@pcanal pcanal commented Nov 29, 2025

No description provided.

@pcanal pcanal self-assigned this Nov 29, 2025
@github-actions
Copy link

github-actions bot commented Nov 29, 2025

Test Results

    22 files      22 suites   3d 23h 58m 41s ⏱️
 3 783 tests  3 782 ✅ 0 💤 1 ❌
81 205 runs  81 204 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 0d9bcc2.

♻️ This comment has been updated with latest results.

@pcanal pcanal closed this Dec 2, 2025
@pcanal pcanal reopened this Dec 2, 2025
@pcanal pcanal force-pushed the Arlesienne branch 2 times, most recently from 00fe0ac to 41a877a Compare December 4, 2025 01:29
In order to support 64 bits byte count, which does not fit in the space reverse for them
in the stream (4 bytes minus 3 control bits) and the position and some byte count do not
fit in the variable used in existing code (arguments to WriteVersion, SetByteCount,
ReadVersion and CheckByteCount), we need to pass them indirectly.

Since the streaming is inherently serial, we can leverage the
sequence of calls and cache the 64 bits values in a queue.

The bytecount that can not be stored in place in the stream will be held
in a collection (fByteCounts) that need to be stored externally to the
buffer.
Note to store and restore the larger than 1GB byte count use:

  // Copy the content of the const reference.
  auto bytecounts{b.GetByteCounts()};
  ...
  b.SetByteCounts(std::move(bytecounts));
@pcanal pcanal requested review from bellenot, jblomer and silverweed and removed request for bellenot December 8, 2025 23:02
@pcanal pcanal marked this pull request as ready for review December 8, 2025 23:03
@pcanal pcanal requested a review from bellenot as a code owner December 8, 2025 23:03
@pcanal pcanal removed the request for review from bellenot December 9, 2025 15:28
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.

1 participant