- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 166 for Instant (0.04 seconds)
-
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
public void setBuildStartTime(Date buildStartTime) { setBuildStartInstant(buildStartTime != null ? Instant.ofEpochMilli(buildStartTime.getTime()) : null); } @Override public Instant getBuildStartInstant() { return this.buildStartTime; } @Override public void setBuildStartInstant(Instant buildStartTime) { this.buildStartTime = buildStartTime; } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@Deprecated public Date getStartTime() { return new Date(startTime.toEpochMilli()); } @Override public Instant getStartInstant() { return startTime; } @Override public MavenExecutionRequest setStartInstant(Instant startTime) { this.startTime = startTime; return this; } @Override public boolean isShowErrors() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
final MavenSession currentSession, final MavenProject mavenProject, Throwable t, final Instant buildStartTime) { // record the error and mark the project as failed Instant buildEndTime = MonotonicClock.now(); buildContext.getResult().addException(t); buildContext .getResult()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
long instant = 0L; final List<String> events = new ArrayList<>(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
long instant = 0L; final List<String> events = new ArrayList<>(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/node/minio-node.json
}, "exemplar": true, "expr": "max(minio_node_drive_total{job=~\"$scrape_jobs\",server=\"$server\"})", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "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 - 22.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.execution; import java.io.File; import java.nio.file.Path; import java.time.Instant; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
// Timing (remove this) @Deprecated MavenExecutionRequest setStartTime(Date start); @Deprecated Date getStartTime(); MavenExecutionRequest setStartInstant(Instant start); Instant getStartInstant(); // Goals MavenExecutionRequest setGoals(List<String> goals); List<String> getGoals(); // Properties /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0)