Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NexusCPP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Libraries
NexusCPP
Commits
9ef2b777
Commit
9ef2b777
authored
Jul 16, 2024
by
Stéphane Poirier
Browse files
Options
Downloads
Patches
Plain Diff
Write timer was never restarted after first expiration
parent
6027f5b0
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2
HDF5 1.14.3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nxwriter.cpp
+4
-1
4 additions, 1 deletion
src/nxwriter.cpp
with
4 additions
and
1 deletion
src/nxwriter.cpp
+
4
−
1
View file @
9ef2b777
...
...
@@ -2013,10 +2013,13 @@ void DatasetWriter::PushData(const void *pData, std::size_t nDataCount, bool bNo
m_mbData
.
buf_len
()
/
(
1024
*
1024
)
>
m_usMaxMB
||
// Buffer full
(
m_nDataItemCount
-
m_nWrittenCount
)
>=
(
yat
::
uint32
)
m_shapeMatrix
[
m_shapeMatrix
.
size
()
-
1
]
||
// Enough data
(
!
m_bUnlimited
&&
yat
::
uint64
(
m_nDataItemCount
*
m_ulDataItemSize
)
>=
m_ui64TotalSize
)
)
// Cache limit size reached or dataset fully completed
{
if
(
m_tmWriteTimeout
.
enabled
()
)
m_tmWriteTimeout
.
restart
();
Flush
(
call_on_flush
);
}
}
}
//------------------------------------------------------------------------------
// DatasetWriter::CreateDataset
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment