Searched refs:MAX_ALLOWED_TIME_MILLIS (Results 1 – 2 of 2) sorted by relevance
41 private static final long MAX_ALLOWED_TIME_MILLIS = (1L << 44) - 1; field in PageTokenWrapper88 checkArgument(timeMillis <= MAX_ALLOWED_TIME_MILLIS, "timestamp too large"); in of()132 long mask = MAX_ALLOWED_TIME_MILLIS << TIMESTAMP_START_BIT; in getTimestamp()
35 private static final long MAX_ALLOWED_TIME_MILLIS = (1L << 44) - 1; field in PageTokenWrapperTest86 isAscending, MAX_ALLOWED_TIME_MILLIS + 1, /* offset= */ 0)); in of_invalidArgument_throws()194 /* isAscending= */ false, MAX_ALLOWED_TIME_MILLIS, /* offset= */ 0); in encodeAndFromToken_maxTimestamps_expectCorrectTime()198 assertThat(result.timeMillis()).isEqualTo(MAX_ALLOWED_TIME_MILLIS); in encodeAndFromToken_maxTimestamps_expectCorrectTime()