Searched defs:size (Results 1 - 25 of 1126) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/Graphics2D/FillTexturePaint/
H A DFillTexturePaint.java43 private static final int size = 400; field in class:FillTexturePaint
59 VolatileImage vi = gc.createCompatibleVolatileImage(size, size);
65 g2d.fill(new Rectangle(0, 0, size, size));
86 for (int x = 0; x < size; ++x) {
87 for (int y = 0; y < size; ++y) {
/openjdk7/jdk/test/java/util/AbstractMap/
H A DToString.java27 * @summary toString method fails if size changes in between a call to size
51 public int size() { method in class:LyingMap
52 return super.size() + 1; // Lies, lies, all lies!
/openjdk7/jdk/test/java/util/Collections/
H A DMinMax.java27 * @summary min and max methods fail if size changes in between a call to size
77 public int size() { method in class:LyingSet
78 return super.size() + 1; // Lies, lies, all lies!
/openjdk7/langtools/test/tools/javac/generics/
H A DT4695847.java35 static <T> int size(T4695847<T> bt) { method in class:T4695847
39 return 1+size(bt.next);
42 return (bt==null) ? 0 : 1+size(bt.next);
/openjdk7/hotspot/src/os/linux/vm/
H A Ddecoder_linux.cpp33 size_t size = (size_t)buflen; local
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAllocatedNativeObject.java39 * Allocates a memory area of at least <tt>size</tt> bytes outside of the
42 * @param size
52 AllocatedNativeObject(int size, boolean pageAligned) { argument
53 super(size, pageAligned);
/openjdk7/hotspot/test/gc/7168848/
H A DHumongousAlloc.java40 private static double size = 0.75; field in class:HumongousAlloc
44 public static void allocate(int size, int sleepTime, int sleepFreq) throws InterruptedException { argument
45 System.out.println("Will allocate objects of size: " + size
51 dummy = new byte[size - 16];
59 allocate((int) (size * MB), sleepTime, sleepFreq);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DBinaryTreeDictionary.java51 public long size() { method in class:BinaryTreeDictionary
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/opto/
H A DBlock_List.java53 public int size() { method in class:Block_List
H A DNode_List.java53 public int size() { method in class:Node_List
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DArgumentSizeComputer.java29 /** Specialized SignatureIterator: Used to compute the argument size. */
32 protected void set(int size, int type) { if (!isReturnType()) this.size += size; } argument
H A DResultTypeFinder.java32 protected void set(int size, int type) { if (isReturnType()) this.type = type; } argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DFontUIResource.java42 * of all JavaBeans<sup><font size="-2">TM</font></sup>
52 public FontUIResource(String name, int style, int size) { argument
53 super(name, style, size);
/openjdk7/jdk/src/share/classes/java/security/
H A DAlgorithmParameterGeneratorSpi.java42 * For example, the Sun provider uses a default modulus prime size of 1024
58 * Initializes this parameter generator for a certain size
61 * @param size the size (number of bits).
64 protected abstract void engineInit(int size, SecureRandom random); argument
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DvmPSOperations.cpp35 VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t size, argument
38 _size(size),
57 VM_ParallelGCFailedPermanentAllocation::VM_ParallelGCFailedPermanentAllocation(size_t size, argument
60 _size(size),
/openjdk7/hotspot/src/share/vm/memory/
H A Dspace.inline.hpp37 inline HeapWord* OffsetTableContigSpace::allocate(size_t size) { argument
38 HeapWord* res = ContiguousSpace::allocate(size);
40 _offsets.alloc_block(res, size);
48 inline HeapWord* OffsetTableContigSpace::par_allocate(size_t size) { argument
58 HeapWord* res = ContiguousSpace::par_allocate(size);
60 _offsets.alloc_block(res, size);
/openjdk7/hotspot/src/share/tools/launcher/
H A Djli_util.c37 * Returns a pointer to a block of at least 'size' bytes of memory.
41 JLI_MemAlloc(size_t size) argument
43 void *p = malloc(size);
52 * Equivalent to realloc(size).
56 JLI_MemRealloc(void *ptr, size_t size) argument
58 void *p = realloc(ptr, size);
/openjdk7/hotspot/src/share/vm/runtime/
H A DstackValueCollection.hpp41 int size() const { return _values->length(); } function in class:StackValueCollection
42 bool is_empty() const { return (size() == 0); }
/openjdk7/hotspot/src/share/vm/utilities/
H A Dcopy.cpp31 void Copy::conjoint_memory_atomic(void* from, void* to, size_t size) { argument
34 uintptr_t bits = (uintptr_t) src | (uintptr_t) dst | (uintptr_t) size;
36 // (Note: We could improve performance by ignoring the low bits of size,
45 Copy::conjoint_jlongs_atomic((jlong*) src, (jlong*) dst, size / sizeof(jlong));
47 Copy::conjoint_jints_atomic((jint*) src, (jint*) dst, size / sizeof(jint));
49 Copy::conjoint_jshorts_atomic((jshort*) src, (jshort*) dst, size / sizeof(jshort));
52 Copy::conjoint_jbytes((void*) src, (void*) dst, size);
58 void Copy::fill_to_memory_atomic(void* to, size_t size, jubyte value) { argument
60 uintptr_t bits = (uintptr_t) to | (uintptr_t) size;
68 //Copy::fill_to_jlongs_atomic((jlong*) dst, size / sizeo
[all...]
/openjdk7/hotspot/test/compiler/6795161/
H A DTest.java35 static void badFunc(int size) argument
38 for (int i = 0; i < 1; (new byte[size-i])[0] = 0, i++) {}
/openjdk7/hotspot/test/compiler/7044738/
H A DTest7044738.java37 public int i, size; field in class:Test7044738
51 size = INITSIZE;
53 for (i = 0; i < size; i++) {
/openjdk7/jdk/test/java/nio/Buffer/
H A DLimitDirectMemory.java34 int size = parseSize(args[1]);
35 int incr = (args.length > 2 ? parseSize(args[2]) : size);
45 while (size >= incr) {
47 size -= incr;
71 private static int parseSize(String size) throws Exception { argument
73 if (size.equals("DEFAULT"))
75 if (size.equals("DEFAULT+1"))
77 if (size.equals("DEFAULT+1M"))
79 if (size.equals("DEFAULT-1"))
81 if (size
[all...]
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DSize.java26 * @summary Test size method of FileChannel
37 * Testing FileChannel's size method.
59 if (c.size() != testSize)
78 fc.size();
80 if (fc.size() != testSize + 10)
81 throw new RuntimeException("Size failed " + fc.size());
89 * Creates file blah of specified size in bytes.
92 private static void initTestFile(File blah, long size) throws Exception { argument
99 for(int i=0; i<size; i++) {
H A DTruncate.java66 if (fc.size() != testSize)
75 if (fc.size() != newSize)
80 throw new RuntimeException("Position greater than size");
103 if (fc.size() != newSize)
111 if (fc.size() != (newSize+1))
112 throw new RuntimeException("Unexpected size");
118 * Creates file blah of specified size in bytes.
121 private static void initTestFile(File blah, long size) throws Exception { argument
128 for(int i=0; i<size; i++) {
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_stack.h47 int size; member in struct:Stack

Completed in 135 milliseconds

1234567891011>>