Searched refs:size (Results 301 - 325 of 5301) sorted by relevance

<<11121314151617181920>>

/openjdk10/jdk/test/java/util/stream/boottest/java.base/java/util/stream/
H A DSliceSpliteratorTest.java57 assertEquals(actual.size(), expected.size());
64 void test(int size, int skip, int limit); argument
74 SliceTester r = (size, skip, limit) -> {
75 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList());
87 SliceTester r = (size, skip, limit) -> {
88 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList());
100 SliceTester r = (size, skip, limit) -> {
101 final Collection<Long> source = LongStream.range(0, size).boxed().collect(toList());
113 SliceTester r = (size, ski
[all...]
/openjdk10/hotspot/src/share/vm/ci/
H A DciType.hpp71 int size() const { return type2size[basic_type()]; } function in class:ciType
73 bool is_one_word() const { return size() == 1; }
74 bool is_two_word() const { return size() == 2; }
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/hotspot/
H A DTest6186134.java68 int size = t.test1().size();
69 if (size != 10) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/loop/
H A DLoop13.java37 private int size = nodes.length; field in class:Loop13.Loop
44 if (index < size) {
47 } while (index < size && nodes[index] == null);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DCIntField.java35 size = vmField.getSize();
39 private long size; field in class:CIntField
49 return addr.getCIntegerAt(getOffset(), size, isUnsigned);
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/
H A DDenseIntMapImpl.java54 if (key < list.size())
73 if (index >= list.size()) {
75 int max = list.size() ;
/openjdk10/hotspot/src/share/vm/interpreter/
H A DbytecodeStream.cpp35 // Very large tableswitch or lookupswitch size can cause _next_bci to overflow.
57 void BaseBytecodeStream::assert_raw_index_size(int size) const {
60 assert(size == 2, "raw invokedynamic instruction has 2-byte index only");
62 bytecode().assert_index_size(size, raw_code(), is_wide());
/openjdk10/hotspot/test/runtime/SharedArchiveFile/
H A DSharedSymbolTableBucketSize.java48 String s = output.firstMatch("Average bucket size : .*");
50 int size = Math.round(f);
51 if (size != bucket_size) {
52 throw new Exception("FAILED: incorrect bucket size " + size +
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/compiler/
H A DOpMapVector.java39 /** Position where size of array is kept */
46 * Construct a OpMapVector, using the given block size.
76 * than the current size of the vector.
101 * Reset the array to the supplied size. No checking is done.
103 * @param size The size to trim to.
105 public final void setToSize(int size) { argument
107 int newMap[] = new int[size];
111 m_mapSize = size;
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java83 int truncate(FileDescriptor fd, long size) throws IOException { argument
84 return truncate0(fd, size);
87 int allocate(FileDescriptor fd, long size) throws IOException { argument
88 // truncate0() works for extending and truncating file size
89 return truncate0(fd, size);
92 long size(FileDescriptor fd) throws IOException { method in class:FileDispatcherImpl
96 int lock(FileDescriptor fd, boolean blocking, long pos, long size, argument
99 return lock0(fd, blocking, pos, size, shared);
102 void release(FileDescriptor fd, long pos, long size) throws IOException { argument
103 release0(fd, pos, size);
166 truncate0(FileDescriptor fd, long size) argument
171 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
174 release0(FileDescriptor fd, long pos, long size) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsSplitPaneDivider.java65 Dimension size = getSize();
69 g.fillRect(0, 0, size.width, size.height);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DOverlayLayout.java34 * of each other. The requested size of the container
35 * will be the largest requested size of the children,
142 Dimension size = new Dimension(xTotal.preferred, yTotal.preferred);
144 size.width += insets.left + insets.right;
145 size.height += insets.top + insets.bottom;
146 return size;
162 Dimension size = new Dimension(xTotal.minimum, yTotal.minimum);
164 size.width += insets.left + insets.right;
165 size.height += insets.top + insets.bottom;
166 return size;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/multi/
H A DMultiPopupMenuUI.java84 for (int i = 1; i < uis.size(); i++) {
100 for (int i = 1; i < uis.size(); i++) {
119 for (int i = 1; i < uis.size(); i++) {
129 for (int i = 0; i < uis.size(); i++) {
151 for (int i = 0; i < uis.size(); i++) {
160 for (int i = 0; i < uis.size(); i++) {
169 for (int i = 0; i < uis.size(); i++) {
183 for (int i = 1; i < uis.size(); i++) {
198 for (int i = 1; i < uis.size(); i++) {
213 for (int i = 1; i < uis.size();
[all...]
H A DMultiOptionPaneUI.java76 for (int i = 0; i < uis.size(); i++) {
90 for (int i = 1; i < uis.size(); i++) {
109 for (int i = 1; i < uis.size(); i++) {
119 for (int i = 0; i < uis.size(); i++) {
141 for (int i = 0; i < uis.size(); i++) {
150 for (int i = 0; i < uis.size(); i++) {
159 for (int i = 0; i < uis.size(); i++) {
173 for (int i = 1; i < uis.size(); i++) {
188 for (int i = 1; i < uis.size(); i++) {
203 for (int i = 1; i < uis.size();
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DLiveStackFrame.java119 * Returns the size, in bytes, of the slot.
121 public abstract int size(); method in class:LiveStackFrame.PrimitiveSlot
124 * Returns the int value if this primitive value is of size 4
125 * @return the int value if this primitive value is of size 4
128 * of size 4.
131 throw new UnsupportedOperationException("this " + size() + "-byte primitive");
135 * Returns the long value if this primitive value is of size 8
136 * @return the long value if this primitive value is of size 8
139 * of size 8.
142 throw new UnsupportedOperationException("this " + size()
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DBufferedOutputStream.java64 * size.
67 * @param size the buffer size.
68 * @exception IllegalArgumentException if size &lt;= 0.
70 public BufferedOutputStream(OutputStream out, int size) { argument
72 if (size <= 0) {
73 throw new IllegalArgumentException("Buffer size <= 0");
75 buf = new byte[size];
119 /* If the request length exceeds the size of the output buffer,
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/crypto/
H A DRsaMd5CksumType.java71 * @param size length of the data.
77 public byte[] calculateChecksum(byte[] data, int size) throws KrbCryptoException{ argument
94 public byte[] calculateKeyedChecksum(byte[] data, int size, argument
99 public boolean verifyKeyedChecksum(byte[] data, int size, argument
/openjdk10/jdk/test/com/sun/jndi/cosnaming/
H A DCNNameParser.java46 if (name.size() != comps.length) {
49 "expecting " + comps.length + " got " + name.size());
51 for (int i = 0; i < name.size(); i++) {
/openjdk10/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DShapedByAPI.java36 * match the window size. Drag and resize the window using API and verify
80 Dimension size = window.getSize();
81 window.setSize(size.width+random.nextInt(2*dl)-dl, size.height+random.nextInt(2*dl)-dl);
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DArrayBlockingQueueTest.java92 * Returns a new queue of given size containing consecutive
100 * Returns a new queue of given size containing consecutive
104 int size, int minCapacity, int maxCapacity, boolean fair) {
115 for (int i = 0; i < size; i++)
117 assertEquals(size == 0, q.isEmpty());
118 assertEquals(capacity - size, q.remainingCapacity());
119 assertEquals(size, q.size());
120 if (size > 0)
231 int size
103 populatedQueue( int size, int minCapacity, int maxCapacity, boolean fair) argument
[all...]
/openjdk10/jdk/test/java/util/HashMap/
H A DOverrideIsEmpty.java53 public int size() { method in class:OverrideIsEmpty.NotEmptyHashMap
54 return super.size() + 1;
59 return size() == 0;
/openjdk10/jdk/test/java/util/PriorityQueue/
H A DAddNonComparable.java59 assertEquals(q.size(), 0);
64 assertEquals(q.size(), 1);
70 assertEquals(q.size(), 0);
75 assertEquals(q.size(), 1);
93 assertEquals(s.size(), 0);
98 assertEquals(s.size(), 1);
104 assertEquals(s.size(), 0);
109 assertEquals(s.size(), 1);
126 assertEquals(m.size(), 0);
131 assertEquals(m.size(),
[all...]
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/
H A DGetReceivers.java55 assertTrue(synth.getReceivers().size() == 0);
57 assertTrue(synth.getReceivers().size() == 1);
59 assertTrue(synth.getReceivers().size() == 0);
/openjdk10/jdk/test/tools/jjs/
H A Dfile.js37 size: function() {
38 print("size called");
39 // call super.size()
40 return Java.super(m).size();
47 print(m.size());
/openjdk10/langtools/test/tools/javac/lambda/
H A DTargetType03.java59 if (numbers.size() != sqNumbers.size()) {
62 for (int i = 0; i < numbers.size() ; i ++) {

Completed in 418 milliseconds

<<11121314151617181920>>