Searched refs:iterate (Results 1 - 25 of 113) sorted by relevance

12345

/openjdk10/langtools/test/tools/javac/generics/
H A DT6391995.java33 <E> void iterate(Iterable<E> iterable) { method in class:T6391995
35 iterate(x.iterator().next());
/openjdk10/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DIterateTest.java53 Factory.ofSupplier("ref.empty", () -> Stream.iterate(1, x -> x < 0, x -> x * 2))},
55 Factory.ofSupplier("ref.one", () -> Stream.iterate(1, x -> x < 2, x -> x * 2))},
57 Factory.ofSupplier("ref.ten", () -> Stream.iterate(1, x -> x < 1000, x -> x * 2))},
59 Factory.ofSupplier("ref.nullCheck", () -> Stream.iterate(10, Objects::nonNull, x -> x > 0 ? x - 1 : null))},
61 Factory.ofIntSupplier("int.empty", () -> IntStream.iterate(1, x -> x < 0, x -> x + 1))},
63 Factory.ofIntSupplier("int.one", () -> IntStream.iterate(1, x -> x < 2, x -> x + 1))},
65 Factory.ofIntSupplier("int.ten", () -> IntStream.iterate(1, x -> x <= 10, x -> x + 1))},
67 Factory.ofIntSupplier("int.divZero", () -> IntStream.iterate(5, x -> x != 0, x -> x - 1/x/2 - 1))},
69 Factory.ofLongSupplier("long.empty", () -> LongStream.iterate(1L, x -> x < 0, x -> x + 1))},
71 Factory.ofLongSupplier("long.one", () -> LongStream.iterate(
[all...]
H A DConcatOpTest.java68 Stream.iterate(0, i -> i + 1)));
71 Stream.iterate(0, i -> i + 1),
86 LongStream.iterate(0, i -> i + 1)));
89 LongStream.iterate(0, i -> i + 1),
104 IntStream.iterate(0, i -> i + 1)));
107 IntStream.iterate(0, i -> i + 1),
122 DoubleStream.iterate(0, i -> i + 1)));
125 DoubleStream.iterate(0, i -> i + 1),
H A DRangeTest.java46 Integer first = Stream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().get();
47 assertEquals(first, Stream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst().get());
52 "", () -> Stream.iterate(0, i -> i + 1).filter(i -> i > 10000).limit(20000))).
137 "int range", () -> IntStream.iterate(0, i -> i + 1).limit(10000))).
142 int first = IntStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsInt();
143 assertEquals(first, IntStream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst().getAsInt());
220 "long range", () -> LongStream.iterate(0, i -> i + 1).limit(10000))).
225 long first = LongStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsLong();
226 assertEquals(first, LongStream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst().getAsLong());
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/cdbg/
H A DCDebugInfoDataBase.java42 public void iterate(TypeVisitor t); method in interface:CDebugInfoDataBase
63 public void iterate(LineNumberVisitor v); method in interface:CDebugInfoDataBase
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DHeapPrinter.java40 obj.iterate(oopPrinter, true);
H A DOop.java140 public void iterate(OopVisitor visitor, boolean doVMFields) { method in class:Oop
181 iterate(printer, true);
H A DMetadata.java76 public void iterate(MetadataVisitor visitor) { method in class:Metadata
/openjdk10/hotspot/src/share/vm/libadt/
H A Dset.hpp82 // Forall will iterate the members in ascending order.
209 virtual class SetI_ *iterate(uint&) const=0;
241 SetI( const Set *s ) { impl = s->iterate(elem); }
243 void reset( const Set *s ) { delete impl; impl = s->iterate(elem); }
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/interpreter/
H A DMaskFillerForNative.java47 super.iterate();
/openjdk10/nashorn/samples/
H A Dfixed_point.js43 return Stream.iterate(init_guess, f)
/openjdk10/hotspot/src/share/vm/gc/parallel/
H A DparMarkBitMap.hpp41 // Values returned by the iterate() methods.
81 // range [live_range_beg, live_range_end). This is used to iterate over the
97 IterationStatus iterate(ParMarkBitMapClosure* live_closure,
99 inline IterationStatus iterate(ParMarkBitMapClosure* live_closure,
105 // must be >= range_end. This is used to iterate over the dense prefix.
111 IterationStatus iterate(ParMarkBitMapClosure* live_closure,
115 inline IterationStatus iterate(ParMarkBitMapClosure* live_closure,
H A DparMarkBitMap.inline.hpp129 inline ParMarkBitMap::IterationStatus ParMarkBitMap::iterate(ParMarkBitMapClosure* live_closure,
132 return iterate(live_closure, addr_to_bit(range_beg), addr_to_bit(range_end));
135 inline ParMarkBitMap::IterationStatus ParMarkBitMap::iterate(ParMarkBitMapClosure* live_closure,
140 return iterate(live_closure, dead_closure,
/openjdk10/hotspot/test/native/utilities/
H A Dtest_resourceHash.cpp93 rh.iterate(&et);
99 rh.iterate(&et);
178 rh.iterate(&et);
188 rh.iterate(&et);
196 rh.iterate(&et);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/
H A DNativeSignatureIterator.java97 // iterate() calles the 2 virtual methods according to the following invocation syntax:
105 public void iterate() { method in class:NativeSignatureIterator
107 // handle receiver (not handled by iterate because not in signature)
H A DSignatureInfo.java30 protected boolean hasIterated; // need this because iterate cannot be called in constructor (set is virtual!)
36 iterate();
H A DPerfMemory.java90 // an interface supplied to iterate PerfDataEntries
96 public static void iterate(PerfDataEntryVisitor visitor) { method in class:PerfMemory
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/
H A DObjectHistogram.java61 heap.iterate(histogram);
H A DJSnap.java50 PerfMemory.iterate(new PerfMemory.PerfDataEntryVisitor() {
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1YoungRemSetSamplingThread.cpp115 g1cs->iterate(&cl);
H A Dg1CollectionSet.hpp151 void iterate(HeapRegionClosure* cl) const;
H A Dg1ConcurrentMarkBitMap.hpp107 inline bool iterate(G1CMBitMapClosure* cl, MemRegion mr);
/openjdk10/hotspot/src/cpu/x86/vm/
H A DinterpreterRT_x86_32.cpp78 iterate(fingerprint);
138 SlowSignatureHandler(m, (address)from, to + 1).iterate((uint64_t)CONST64(-1));
/openjdk10/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/
H A DHistoryObject.java108 return (Function<JSObject, Object>)this::iterate;
174 private Object iterate(final JSObject func) { method in class:HistoryObject
/openjdk10/hotspot/src/share/vm/runtime/
H A Dsignature.hpp31 // SignatureIterators iterate over a Java signature (or parts of it).
40 // iterate() calls: do_array(2, 7); do_double(); do_int();
49 Symbol* _signature; // the signature to iterate over
98 void iterate(); // iterates over whole signature
155 bool _has_iterated; // need this because iterate cannot be called in constructor (set is virtual!)
332 // iterate() calles the 2 virtual methods according to the following invocation syntax:
341 void iterate() { iterate(Fingerprinter(method()).fingerprint()); function in class:NativeSignatureIterator
346 void iterate( uint64_t fingerprint ) { function in class:NativeSignatureIterator
349 // handle receiver (not handled by iterate becaus
[all...]

Completed in 213 milliseconds

12345