- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 859 for timeIt (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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)) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
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)) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (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:"Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 2.9K bytes - Click Count (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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
/** Timeout for process destruction in milliseconds. */ private final long timeout; /** * Constructor for ProcessDestroyer. * @param p The process to monitor. * @param ist The input stream thread. * @param timeout The destruction timeout. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* * @param timeout the maximum time to wait * @param unit the time unit of the timeout argument * @throws TimeoutException if not all of the services have stopped within the deadline */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public void awaitStopped(long timeout, TimeUnit unit) throws TimeoutException { state.awaitStopped(timeout, unit); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 33.2K bytes - Click Count (1) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
* @param timeout the maximum time to wait * @param unit the time unit of the timeout argument * @throws TimeoutException if not all of the services have stopped within the deadline */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public void awaitStopped(long timeout, TimeUnit unit) throws TimeoutException { state.awaitStopped(timeout, unit); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 32.9K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
/** * @since 28.0 */ @Override public final void awaitRunning(Duration timeout) throws TimeoutException { Service.super.awaitRunning(timeout); } @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) { try { checkCurrentState(RUNNING); } finally {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.7K bytes - Click Count (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);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.8K bytes - Click Count (0) -
internal/dsync/dsync_test.go
time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond) dm.Unlock(t.Context()) dm.Lock(id, source) time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond) dm.Unlock(t.Context()) dm.Lock(id, source) time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond) dm.Unlock(t.Context()) } // Test two locks for same resource, one succeeds, one fails (after timeout)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0)