| 314 | } |
| 315 | |
| 316 | absl::StatusOr<uint64_t> CheckedInt64ToUint64(int64_t v) { |
| 317 | CEL_RETURN_IF_ERROR(CheckRange(v >= 0, "int64 out of uint64 range")); |
| 318 | return static_cast<uint64_t>(v); |
| 319 | } |
| 320 | |
| 321 | absl::StatusOr<int32_t> CheckedInt64ToInt32(int64_t v) { |
| 322 | CEL_RETURN_IF_ERROR( |
no test coverage detected