- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for enter (0.07 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* methods that do not take an explicit timeout value, a single test case is generated only if the * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS). */ private static void addTests( TestSuite suite, Method method, Scenario scenario, TimeoutsToUse timeoutsToUse,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
public <T> T[] toArray(T[] a) { Monitor monitor = this.monitor; monitor.enter(); try { return q.toArray(a); } finally { monitor.leave(); } } @CanIgnoreReturnValue // pushed down from class to method @Override public String toString() { Monitor monitor = this.monitor; monitor.enter(); try { return q.toString(); } finally {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* * @return the number of elements in this queue */ @CanIgnoreReturnValue @Override public int size() { Monitor monitor = this.monitor; monitor.enter(); try { return count; } finally { monitor.leave(); } } // this doc comment is a modified copy of the inherited doc comment, // without the reference to unlimited queues.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishRelease.kt
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 24 03:08:48 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0); monitor.enter(); try { verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1); verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0); monitor.enter(); try { verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0); monitor.enter(); try { verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1); verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0); monitor.enter(); try { verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
} /** * Attempts to start the timer immediately prior to the service being started via {@link * Service#startAsync()}. */ void tryStartTiming(Service service) { monitor.enter(); try { Stopwatch stopwatch = startupTimers.get(service); if (stopwatch == null) { startupTimers.put(service, Stopwatch.createStarted()); } } finally {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (1) -
.github/PULL_REQUEST_TEMPLATE.md
--> #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? <!-- If no, just write "NONE" in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri Jun 06 14:40:00 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
withLock { while (headersQueue.isEmpty() && errorCode == null) { val doReadTimeout = callerIsIdle || doReadTimeout() if (doReadTimeout) { readTimeout.enter() } try { waitForIo() } finally { if (doReadTimeout) { readTimeout.exitAndThrowIfTimedOut() } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
return method.getAnnotation(AllowConcurrentEvents.class) != null; } /** * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter * the method at a time. */ @VisibleForTesting static final class SynchronizedSubscriber extends Subscriber { private SynchronizedSubscriber(EventBus bus, Object target, Method method) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0)