Home
last modified time | relevance | path

Searched refs:Deque (Results 1 – 25 of 93) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/collect/
DForwardingDequeTest.java21 import java.util.Deque;
35 Deque.class, in testForwarding()
36 new Function<Deque, Deque>() { in testForwarding()
38 public Deque apply(Deque delegate) { in testForwarding()
44 private static <T> Deque<T> wrap(final Deque<T> delegate) { in wrap()
47 protected Deque<T> delegate() { in wrap()
DSynchronizedDequeTest.java21 import java.util.Deque;
32 protected Deque<String> create() { in create()
34 Deque<String> outer = Synchronized.deque(inner, inner.mutex); in create()
39 private static final class TestDeque<E> implements Deque<E> {
40 private final Deque<E> delegate = Lists.newLinkedList();
/external/guava/android/guava-tests/test/com/google/common/collect/
DForwardingDequeTest.java21 import java.util.Deque;
35 Deque.class, in testForwarding()
36 new Function<Deque, Deque>() { in testForwarding()
38 public Deque apply(Deque delegate) { in testForwarding()
44 private static <T> Deque<T> wrap(final Deque<T> delegate) { in wrap()
47 protected Deque<T> delegate() { in wrap()
DSynchronizedDequeTest.java21 import java.util.Deque;
32 protected Deque<String> create() { in create()
34 Deque<String> outer = Synchronized.deque(inner, inner.mutex); in create()
39 private static final class TestDeque<E> implements Deque<E> {
40 private final Deque<E> delegate = Lists.newLinkedList();
/external/llvm-project/libcxx/test/libcxx/containers/sequences/deque/
Dspare_block_handling.pass.cpp32 template <class Deque>
33 static void print(const Deque& d) { in print()
43 using Deque = std::deque<T, malloc_allocator<T> >; typedef
56 template <class Deque>
58 explicit PrintOnFailure(Deque const& deque) : deque_(&deque) {} in PrintOnFailure()
67 const Deque* deque_;
76 std::unique_ptr<Deque<LargeT>> dp(new Deque<LargeT>); in TEST_CASE()
78 PrintOnFailure<Deque<LargeT>> on_fail(d); in TEST_CASE()
138 std::unique_ptr<Deque<LargeT>> dp(new Deque<LargeT>); in TEST_CASE()
140 PrintOnFailure<Deque<LargeT>> on_fail(d); in TEST_CASE()
[all …]
/external/rust/crates/crossbeam-deque/
DCHANGELOG.md60 - Rename `Deque` to `Worker`.
62 - Remove methods `Deque::len` and `Stealer::len`.
63 - Remove method `Deque::stealer`.
64 - Remove method `Deque::steal`.
78 - Add `Deque::capacity`.
79 - Add `Deque::min_capacity`.
80 - Add `Deque::shrink_to_fit`.
83 - Shrink the buffer in `Deque::push` if necessary.
DREADME.md1 # Crossbeam Deque
29 Crossbeam Deque supports stable Rust releases going back at least six months,
/external/guava/android/guava/src/com/google/common/graph/
DTraverser.java27 import java.util.Deque;
386 N visitNext(Deque<Iterator<? extends N>> horizon) {
403 N visitNext(Deque<Iterator<? extends N>> horizon) {
429 final Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
452 final Deque<N> ancestorStack = new ArrayDeque<>();
453 final Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
482 abstract N visitNext(Deque<Iterator<? extends N>> horizon);
489 <T> void insertInto(Deque<T> deque, T value) {
495 <T> void insertInto(Deque<T> deque, T value) {
500 abstract <T> void insertInto(Deque<T> deque, T value);
/external/guava/guava/src/com/google/common/graph/
DTraverser.java27 import java.util.Deque;
386 N visitNext(Deque<Iterator<? extends N>> horizon) {
403 N visitNext(Deque<Iterator<? extends N>> horizon) {
429 final Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
452 final Deque<N> ancestorStack = new ArrayDeque<>();
453 final Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
482 abstract N visitNext(Deque<Iterator<? extends N>> horizon);
489 <T> void insertInto(Deque<T> deque, T value) {
495 <T> void insertInto(Deque<T> deque, T value) {
500 abstract <T> void insertInto(Deque<T> deque, T value);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/
DTestJava6Types.java3 import java.util.Deque;
18 Deque<?> dq = mapper.readValue("[1]", Deque.class); in test16Types()
21 assertTrue(dq instanceof Deque<?>); in test16Types()
/external/turbine/java/com/google/turbine/options/
DTurbineOptionsParser.java31 import java.util.Deque;
53 Deque<String> argumentDeque = new ArrayDeque<>(); in parse()
58 private static void parse(TurbineOptions.Builder builder, Deque<String> argumentDeque) { in parse()
165 private static void expandParamsFiles(Deque<String> argumentDeque, Iterable<String> args) in expandParamsFiles()
195 private static String readOne(Deque<String> argumentDeque) { in readOne()
203 private static ImmutableList<String> readList(Deque<String> argumentDeque) { in readList()
215 private static ImmutableList<String> readJavacopts(Deque<String> argumentDeque) { in readJavacopts()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DDimensionHelpers.java26 import java.util.Deque;
57 Deque<List<AnnotationTree>> builder = new ArrayDeque<>(); in extractDims()
81 Deque<List<AnnotationTree>> dims) { in reorderBySourcePosition()
108 private static Tree extractDims(Deque<List<AnnotationTree>> dims, Tree node) { in extractDims()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DDispatcher.java22 import java.util.Deque;
44 private final Deque<AsyncCall> readyCalls = new ArrayDeque<>();
47 private final Deque<AsyncCall> runningCalls = new ArrayDeque<>();
50 private final Deque<Call> executedCalls = new ArrayDeque<>();
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DDispatcher.java23 import java.util.Deque;
46 private final Deque<AsyncCall> readyCalls = new ArrayDeque<>();
49 private final Deque<AsyncCall> runningCalls = new ArrayDeque<>();
52 private final Deque<Call> executedCalls = new ArrayDeque<>();
/external/guava/android/guava/src/com/google/common/collect/
DForwardingDeque.java21 import java.util.Deque;
42 public abstract class ForwardingDeque<E> extends ForwardingQueue<E> implements Deque<E> {
48 protected abstract Deque<E> delegate(); in delegate()
DQueues.java24 import java.util.Deque;
421 public static <E> Deque<E> synchronizedDeque(Deque<E> deque) { in synchronizedDeque()
/external/guava/guava/src/com/google/common/collect/
DForwardingDeque.java21 import java.util.Deque;
42 public abstract class ForwardingDeque<E> extends ForwardingQueue<E> implements Deque<E> {
48 protected abstract Deque<E> delegate(); in delegate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTrace.java9 import java.util.Deque;
30 private static final Deque<String> currentSections = new ArrayDeque<>();
99 public static Deque<String> getCurrentSections() { in getCurrentSections()
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DChain.java23 import java.util.Deque;
121 Deque<Chain> reverse() {
122 Deque<Chain> reverseChain = new ArrayDeque<Chain>(8);
/external/dagger2/java/dagger/example/atm/
DCommandProcessor.java22 import java.util.Deque;
38 private final Deque<CommandRouter> commandRouterStack = new ArrayDeque<>();
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DSourcePrinter.java28 import java.util.Deque;
42 private final Deque<String> indents = new LinkedList<>();
43 private final Deque<String> reindentedIndents = new LinkedList<>();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DCertificateChainCleaner.java24 import java.util.Deque;
60 Deque<Certificate> queue = new ArrayDeque<>(chain); in clean()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DCertificateChainCleaner.java25 import java.util.Deque;
62 Deque<Certificate> queue = new ArrayDeque<>(chain); in clean()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxDocumentLoader.java4 import java.util.Deque;
45 Deque<NodeHandler> nodeHandlerStack = new ArrayDeque<>(); in doParse()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DNettyHttpClient.java45 import java.util.Deque;
55 private final Deque<HttpChannel> freeChannels = new ArrayDeque<>();
56 private final Deque<HttpUrl> backlog = new ArrayDeque<>();

1234