Unified · Split
| @@ -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 | ||
| @@ -859,7 +859,7 @@ void DataPublisher::SetUserData(void* userData) · 858 unmodified lines | |||
| 859 | 859 | ||
| 860 | uint64_t DataPublisher::GetTotalCommandChannelBytesSent() | 860 | uint64_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 | ||
| 872 | uint64_t DataPublisher::GetTotalDataChannelBytesSent() | 872 | uint64_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 | ||
| 884 | uint64_t DataPublisher::GetTotalMeasurementsSent() | 884 | uint64_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 | ||
| @@ -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 | ||
| 67 | TSSCPointMetadataPtr TSSCDecoder::NewTSSCPointMetadata() | 67 | TSSCPointMetadataPtr TSSCDecoder::NewTSSCPointMetadata() |
| @@ -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 | ||
| 68 | void TSSCEncoder::SetBuffer(uint8_t* data, uint32_t offset, uint32_t length) | 68 | void TSSCEncoder::SetBuffer(uint8_t* data, uint32_t offset, uint32_t length) |