- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for enterXXX (0.27 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
import org.jspecify.annotations.Nullable; /** * Generated tests for {@link Monitor}. * * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
// places you'll have monitor.enter()/monitor.leave() and other // places you'll have guard.enter()/guard.leave() even though // it's the same lock being acquired underneath. Always using // monitor.enterXXX()/monitor.leave() will make it really clear // which lock is held at any point in the code. // // 3. I think "enterWhen(notEmpty)" reads better than "notEmpty.enter()". //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0)