| 350 | } |
| 351 | |
| 352 | size_t DashDotProto::ByteSizeLong() const { |
| 353 | // @@protoc_insertion_point(message_byte_size_start:DashDotProto) |
| 354 | size_t total_size = 0; |
| 355 | |
| 356 | // repeated double dd = 1; |
| 357 | { |
| 358 | unsigned int count = this->dd_size(); |
| 359 | size_t data_size = 8UL * count; |
| 360 | if (data_size > 0) { |
| 361 | total_size += 1 + |
| 362 | ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); |
| 363 | } |
| 364 | int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); |
| 365 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
| 366 | _dd_cached_byte_size_ = cached_size; |
| 367 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
| 368 | total_size += data_size; |
| 369 | } |
| 370 | |
| 371 | // double offset = 2; |
| 372 | if (this->offset() != 0) { |
| 373 | total_size += 1 + 8; |
| 374 | } |
| 375 | |
| 376 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| 377 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
| 378 | _cached_size_ = cached_size; |
| 379 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
| 380 | return total_size; |
| 381 | } |
| 382 | |
| 383 | void DashDotProto::CheckTypeAndMergeFrom( |
| 384 | const ::google::protobuf::MessageLite& from) { |
nothing calls this directly
no test coverage detected