- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 154 for Cock (0.03 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
public void testSchedule() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); Future<?> unused1 = testExecutor.schedule(() -> {}, 10, MINUTES); mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES); Future<?> unused2 = testExecutor.schedule(() -> null, 5, SECONDS); mock.assertLastMethodCalled("scheduleCallable", 5, SECONDS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); assertFalse(testExecutor.awaitTermination(10, MILLISECONDS)); mock.assertLastMethodCalled("awaitTermination"); assertFalse(testExecutor.isTerminated()); mock.assertLastMethodCalled("isTerminated"); assertFalse(testExecutor.isShutdown()); mock.assertLastMethodCalled("isShutdown");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} @Override public int size() { synchronized (lock) { return cachingHashMap.size(); } } @Override public boolean isEmpty() { synchronized (lock) { return cachingHashMap.isEmpty(); } } @Override public @Nullable V get(@Nullable Object key) { Timestamped<V> value; synchronized (lock) { checkNotNull(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
private final Object lock = new Object(); /** * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link * RunnableExecutorPair#next} field. */ @GuardedBy("lock") private @Nullable RunnableExecutorPair runnables; @GuardedBy("lock") private boolean executed; /** Creates a new, empty {@link ExecutionList}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
} }; NotificationHelper notificationHelper = new NotificationHelper() { // Mock send method public void send(final Object postcard) { // Mock implementation } }; // Mock Postbox - no need to mock, the framework will handle it // Register componentsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * Lock lockA = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockB = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockC = factory2.newReentrantLock(MyLockOrder.FIRST); * * lockA.lock(); * * lockB.lock(); // will throw an IllegalStateException * lockC.lock(); // will throw an IllegalStateException * * lockA.lock(); // reentrant acquisition is okay * }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.SmallLazyStriped<Lock>(50, ReentrantLock::new)) .add(new Striped.SmallLazyStriped<Lock>(64, ReentrantLock::new)) .add(new Striped.LargeLazyStriped<Lock>(50, ReentrantLock::new)) .add(new Striped.LargeLazyStriped<Lock>(64, ReentrantLock::new)) .add(new Striped.SmallLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.SmallLazyStriped<Lock>(50, ReentrantLock::new)) .add(new Striped.SmallLazyStriped<Lock>(64, ReentrantLock::new)) .add(new Striped.LargeLazyStriped<Lock>(50, ReentrantLock::new)) .add(new Striped.LargeLazyStriped<Lock>(64, ReentrantLock::new)) .add(new Striped.SmallLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0)