clang-format: A few minor comment-spacing fixes

This commit is contained in:
Tim Wojtulewicz 2021-09-24 14:36:54 -07:00
parent 9cb54f5d44
commit 07e276ab2e
2 changed files with 5 additions and 4 deletions

View file

@ -1239,7 +1239,7 @@ void Dictionary::InsertRelocateAndAdjust(detail::DictEntry& entry, int insert_po
// range if the changed range straddles over remap_end. // range if the changed range straddles over remap_end.
if ( Remapping() && insert_position <= remap_end && remap_end < last_affected_position ) if ( Remapping() && insert_position <= remap_end && remap_end < last_affected_position )
{ //[i,j] range changed. if map_end in between. then possibly old entry pushed down across { //[i,j] range changed. if map_end in between. then possibly old entry pushed down across
//map_end. // map_end.
remap_end = last_affected_position; // adjust to j on the conservative side. remap_end = last_affected_position; // adjust to j on the conservative side.
} }
@ -1498,7 +1498,7 @@ void Dictionary::Remap()
if ( ! table[remap_end].Empty() && Remap(remap_end) ) if ( ! table[remap_end].Empty() && Remap(remap_end) )
left--; left--;
else //< successful Remap may increase remap_end in the case of SizeUp due to insert. if so, else //< successful Remap may increase remap_end in the case of SizeUp due to insert. if so,
//remap_end need to be worked on again. // remap_end need to be worked on again.
remap_end--; remap_end--;
} }
if ( remap_end < 0 ) if ( remap_end < 0 )

View file

@ -658,8 +658,9 @@ void Contents_RPC::DeliverStream(int len, const u_char* data, bool orig)
last_frag = (marker & 0x80000000) != 0; last_frag = (marker & 0x80000000) != 0;
marker &= 0x7fffffff; marker &= 0x7fffffff;
// printf("%.6f %d marker= %u <> last_frag= %d <> expected=%llu <> // printf("%.6f %d marker= %u <> last_frag= %d <> expected=%llu <>
// processed= %llu <> len = %d\n", run_state::network_time, IsOrig(), marker, // processed= %llu <> len = %d\n", run_state::network_time, IsOrig(),
//last_frag, msg_buf.GetExpected(), msg_buf.GetProcessed(), len); // marker,
// last_frag, msg_buf.GetExpected(), msg_buf.GetProcessed(), len);
if ( ! msg_buf.AddToExpected(marker) ) if ( ! msg_buf.AddToExpected(marker) )
Conn()->Weird("RPC_message_too_long", Conn()->Weird("RPC_message_too_long",