History

TimeSeriesPlatformLibrary: Updated uint64_t literal suffixes for consistency.

J. Ritchie Carroll committed 7 years ago

Commit 11034281 parent c1c518a4 files · +12 −12Browse files

Unified · Split

4 files
  1. Source/Libraries/TimeSeriesPlatformLibrary/Common/Convert.h +1 −1
  2. Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataPublisher.cpp +3 −3
  3. Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCDecoder.cpp +4 −4
  4. Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCEncoder.cpp +4 −4
Source/Libraries/TimeSeriesPlatformLibrary/Common/Convert.h+1−1
@@ -79,7 +79,7 @@ namespace GSF · 78 unmodified lines
79 79
80 bool TryParseInt32(const std::string& value, int32_t& result, int32_t defaultValue = 0);80 bool TryParseInt32(const std::string& value, int32_t& result, int32_t defaultValue = 0);
81 81
82 bool TryParseInt64(const std::string& value, int64_t& result, int64_t defaultValue = 0L);82 bool TryParseInt64(const std::string& value, int64_t& result, int64_t defaultValue = 0LL);
83 83
84 bool TryParseDouble(const std::string& value, float64_t& result, float64_t defaultValue = 0.0);84 bool TryParseDouble(const std::string& value, float64_t& result, float64_t defaultValue = 0.0);
85 85
Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataPublisher.cpp+3−3
@@ -859,7 +859,7 @@ void DataPublisher::SetUserData(void* userData) · 858 unmodified lines
859 859
860uint64_t DataPublisher::GetTotalCommandChannelBytesSent()860uint64_t DataPublisher::GetTotalCommandChannelBytesSent()
861{861{
862 uint64_t totalCommandChannelBytesSent = 0L;862 uint64_t totalCommandChannelBytesSent = 0LL;
863 863
864 ReaderLock readLock(m_subscriberConnectionsLock);864 ReaderLock readLock(m_subscriberConnectionsLock);
865 865
@@ -871,7 +871,7 @@ uint64_t DataPublisher::GetTotalCommandChannelBytesSent() · 5 unmodified lines
871 871
872uint64_t DataPublisher::GetTotalDataChannelBytesSent()872uint64_t DataPublisher::GetTotalDataChannelBytesSent()
873{873{
874 uint64_t totalDataChannelBytesSent = 0L;874 uint64_t totalDataChannelBytesSent = 0LL;
875 875
876 ReaderLock readLock(m_subscriberConnectionsLock);876 ReaderLock readLock(m_subscriberConnectionsLock);
877 877
@@ -883,7 +883,7 @@ uint64_t DataPublisher::GetTotalDataChannelBytesSent() · 5 unmodified lines
883 883
884uint64_t DataPublisher::GetTotalMeasurementsSent()884uint64_t DataPublisher::GetTotalMeasurementsSent()
885{885{
886 uint64_t totalMeasurementsSent = 0L;886 uint64_t totalMeasurementsSent = 0LL;
887 887
888 ReaderLock readLock(m_subscriberConnectionsLock);888 ReaderLock readLock(m_subscriberConnectionsLock);
889 889
Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCDecoder.cpp+4−4
@@ -36,8 +36,8 @@ TSSCDecoder::TSSCDecoder() : · 35 unmodified lines
36 m_data(nullptr),36 m_data(nullptr),
37 m_position(0),37 m_position(0),
38 m_lastPosition(0),38 m_lastPosition(0),
39 m_prevTimestamp1(0L),39 m_prevTimestamp1(0LL),
40 m_prevTimestamp2(0L),40 m_prevTimestamp2(0LL),
41 m_prevTimeDelta1(Int64::MaxValue),41 m_prevTimeDelta1(Int64::MaxValue),
42 m_prevTimeDelta2(Int64::MaxValue),42 m_prevTimeDelta2(Int64::MaxValue),
43 m_prevTimeDelta3(Int64::MaxValue),43 m_prevTimeDelta3(Int64::MaxValue),
@@ -60,8 +60,8 @@ void TSSCDecoder::Reset() · 16 unmodified lines
60 m_prevTimeDelta2 = Int64::MaxValue;60 m_prevTimeDelta2 = Int64::MaxValue;
61 m_prevTimeDelta3 = Int64::MaxValue;61 m_prevTimeDelta3 = Int64::MaxValue;
62 m_prevTimeDelta4 = Int64::MaxValue;62 m_prevTimeDelta4 = Int64::MaxValue;
63 m_prevTimestamp1 = 0L;63 m_prevTimestamp1 = 0LL;
64 m_prevTimestamp2 = 0L;64 m_prevTimestamp2 = 0LL;
65}65}
66 66
67TSSCPointMetadataPtr TSSCDecoder::NewTSSCPointMetadata()67TSSCPointMetadataPtr TSSCDecoder::NewTSSCPointMetadata()
Source/Libraries/TimeSeriesPlatformLibrary/Transport/TSSCEncoder.cpp+4−4
@@ -36,8 +36,8 @@ TSSCEncoder::TSSCEncoder() : · 35 unmodified lines
36 m_data(nullptr),36 m_data(nullptr),
37 m_position(0),37 m_position(0),
38 m_lastPosition(0),38 m_lastPosition(0),
39 m_prevTimestamp1(0L),39 m_prevTimestamp1(0LL),
40 m_prevTimestamp2(0L),40 m_prevTimestamp2(0LL),
41 m_prevTimeDelta1(Int64::MaxValue),41 m_prevTimeDelta1(Int64::MaxValue),
42 m_prevTimeDelta2(Int64::MaxValue),42 m_prevTimeDelta2(Int64::MaxValue),
43 m_prevTimeDelta3(Int64::MaxValue),43 m_prevTimeDelta3(Int64::MaxValue),
@@ -61,8 +61,8 @@ void TSSCEncoder::Reset() · 17 unmodified lines
61 m_prevTimeDelta2 = Int64::MaxValue;61 m_prevTimeDelta2 = Int64::MaxValue;
62 m_prevTimeDelta3 = Int64::MaxValue;62 m_prevTimeDelta3 = Int64::MaxValue;
63 m_prevTimeDelta4 = Int64::MaxValue;63 m_prevTimeDelta4 = Int64::MaxValue;
64 m_prevTimestamp1 = 0L;64 m_prevTimestamp1 = 0LL;
65 m_prevTimestamp2 = 0L;65 m_prevTimestamp2 = 0LL;
66}66}
67 67
68void TSSCEncoder::SetBuffer(uint8_t* data, uint32_t offset, uint32_t length)68void TSSCEncoder::SetBuffer(uint8_t* data, uint32_t offset, uint32_t length)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t