Home
last modified time | relevance | path

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

123456

/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/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/cronet/buildtools/third_party/libc++/trunk/test/libcxx/containers/sequences/deque/
Dspare_block_handling.pass.cpp34 template <class Deque>
35 static void print(const Deque& d) { in print()
45 using Deque = std::deque<T, malloc_allocator<T> >; typedef
58 template <class Deque>
60 explicit PrintOnFailure(Deque const& deque) : deque_(&deque) {} in PrintOnFailure()
63 const Deque* deque_;
71 std::unique_ptr<Deque<LargeT>> dp(new Deque<LargeT>); in push_back()
73 PrintOnFailure<Deque<LargeT>> on_fail(d); in push_back()
133 std::unique_ptr<Deque<LargeT>> dp(new Deque<LargeT>); in push_front()
135 PrintOnFailure<Deque<LargeT>> on_fail(d); in push_front()
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/
DLogContext.java30 import java.util.Deque;
61 …private static ThreadLocal<Deque<StackElement>> contextStack = new ThreadLocal<Deque<StackElement>…
64 public Deque<StackElement> initialValue()
89 Deque<StackElement> stack = contextStack.get(); in pushLogContext()
108 Deque<StackElement> stack = contextStack.get(); in popLogContext()
152 Deque<StackElement> stack = contextStack.get(); in getStackTrace()
/external/guava/guava/src/com/google/common/graph/
DTraverser.java28 import java.util.Deque;
389 N visitNext(Deque<Iterator<? extends N>> horizon) {
416 N visitNext(Deque<Iterator<? extends N>> horizon) {
442 Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
466 Deque<N> ancestorStack = new ArrayDeque<>();
467 Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
501 abstract N visitNext(Deque<Iterator<? extends N>> horizon);
508 <T> void insertInto(Deque<T> deque, T value) {
514 <T> void insertInto(Deque<T> deque, T value) {
519 abstract <T> void insertInto(Deque<T> deque, T value);
/external/guava/android/guava/src/com/google/common/graph/
DTraverser.java28 import java.util.Deque;
389 N visitNext(Deque<Iterator<? extends N>> horizon) {
416 N visitNext(Deque<Iterator<? extends N>> horizon) {
442 Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
466 Deque<N> ancestorStack = new ArrayDeque<>();
467 Deque<Iterator<? extends N>> horizon = new ArrayDeque<>();
501 abstract N visitNext(Deque<Iterator<? extends N>> horizon);
508 <T> void insertInto(Deque<T> deque, T value) {
514 <T> void insertInto(Deque<T> deque, T value) {
519 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/rust/crates/crossbeam-deque/
DCHANGELOG.md88 - Rename `Deque` to `Worker`.
90 - Remove methods `Deque::len` and `Stealer::len`.
91 - Remove method `Deque::stealer`.
92 - Remove method `Deque::steal`.
106 - Add `Deque::capacity`.
107 - Add `Deque::min_capacity`.
108 - Add `Deque::shrink_to_fit`.
111 - Shrink the buffer in `Deque::push` if necessary.
/external/turbine/java/com/google/turbine/options/
DTurbineOptionsParser.java30 import java.util.Deque;
50 Deque<String> argumentDeque = new ArrayDeque<>(); in parse()
55 private static void parse(TurbineOptions.Builder builder, Deque<String> argumentDeque) { in parse()
169 private static void expandParamsFiles(Deque<String> argumentDeque, Iterable<String> args) in expandParamsFiles()
200 private static String readOne(String flag, Deque<String> argumentDeque) { in readOne()
208 private static ImmutableList<String> readList(Deque<String> argumentDeque) { in readList()
220 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/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/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/fonttools/Lib/fontTools/ttLib/tables/
DotTraverse.py3 from typing import Callable, Deque, Iterable, List, Optional, Tuple
27 AddToFrontierFn = Callable[[Deque[SubTablePath], List[SubTablePath]], None]
112 frontier: Deque[SubTablePath] = deque()
/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/guava/android/guava/src/com/google/common/collect/
DForwardingDeque.java21 import java.util.Deque;
46 implements Deque<E> {
52 protected abstract Deque<E> delegate(); in delegate()
/external/guava/guava/src/com/google/common/collect/
DForwardingDeque.java21 import java.util.Deque;
46 implements Deque<E> {
52 protected abstract Deque<E> delegate(); in delegate()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTrace.java14 import java.util.Deque;
32 private static final ThreadLocal<Deque<String>> currentSections =
36 ThreadLocal.withInitial((Supplier<Deque<String>>) () -> new ArrayDeque<>());
143 public static Deque<String> getCurrentSections() { in getCurrentSections()
DShadowToneGenerator.java9 import java.util.Deque;
38 private static final Deque<Tone> playedTones = new ArrayDeque<>();
/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/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/
DVelocimacroProxy.java37 import java.util.Deque;
277 Deque<String> literalsStack = (Deque<String>)context.get(literalArgArray[i]); in render()
430 Deque<String> literalsStack = (Deque<String>)context.get(literalArgArray[i]); in handleArgValues()
/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/pigweed/pw_rpc/py/pw_rpc/
Dlossy_channel.py20 from typing import Callable, Deque, Optional, Tuple
76 self._actions: Deque[ManualPacketFilter._Action] = collections.deque()
192 self._packets: Deque[LossyChannel._Packet] = collections.deque()
193 self._old_packets: Deque[LossyChannel._Packet] = collections.deque()

123456