Skip to content

Conversation

@jblomer
Copy link
Contributor

@jblomer jblomer commented Dec 2, 2025

No description provided.

@jblomer jblomer requested a review from silverweed December 2, 2025 10:54
@jblomer jblomer self-assigned this Dec 2, 2025
@jblomer jblomer added the in:I/O label Dec 2, 2025
@jblomer jblomer marked this pull request as draft December 2, 2025 10:54

namespace {

class FileRaii {
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be pulled from ntuple_test.hxx, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but perhaps just from the test support when the other PR is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to avoid including this large header here.


char *buf = (char *)(fBuffer + cntpos);
if ((fBufCur - fBuffer - cntpos - sizeof(UInt_t)) >= kMaxMapCount) {
tobuf(buf, 0 | kByteCountMask);
Copy link
Contributor

Choose a reason for hiding this comment

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

The reason to write 0 | kByteCountMask is clear for us (today) but it might be confusing to anyone not familiar with the idea behind the plan; maybe a comment would help here.

Copy link
Member

Choose a reason for hiding this comment

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

On the other hand, this code is already almost obsolete, i.e. replaced by #20574 (which is still missing a few wrinkles: decision on Reset behavior, getter and setter)

@pcanal pcanal closed this Dec 2, 2025
@pcanal pcanal reopened this Dec 2, 2025
Uses RStreamerField as a test bed for (de-)serializing large objects
with TBufferFile.
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Test Results

    22 files      22 suites   3d 22h 6m 46s ⏱️
 3 784 tests  3 783 ✅ 0 💤 1 ❌
81 227 runs  81 225 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit e1f4b41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants