Searched defs:stack (Results 1 - 6 of 6) sorted by relevance

/libcore/json/src/main/java/org/json/
H A DJSONStringer.java111 * Unlike the original implementation, this stack isn't limited to 20
114 private final List<Scope> stack = new ArrayList<Scope>(); field in class:JSONStringer
175 if (stack.isEmpty() && out.length() > 0) {
179 stack.add(empty);
194 stack.remove(stack.size() - 1);
203 * Returns the value on the top of the stack.
206 if (stack.isEmpty()) {
209 return stack.get(stack
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java2504 private final List<String> stack; field in class:ObjectOutputStream.DebugTraceInfoStack
2507 stack = new ArrayList<>();
2514 stack.clear();
2521 stack.remove(stack.size()-1);
2528 stack.add("\t- " + entry);
2536 if (!stack.isEmpty()) {
2537 for(int i = stack.size(); i > 0; i-- ) {
2538 buffer.append(stack.get(i-1) + ((i != 1) ? "\n" : ""));
/libcore/ojluni/src/main/java/java/util/stream/
H A DNodes.java947 // node stack used when traversing to search and find leaf nodes
956 * Initiate a stack containing, in left-to-right order, the child nodes
963 Deque<N> stack = new ArrayDeque<>(8);
965 stack.addFirst((N) curNode.getChild(i));
966 return stack;
971 * an explicit stack, to find the next non-empty leaf node.
974 protected final N findNextLeafNode(Deque<N> stack) { argument
976 while ((n = stack.pollFirst()) != null) {
982 stack.addFirst((N) n.getChild(i));
996 // Initiate the node stack
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java92 * collected in a linked stack. It atomically completes by CASing
110 * as Treiber stacks headed by field "stack". There are Completion
152 * x's stack (unless done), and started or triggered via
175 * Treiber stack wait-nodes used in FutureTask, Phaser, and
192 volatile Completion stack; // Top of Treiber stack of dependent actions field in class:CompletableFuture
202 /** Returns true if successfully pushed c onto stack. */
204 Completion h = stack;
209 /** Unconditionally pushes c onto stack, retrying if necessary. */
408 volatile Completion next; // Treiber stack lin
[all...]
H A DConcurrentHashMap.java378 * a stack (see class TableStack) is created on first encounter of
385 * suggesting use of a stack here.)
3324 TableStack<K,V> stack, spare; // to save/restore on ForwardingNodes field in class:ConcurrentHashMap.Traverser
3364 if (stack != null)
3383 s.next = stack;
3384 stack = s;
3394 while ((s = stack) != null && (index += (len = s.length)) >= n) {
3401 stack = next;
4849 TableStack<K,V> stack, spare; field in class:ConcurrentHashMap.BulkTask
4896 if (stack !
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...

Completed in 338 milliseconds