Skip to content

Commit

Permalink
[skip-ci] stray parenthesis in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdymercury authored and guitargeek committed Jun 3, 2024
1 parent ba42abf commit ac1808b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion io/io/src/TBufferJSON.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,7 @@ void TBufferJSON::JsonWriteFastArray(const T *arr, Long64_t arrsize, const char
if (arrsize > maxElements)
{
Fatal("JsonWriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", arrsize, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}

TStreamerElement *elem = Stack()->fElem;
Expand Down
2 changes: 1 addition & 1 deletion io/sql/src/TBufferSQL2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ R__ALWAYS_INLINE void TBufferSQL2::SqlWriteArray(T *arr, Long64_t arrsize, Bool_
if (arrsize < 0 || arrsize > maxElements)
{
Fatal("SqlWriteArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", arrsize, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
if (!withsize && (arrsize <= 0))
return;
Expand Down
2 changes: 1 addition & 1 deletion io/xml/src/TBufferXML.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@ R__ALWAYS_INLINE void TBufferXML::XmlWriteFastArray(const T *arr, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("XmlWriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
BeforeIOoperation();
if (n <= 0)
Expand Down
28 changes: 14 additions & 14 deletions tree/tree/src/TBufferSQL.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void TBufferSQL::WriteFastArray(const bool *b, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += b[i];
Expand All @@ -451,7 +451,7 @@ void TBufferSQL::WriteFastArray(const Char_t *c, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += (Short_t)c[i];
Expand All @@ -471,7 +471,7 @@ void TBufferSQL::WriteFastArrayString(const Char_t *c, Long64_t /* n */)
if (maxElements < 1)
{
Fatal("WriteFastArrayString", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", 1LL, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
(*fInsertQuery) += "\"";
(*fInsertQuery) += c;
Expand All @@ -490,7 +490,7 @@ void TBufferSQL::WriteFastArray(const UChar_t *uc, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += uc[i];
Expand All @@ -510,7 +510,7 @@ void TBufferSQL::WriteFastArray(const Short_t *h, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += h[i];
Expand All @@ -531,7 +531,7 @@ void TBufferSQL::WriteFastArray(const UShort_t *us, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += us[i];
Expand All @@ -551,7 +551,7 @@ void TBufferSQL::WriteFastArray(const Int_t *ii, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
// std::cerr << "Column: " <<*fIter << " i:" << *ii << std::endl;
for(int i=0; i<n; ++i) {
Expand All @@ -572,7 +572,7 @@ void TBufferSQL::WriteFastArray(const UInt_t *ui, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += ui[i];
Expand All @@ -592,7 +592,7 @@ void TBufferSQL::WriteFastArray(const Long_t *l, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery)+= l[i];
Expand All @@ -612,7 +612,7 @@ void TBufferSQL::WriteFastArray(const ULong_t *ul, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += ul[i];
Expand All @@ -632,7 +632,7 @@ void TBufferSQL::WriteFastArray(const Long64_t *l, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += l[i];
Expand All @@ -652,7 +652,7 @@ void TBufferSQL::WriteFastArray(const ULong64_t *ul, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += ul[i];
Expand All @@ -672,7 +672,7 @@ void TBufferSQL::WriteFastArray(const Float_t *f, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += f[i];
Expand All @@ -692,7 +692,7 @@ void TBufferSQL::WriteFastArray(const Double_t *d, Long64_t n)
if (n < 0 || n > maxElements)
{
Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements);
return; // In case the user re-routes the error handler to not die when Fatal is called)
return; // In case the user re-routes the error handler to not die when Fatal is called
}
for(int i=0; i<n; ++i) {
(*fInsertQuery) += d[i];
Expand Down

0 comments on commit ac1808b

Please sign in to comment.