- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 417 for timeIt (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} }, GET_STACK_TRACE { @Override List<StackTraceElement> getStackTrace(Throwable t) { return asList(t.getStackTrace()); } }; boolean timeIt(int reps, int breakAt) { boolean dummy = false; for (int i = 0; i < reps; i++) { int f = 0; Throwable t = new Throwable(); for (StackTraceElement ste : getStackTrace(t)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} }, GET_STACK_TRACE { @Override List<StackTraceElement> getStackTrace(Throwable t) { return asList(t.getStackTrace()); } }; boolean timeIt(int reps, int breakAt) { boolean dummy = false; for (int i = 0; i < reps; i++) { int f = 0; Throwable t = new Throwable(); for (StackTraceElement ste : getStackTrace(t)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
buildscripts/test-timeout.sh
exit 1 fi (cd "${MC_BUILD_DIR}" && go build -o "$C_PWD/mc") # remove mc source. purge "${MC_BUILD_DIR}" fi "${MINIO[@]}" --address ":$start_port" --read-header-timeout ${srv_hdr_timeout}s --idle-timeout ${srv_idle_timeout}s "${WORK_DIR}/disk/" >"${WORK_DIR}/server1.log" 2>&1 & pid=$! disown $pid sleep 1 if ! ps -p ${pid} 1>&2 >/dev/null; then echo "server1 log:"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Dec 02 13:21:17 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
@RetainedLocalRef Future<?> localTimer = timer; // Try to cancel the timer as an optimization. // timer may be null if this call to run was by the timer task since there is no happens-before // edge between the assignment to timer and an execution of the timer task. if (localTimer != null) { localTimer.cancel(false); } delegateRef = null; timer = null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.ThreadUtil; import org.codelibs.core.timer.TimeoutTarget; /** * AccessTimeoutTarget is a class that implements the TimeoutTarget interface. * It is used to interrupt a running thread when a timeout occurs. * The class provides methods to interrupt the thread and stop the timeout target. * * <p> * The class uses a logger to log debug messages.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
* * @param timeoutTarget the target * @param timeout the timeout duration * @param permanent whether the task is permanent * @return the {@link TimeoutTask} */ public synchronized TimeoutTask addTimeoutTarget(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) { final TimeoutTask task = new TimeoutTask(timeoutTarget, timeout, permanent); timeoutTaskList.addLast(task);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
} /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */ public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException { // The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS); fail("Should have timed out trying to get the value."); } catch (TimeoutException expected) { } finally {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
} /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */ public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException { // The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS); fail("Should have timed out trying to get the value."); } catch (TimeoutException expected) { } finally {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
timeout := newDynamicTimeout(time.Minute, time.Second) initial := timeout.Timeout() for range dynamicTimeoutLogSize { timeout.LogSuccess(20 * time.Second) } adjusted := timeout.Timeout() for range dynamicTimeoutLogSize { timeout.LogSuccess(20 * time.Second) } adjustedAgain := timeout.Timeout() if initial <= adjusted || adjusted <= adjustedAgain {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0)