5#ifndef V8_UTILS_UTILS_INL_H_
6#define V8_UTILS_UTILS_INL_H_
29 return V8::GetCurrentPlatform()->MonotonicallyIncreasingTime() *
30 static_cast<double>(base::Time::kMillisecondsPerSecond);
37template <
typename Char>
45 if (*index > 429496729U - ((d + 3) >> 3))
return false;
46 *index = (*index) * 10 + d;
50template <
typename Char>
54 *index = (*index) * 10 + d;
58template <
typename Stream,
typename index_t, enum ToIndexMode mode>
60 uint16_t ch = stream->GetNext();
66 return !stream->HasMore();
73 while (stream->HasMore()) {
static double TimestampMs()
TimedScope(double *result)
ZoneVector< RpoNumber > & result
bool TryAddArrayIndexChar(uint32_t *index, Char c)
constexpr uint64_t kMaxSafeIntegerUint64
bool TryAddIntegerIndexChar(uint64_t *index, Char c)
bool StringToIndex(Stream *stream, index_t *index)
constexpr bool IsDecimalDigit(base::uc32 c)
#define DCHECK(condition)
#define DCHECK_EQ(v1, v2)