- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TestOrdering (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), Executors.newCachedThreadPool()); assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); } public void testOrdering() throws Exception { final AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { final int expectedCount = i; list.add( new Runnable() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), Executors.newCachedThreadPool()); assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); } public void testOrdering() throws Exception { final AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { final int expectedCount = i; list.add( new Runnable() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 4.7K bytes - Viewed (0) -
pkg/queue/instance_test.go
package queue import ( "errors" "sync" "testing" "time" "go.uber.org/atomic" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" ) func TestOrdering(t *testing.T) { numValues := 1000 q := NewQueue(1 * time.Microsecond) stop := make(chan struct{}) defer close(stop) wg := sync.WaitGroup{} wg.Add(numValues) mu := sync.Mutex{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// No change yet. assertEquals(2, totalCalls.get()); fakePool.runAll(); assertEquals(5, totalCalls.get()); assertFalse(fakePool.hasNext()); } public void testOrdering() { final List<Integer> callOrder = Lists.newArrayList(); class FakeOp implements Runnable { final int op; FakeOp(int op) { this.op = op; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// No change yet. assertEquals(2, totalCalls.get()); fakePool.runAll(); assertEquals(5, totalCalls.get()); assertFalse(fakePool.hasNext()); } public void testOrdering() { final List<Integer> callOrder = Lists.newArrayList(); class FakeOp implements Runnable { final int op; FakeOp(int op) { this.op = op; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.4K bytes - Viewed (0)