Lines Matching refs:offer
36 assertTrue(q.offer(new Integer(i)));
122 assertFalse(q.offer(three));
147 assertTrue(q.offer(zero));
148 assertFalse(q.offer(one));
306 * timed offer times out if full and elements not taken
316 assertFalse(q.offer(new Object(), timeoutMillis(), MILLISECONDS));
320 q.offer(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS);
682 * offer transfers elements across Executor tasks
692 assertFalse(q.offer(three));
694 assertTrue(q.offer(three, LONG_DELAY_MS, MILLISECONDS));
800 assertTrue(q.offer(new Integer(j)));