- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 255 for Instant (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testRapidCalls() { Instant[] instants = new Instant[1000]; for (int i = 0; i < instants.length; i++) { instants[i] = MonotonicClock.now(); } // Verify monotonic behavior across all measurements for (int i = 1; i < instants.length; i++) { assertTrue( instants[i].compareTo(instants[i - 1]) >= 0,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
} @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers = Headers .Builder() .add("Test-Instant", Instant.ofEpochMilli(0L)) .set("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun addParsing() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.curl.logging import java.io.PrintWriter import java.io.StringWriter import java.time.Instant import java.time.ZoneOffset import java.time.format.DateTimeFormatterBuilder import java.time.temporal.ChronoField.HOUR_OF_DAY import java.time.temporal.ChronoField.MINUTE_OF_HOUR
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.1K bytes - Click Count (1) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
private volatile Instant lastAttempt = Instant.now(); private volatile Instant windowStart = Instant.now(); private volatile Instant blockExpiry = null; private final AtomicBoolean blocked = new AtomicBoolean(false); void recordAttempt() { Instant now = Instant.now(); // Reset window if more than 1 minute has passed
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/ClickLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
) = add(name, value.toHttpDateString()) /** * Add a header with the specified name and formatted instant. Does validation of header names * and value. */ @IgnoreJRERequirement // Only programs that already have Instant will use this. fun add( name: String, value: Instant, ) = add(name, Date.from(value)) /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/minio-dashboard.json
"uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "time() - max(minio_node_process_starttime_seconds{job=~\"$scrape_jobs\"})", "format": "time_series", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "{{instance}}", "metric": "process_start_time_seconds", "refId": "A", "step": 60
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 93.1K bytes - Click Count (0)