Searched refs:size (Results 151 - 175 of 5301) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.naming/share/classes/javax/naming/ldap/
H A DLdapName.java145 this.rdns = new ArrayList<>(rdns.size());
146 for (int i = 0; i < rdns.size(); i++) {
174 public int size() { method in class:LdapName
175 return rdns.size();
215 * Must be in the range [0,size()).
227 * Must be in the range [0,size()).
242 * Must be in the range [0,size()].
254 "Posn: " + posn + ", Size: "+ rdns.size());
265 * Must be in the range [0,size()].
267 * components at indexes in the range [posn,size())
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.util/src/org/graalvm/util/
H A DObjectSizeEstimate.java30 * Calculates approximate estimates of the size of an object graph.
33 * {@link #getPointerCount()} and size of the primitive data {@link #getPrimitiveByteSize()}.
47 * Collect the size occupied by the object graph reachable from the given root object.
56 * Collect the size occupied by the object graph reachable from the given root object.
122 private void recordPrimitiveBytes(int size) { argument
123 primitiveByteSize += size;
128 ObjectSizeEstimate size = new ObjectSizeEstimate();
137 Object o = stack.remove(stack.size() - 1);
138 int depth = depthStack.remove(depthStack.size() - 1);
139 size
[all...]
/openjdk10/jdk/test/java/util/IdentityHashMap/
H A DCapacity.java64 for (int size = 0; size < 200; size++)
65 sizes.add(new Object[] { size });
68 for (int size : new int[] {682, 683, 1365, 2730, 2731, 5461})
69 sizes.add(new Object[] { size });
116 public void canInsertExpectedItemsWithoutResizing(int size) argument
119 IdentityHashMap<Object,Object> m = new IdentityHashMap<>(size);
121 growUsingPut(m, size);
124 // Doubling from the expected size wil
149 threshold(int size) argument
162 passingThresholdCausesResize(int size) argument
179 differentGrowthPatternsResultInSameCapacity(int size) argument
[all...]
/openjdk10/jdk/test/java/util/logging/Logger/getLogger/
H A DTestInferCaller.java90 assertEquals(0, TestHandler.PUBLISHED.size(), "Queue should be empty: ");
92 assertEquals(0, TestHandler.PUBLISHED.size(), "Queue should be empty: ");
95 assertEquals(1, TestHandler.PUBLISHED.size(), "No event in queue: ");
97 assertEquals(0, TestHandler.PUBLISHED.size(), "Queue should be empty: ");
101 assertEquals(1, TestHandler.PUBLISHED.size(), "No event in queue: ");
103 assertEquals(0, TestHandler.PUBLISHED.size(), "Queue should be empty: ");
107 assertEquals(1, TestHandler.PUBLISHED.size(), "No event in queue: ");
109 assertEquals(0, TestHandler.PUBLISHED.size(), "Queue should be empty: ");
113 assertEquals(1, TestHandler.PUBLISHED.size(), "No event in queue: ");
115 assertEquals(0, TestHandler.PUBLISHED.size(), "Queu
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.amd64/src/org/graalvm/compiler/lir/amd64/
H A DAMD64BinaryConsumer.java65 private final OperandSize size; field in class:AMD64BinaryConsumer.Op
70 public Op(AMD64RMOp opcode, OperandSize size, AllocatableValue x, AllocatableValue y) { argument
73 this.size = size;
82 opcode.emit(masm, size, asRegister(x), asRegister(y));
85 opcode.emit(masm, size, asRegister(x), (AMD64Address) crb.asAddress(y));
97 private final OperandSize size; field in class:AMD64BinaryConsumer.ConstOp
102 public ConstOp(AMD64BinaryArithmetic opcode, OperandSize size, AllocatableValue x, int y) { argument
103 this(opcode.getMIOpcode(size, NumUtil.isByte(y)), size,
106 ConstOp(AMD64MIOp opcode, OperandSize size, AllocatableValue x, int y) argument
110 ConstOp(LIRInstructionClass<? extends ConstOp> c, AMD64MIOp opcode, OperandSize size, AllocatableValue x, int y) argument
159 private final OperandSize size; field in class:AMD64BinaryConsumer.DataOp
166 DataOp(AMD64RMOp opcode, OperandSize size, AllocatableValue x, Constant y) argument
170 DataOp(AMD64RMOp opcode, OperandSize size, AllocatableValue x, Constant y, int alignment) argument
195 private final OperandSize size; field in class:AMD64BinaryConsumer.MemoryRMOp
202 MemoryRMOp(AMD64RMOp opcode, OperandSize size, AllocatableValue x, AMD64AddressValue y, LIRFrameState state) argument
239 private final OperandSize size; field in class:AMD64BinaryConsumer.MemoryMROp
246 MemoryMROp(AMD64MROp opcode, OperandSize size, AMD64AddressValue x, AllocatableValue y, LIRFrameState state) argument
283 private final OperandSize size; field in class:AMD64BinaryConsumer.MemoryConstOp
290 MemoryConstOp(AMD64BinaryArithmetic opcode, OperandSize size, AMD64AddressValue x, int y, LIRFrameState state) argument
294 MemoryConstOp(AMD64MIOp opcode, OperandSize size, AMD64AddressValue x, int y, LIRFrameState state) argument
298 MemoryConstOp(LIRInstructionClass<? extends MemoryConstOp> c, AMD64MIOp opcode, OperandSize size, AMD64AddressValue x, int y, LIRFrameState state) argument
[all...]
/openjdk10/hotspot/src/share/vm/services/
H A DvirtualMemoryTracker.hpp132 static inline void record_reserved_memory(size_t size, MEMFLAGS flag) {
133 as_snapshot()->by_type(flag)->reserve_memory(size);
136 static inline void record_committed_memory(size_t size, MEMFLAGS flag) {
137 as_snapshot()->by_type(flag)->commit_memory(size);
140 static inline void record_uncommitted_memory(size_t size, MEMFLAGS flag) { argument
141 as_snapshot()->by_type(flag)->uncommit_memory(size);
144 static inline void record_released_memory(size_t size, MEMFLAGS flag) { argument
145 as_snapshot()->by_type(flag)->release_memory(size);
152 static inline void move_reserved_memory(MEMFLAGS from, MEMFLAGS to, size_t size) { argument
153 as_snapshot()->by_type(from)->release_memory(size);
157 move_committed_memory(MEMFLAGS from, MEMFLAGS to, size_t size) argument
185 VirtualMemoryRegion(address addr, size_t size) argument
193 inline size_t size() const { return _size; } function in class:VALUE_OBJ_CLASS_SPEC
248 set_size(size_t size) argument
260 CommittedMemoryRegion(address addr, size_t size, const NativeCallStack& stack) argument
300 ReservedMemoryRegion(address base, size_t size, const NativeCallStack& stack, MEMFLAGS flag = mtNone) argument
306 ReservedMemoryRegion(address base, size_t size) argument
[all...]
H A DmallocSiteTable.hpp51 void allocate(size_t size) { data()->allocate(size); } argument
52 void deallocate(size_t size) { data()->deallocate(size); } argument
55 size_t size() const { return peek()->size(); } function in class:MallocSite
99 inline void allocate(size_t size) { _malloc_site.allocate(size); } argument
100 inline void deallocate(size_t size) { _malloc_site.deallocate(size); } argument
102 inline size_t size() const { return _malloc_site.size(); } function in class:MallocSiteHashtableEntry
207 allocation_at(const NativeCallStack& stack, size_t size, size_t* bucket_idx, size_t* pos_idx, MEMFLAGS flags) argument
221 deallocation_at(size_t size, size_t bucket_idx, size_t pos_idx) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicDoubleType.java31 public BasicDoubleType(String name, int size) { argument
32 this(name, size, 0);
35 private BasicDoubleType(String name, int size, int cvAttributes) { argument
36 super(name, size, cvAttributes);
H A DBasicFloatType.java31 public BasicFloatType(String name, int size) { argument
32 this(name, size, 0);
35 private BasicFloatType(String name, int size, int cvAttributes) { argument
36 super(name, size, cvAttributes);
H A DBasicIntType.java33 public BasicIntType(String name, int size, boolean unsigned) { argument
34 this(name, size, unsigned, 0);
37 protected BasicIntType(String name, int size, boolean unsigned, int cvAttributes) { argument
38 super(name, size, cvAttributes);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/
H A DBasicObjectLock.java45 size = (int) type.getSize();
50 private static int size; field in class:BasicObjectLock
59 /** Note: Use frame::interpreter_frame_monitor_size() for the size
61 includes machine-specific padding. This routine returns a size
63 public static int size() { return size; } method in class:BasicObjectLock
H A DResultTypeFinder.java32 protected void set(int size, int type) { if (isReturnType()) this.type = type; } argument
/openjdk10/corba/src/java.corba/share/classes/sun/corba/
H A DEncapsInputStreamFactory.java43 final org.omg.CORBA.ORB orb, final byte[] buf, final int size,
49 return new EncapsInputStream(orb, buf, size,
57 final int size, final boolean littleEndian,
63 return new EncapsInputStream(orb, byteBuffer, size,
70 final org.omg.CORBA.ORB orb, final byte[] data, final int size) {
75 return new EncapsInputStream(orb, data, size);
92 final org.omg.CORBA.ORB orb, final byte[] data, final int size,
98 return new EncapsInputStream(orb, data, size, version);
104 final org.omg.CORBA.ORB orb, final byte[] data, final int size,
110 return new EncapsInputStream(orb, data, size, versio
42 newEncapsInputStream( final org.omg.CORBA.ORB orb, final byte[] buf, final int size, final boolean littleEndian, final GIOPVersion version) argument
55 newEncapsInputStream( final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer, final int size, final boolean littleEndian, final GIOPVersion version) argument
69 newEncapsInputStream( final org.omg.CORBA.ORB orb, final byte[] data, final int size) argument
91 newEncapsInputStream( final org.omg.CORBA.ORB orb, final byte[] data, final int size, final GIOPVersion version) argument
103 newEncapsInputStream( final org.omg.CORBA.ORB orb, final byte[] data, final int size, final GIOPVersion version, final CodeBase codeBase) argument
116 newTypeCodeInputStream( final org.omg.CORBA.ORB orb, final byte[] buf, final int size, final boolean littleEndian, final GIOPVersion version) argument
129 newTypeCodeInputStream( final org.omg.CORBA.ORB orb, final ByteBuffer byteBuffer, final int size, final boolean littleEndian, final GIOPVersion version) argument
143 newTypeCodeInputStream( final org.omg.CORBA.ORB orb, final byte[] data, final int size) argument
[all...]
/openjdk10/hotspot/src/share/vm/oops/
H A DinstanceMirrorKlass.cpp51 int size = instance_size(k); local
52 assert(size > 0, "total object size must be positive: %d", size);
55 // the size in the mirror itself.
56 return (instanceOop)CollectedHeap::class_allocate(this, size, CHECK_NULL);
/openjdk10/hotspot/src/share/vm/gc/shared/
H A DgenerationSpec.hpp54 void set_init_size(size_t size) { _init_size = size; } argument
56 void set_max_size(size_t size) { _max_size = size; } argument
/openjdk10/hotspot/test/compiler/c2/
H A DTest6186134.java64 int size = t.test1().size();
65 if (size != 10) {
66 System.out.println("wrong size: " + size + ", should be 10");
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils/
H A DBoolStack.java44 /** Array size allocated */
52 * block size is very small, for small lists.
60 * Construct a IntVector, using the given block size.
62 * @param size array size to allocate
64 public BoolStack(int size) argument
67 m_allocatedSize = size;
68 m_values = new boolean[size];
77 public final int size() method in class:BoolStack
191 * Grows the size o
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/
H A DBoolStack.java35 /** Array size allocated */
43 * block size is very small, for small lists.
51 * Construct a IntVector, using the given block size.
53 * @param size array size to allocate
55 public BoolStack(int size) argument
58 m_allocatedSize = size;
59 m_values = new boolean[size];
68 public final int size() method in class:BoolStack
182 * Grows the size o
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DFileLockImpl.java36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) argument
38 super(channel, position, size, shared);
41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) argument
43 super(channel, position, size, shared);
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DDisplayMode.java51 private Dimension size; field in class:DisplayMode
69 this.size = new Dimension(width, height);
79 return size.height;
87 return size.width;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DSegmentCache.java92 int size = segments.size();
94 if (size > 0) {
95 return segments.remove(size - 1);
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DAbstractSet.java71 * the same size, and every member of the given set is contained in
78 * specified object is a set whose size is identical to the size of
92 if (c.size() != size())
139 * and the specified collection, by invoking the {@code size}
172 if (size() > c.size()) {
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/attribute/
H A DBasicFileAttributes.java119 * Returns the size of the file (in bytes). The size may differ from the
120 * actual size on the file system due to compression, support for sparse
121 * files, or other reasons. The size of files that are not {@link
125 * @return the file size, in bytes
127 long size(); method in interface:BasicFileAttributes
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DAlgorithmParameterGeneratorSpi.java64 * Initializes this parameter generator for a certain size
67 * @param size the size (number of bits).
70 protected abstract void engineInit(int size, SecureRandom random); argument
/openjdk10/jdk/make/src/classes/build/tools/jdwpgen/
H A DAbstractSimpleTypeNode.java35 if (components.size() != 0) {

Completed in 298 milliseconds

1234567891011>>