-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[io] add test bed for streaming large objects #20608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Arlesienne
Are you sure you want to change the base?
Conversation
|
|
||
| namespace { | ||
|
|
||
| class FileRaii { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
Uses RStreamerField as a test bed for (de-)serializing large objects with TBufferFile.
8be2fe3 to
e1f4b41
Compare
Test Results 22 files 22 suites 3d 22h 6m 46s ⏱️ For more details on these failures, see this check. Results for commit e1f4b41. |
No description provided.