- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 156 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) -
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/en/mkdocs.yml
- content.code.annotate - content.code.copy - content.footnote.tooltips - content.tabs.link - content.tooltips - navigation.footer - navigation.indexes - navigation.instant - navigation.instant.prefetch - navigation.instant.progress - navigation.path - navigation.tabs - navigation.tabs.sticky - navigation.top - navigation.tracking - search.highlight - search.share - search.suggest
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:44:55 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.audit; import java.time.Instant; import java.time.format.DateTimeFormatter; import java.util.HashMap; import java.util.Map; import java.util.Queue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ConcurrentHashMap;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
@Test fun headers() { var headers: Headers = headersOf("", "") headers = mapOf("" to "").toHeaders() val get: String? = headers[""] val date: Date? = headers.getDate("") val instant: Instant? = headers.getInstant("") val size: Int = headers.size val name: String = headers.name(0) val value: String = headers.value(0) val names: Set<String> = headers.names()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
* * @return The current time. */ public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong()); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } /** * Gets the path to the log file. * * @return The log file path. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 08:30:43 GMT 2025 - 36.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
if (projectRealm != null) { Thread.currentThread().setContextClassLoader(projectRealm); } } protected static class Clock { Instant start; Instant end; Instant resumed; Duration exec = Duration.ZERO; protected void start() { if (start == null) { start = MonotonicClock.now();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
controller.delayAfterProcessing(); final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("No delay expected", elapsed < 50); // Should be nearly instant } /** * Test delayAfterProcessing with actual delay */ public void test_delayAfterProcessing_withDelay() {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:58:39 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* successive readings of "now" in the same process. * * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@link Duration} (such as by {@link Duration#between}), but * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0)