Home
last modified time | relevance | path

Searched refs:heapSize (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/dports/lang/squeak/Squeak-4.10.2.2614-src/unix/vm/
H A DsqUnixMemory.c93 static int heapSize = 0; variable
152 heapSize= heapLimit; in uxAllocateMemory()
180 …f(("was: %p %p %p = 0x%x (%d) bytes\n", heap, heap + heapSize, heap + heapLimit, heapSize, heapSiz… in uxGrowMemoryBy()
183 char *base= heap + heapSize; in uxGrowMemoryBy()
191 heapSize += newDelta; in uxGrowMemoryBy()
192 …f(("now: %p %p %p = 0x%x (%d) bytes\n", heap, heap + heapSize, heap + heapLimit, heapSize, heapSiz… in uxGrowMemoryBy()
195 return heap + heapSize; in uxGrowMemoryBy()
215 …f(("was: %p %p %p = 0x%x (%d) bytes\n", heap, heap + heapSize, heap + heapLimit, heapSize, heapSiz… in uxShrinkMemoryBy()
226 heapSize -= newDelta; in uxShrinkMemoryBy()
227 …f(("now: %p %p %p = 0x%x (%d) bytes\n", heap, heap + heapSize, heap + heapLimit, heapSize, heapSiz… in uxShrinkMemoryBy()
[all …]
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/
H A DTestCachedBlockQueue.java57 long expectedSize = cb1.heapSize() + cb2.heapSize() + cb3.heapSize() + in testQueue()
58 cb4.heapSize() + cb5.heapSize() + cb6.heapSize() + cb7.heapSize() + in testQueue()
59 cb8.heapSize(); in testQueue()
61 assertEquals(queue.heapSize(), expectedSize); in testQueue()
102 long expectedSize = cb1.heapSize() + cb2.heapSize() + cb3.heapSize() + in testQueueSmallBlockEdgeCase()
103 cb4.heapSize() + cb5.heapSize() + cb6.heapSize() + cb7.heapSize() + in testQueueSmallBlockEdgeCase()
104 cb8.heapSize() + cb0.heapSize(); in testQueueSmallBlockEdgeCase()
106 assertEquals(queue.heapSize(), expectedSize); in testQueueSmallBlockEdgeCase()
115 public CachedBlock(final long heapSize, String name, long accessTime) { in CachedBlock() argument
119 public long heapSize() { in CachedBlock()
[all …]
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/
H A DLruCachedBlockQueue.java44 private long heapSize; field in LruCachedBlockQueue
55 heapSize = 0; in LruCachedBlockQueue()
68 if(heapSize < maxSize) { in add()
70 heapSize += cb.heapSize(); in add()
74 heapSize += cb.heapSize(); in add()
75 heapSize -= head.heapSize(); in add()
76 if(heapSize > maxSize) { in add()
79 heapSize += head.heapSize(); in add()
106 public long heapSize() { in heapSize() method in LruCachedBlockQueue
107 return heapSize; in heapSize()
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/
H A Dheap-def.h295 if (leftIndex >= heapSize) return ; in VL_HEAP_up()
298 if (rightIndex >= heapSize) { in VL_HEAP_up()
372 VL_HEAP_down (array, *heapSize) ; in VL_HEAP_push()
373 *heapSize += 1 ; in VL_HEAP_push()
403 assert (*heapSize) ; in VL_HEAP_pop()
405 *heapSize -= 1 ; in VL_HEAP_pop()
407 VL_HEAP_swap (array, 0, *heapSize) ; in VL_HEAP_pop()
409 if (*heapSize > 1) { in VL_HEAP_pop()
410 VL_HEAP_up (array, *heapSize, 0) ; in VL_HEAP_pop()
413 return *heapSize ; in VL_HEAP_pop()
[all …]
/dports/devel/eastl/EASTL-3.13.06/include/EASTL/
H A Dheap.h171 for(; childPosition < heapSize; childPosition = (2 * childPosition) + 2) in adjust_heap_impl()
231 for(; childPosition < heapSize; childPosition = (2 * childPosition) + 2) in adjust_heap_impl()
239 if(childPosition == heapSize) // If we are at the bottom... in adjust_heap_impl()
408 const difference_type heapSize = last - first; in make_heap() local
430 const difference_type heapSize = last - first; in make_heap() local
506 const value_type tempBottom(*(first + heapSize - 1)); in remove_heap()
507 *(first + heapSize - 1) = *(first + position); in remove_heap()
529 const value_type tempBottom(*(first + heapSize - 1)); in remove_heap()
530 *(first + heapSize - 1) = *(first + position); in remove_heap()
555 value_type tempBottom(*(first + heapSize - 1)); in change_heap()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/program/
H A Dkernel_info_tests.cpp35 const size_t heapSize = 0x40; in TEST() local
36 char heap[heapSize]; in TEST()
37 kernelInfo.heapInfo.KernelHeapSize = heapSize; in TEST()
40 for (size_t i = 0; i < heapSize; i++) { in TEST()
57 const size_t heapSize = 0x40; in TEST() local
58 char heap[heapSize]; in TEST()
59 kernelInfo.heapInfo.KernelHeapSize = heapSize; in TEST()
73 const size_t heapSize = 0x40; in TEST() local
74 char heap[heapSize]; in TEST()
107 const size_t heapSize = 0x40; in TEST_F() local
[all …]
/dports/math/psurface/psurface-2.0.0-13-gb5b6825/
H A DVertexHeap.h65 for (int i=0; i<heapSize; i++) in print()
71 heapSize = errors.size(); in buildHeap()
72 array.resize(heapSize); in buildHeap()
73 vertexNumbers.resize(heapSize); in buildHeap()
78 for (i=0; i<heapSize; i++) { in buildHeap()
104 if (!heapSize) in isBlockedMin()
131 array[0] = array[heapSize-1]; in extractMin()
135 heapSize--; in extractMin()
143 int i = heapSize; in insert()
144 heapSize++; in insert()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/unittests/
H A DBuddyMemoryAllocatorTests.cpp74 constexpr uint64_t heapSize = 128; in TEST() local
75 constexpr uint64_t maxBlockSize = heapSize; in TEST()
76 DummyBuddyResourceAllocator allocator(maxBlockSize, heapSize); in TEST()
108 constexpr uint64_t heapSize = 128; in TEST() local
128 ASSERT_EQ(allocation2.GetInfo().mBlockOffset, heapSize); in TEST()
156 constexpr uint64_t heapSize = 128; in TEST() local
176 ASSERT_EQ(allocation3.GetInfo().mBlockOffset, heapSize); in TEST()
209 constexpr uint64_t heapSize = 128; in TEST() local
285 constexpr uint64_t heapSize = 128; in TEST() local
335 constexpr uint64_t heapSize = 128; in TEST() local
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/utilities/
H A Dheap_allocator_tests.cpp1030 const size_t heapSize = 1024u * 4096u; in TEST() local
1053 const size_t heapSize = 1024u * 4096u; in TEST() local
1078 const size_t heapSize = 1024u * 4096u; in TEST() local
1104 const size_t heapSize = 1024u * 4096u; in TEST() local
1141 const size_t heapSize = 1024u * 4096u; in TEST() local
1178 const size_t heapSize = 1024u * 4096u; in TEST() local
1203 const size_t heapSize = 1024u * 4096u; in TEST() local
1227 const size_t heapSize = 1024u * 4096u; in TEST() local
1253 const size_t heapSize = 1024u * 4096u; in TEST() local
1279 const size_t heapSize = 1024u * 4096u; in TEST() local
[all …]
/dports/java/icedtea-web/icedtea-web-1.6.2/netx/net/sourceforge/jnlp/
H A DJREDesc.java136 static String checkHeapSize(String heapSize) throws ParseException { in checkHeapSize() argument
138 if (heapSize == null) { in checkHeapSize()
141 heapSize = heapSize.trim(); in checkHeapSize()
144 String heapSizeLower = heapSize.toLowerCase(); in checkHeapSize()
147 throw new ParseException(R("PBadHeapSize", heapSize)); in checkHeapSize()
149 return heapSize; in checkHeapSize()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/cm/
H A Dcm_media_state.cpp145 uint32_t heapSize = UpdateHeapSizeAndOffsets(kernel, i); in Allocate() local
147 totalHeapSize += heapSize; in Allocate()
331 uint32_t heapSize = 0; in UpdateHeapSizeAndOffsets() local
350 m_nextAvsSamplerOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
351 heapSize += countAVS*m_avsSamplerElementSize; in UpdateHeapSizeAndOffsets()
352 m_next3dSamplerOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
353 heapSize += count3D*m_3dSamplerElementSize; in UpdateHeapSizeAndOffsets()
354 heapSize = MOS_ALIGN_CEIL(heapSize, 1 << MHW_SAMPLER_INDIRECT_SHIFT); in UpdateHeapSizeAndOffsets()
355 m_nextIndStateOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
357 heapSize = MOS_ALIGN_CEIL(heapSize, MHW_SAMPLER_STATE_ALIGN); in UpdateHeapSizeAndOffsets()
[all …]
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/cm/
H A Dcm_media_state.cpp143 uint32_t heapSize = UpdateHeapSizeAndOffsets(kernel, i); in Allocate() local
145 totalHeapSize += heapSize; in Allocate()
329 uint32_t heapSize = 0; in UpdateHeapSizeAndOffsets() local
348 m_nextAvsSamplerOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
349 heapSize += countAVS*m_avsSamplerElementSize; in UpdateHeapSizeAndOffsets()
350 m_next3dSamplerOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
351 heapSize += count3D*m_3dSamplerElementSize; in UpdateHeapSizeAndOffsets()
352 heapSize = MOS_ALIGN_CEIL(heapSize, 1 << MHW_SAMPLER_INDIRECT_SHIFT); in UpdateHeapSizeAndOffsets()
353 m_nextIndStateOffsets[kernelIdx] = heapSize; in UpdateHeapSizeAndOffsets()
355 heapSize = MOS_ALIGN_CEIL(heapSize, MHW_SAMPLER_STATE_ALIGN); in UpdateHeapSizeAndOffsets()
[all …]
/dports/misc/apparix/apparix-11-062/util/
H A Dheap.c29 ; heap->heapSize = 0 in mcxHeapInit()
39 , dim heapSize in mcxHeapNew() argument
50 ; if (!(heap->base = mcxAlloc (heapSize*elemSize, RETURN_ON_FAIL))) in mcxHeapNew()
60 heap->heapSize = heapSize in mcxHeapNew()
84 ; heap->heapSize = 0 in mcxHeapRelease()
108 ; dim hpsz = heap->heapSize in mcxHeapInsert()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/gc/g1/ihop/
H A DTestIHOPErgo.java99 …private static void runTest(int heapSize, int sleepTime, boolean isIhopAdaptive) throws Throwable { in runTest() argument
101 System.out.println(" MaxHeapSize : " + heapSize); in runTest()
105 "-Dheap.size=" + heapSize, in runTest()
107 "-XX:MaxHeapSize=" + heapSize + "M", in runTest()
108 "-XX:NewSize=" + heapSize / 8 + "M", in runTest()
109 "-XX:MaxNewSize=" + heapSize / 8 + "M", in runTest()
110 "-XX:InitialHeapSize=" + heapSize + "M", in runTest()
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/utils/pairhmm/
H A DDragstrReadSTRAnalyzer.java238 final int heapSize = period + 1; in calculateRepeatsForPeriodTwoAndAbove() local
239 Arrays.fill(heap, 0, heapSize, 0); in calculateRepeatsForPeriodTwoAndAbove()
248 fixHeap(heap, position, heapSize); in calculateRepeatsForPeriodTwoAndAbove()
259 fixHeap(heap, fixHeapIdx, heapSize); in calculateRepeatsForPeriodTwoAndAbove()
266 private static void fixHeap(final int[] heap, final int idx, final int heapSize) { in fixHeap() argument
268 fixHeapDown(heap, idx, heapSize); in fixHeap()
296 private static boolean checkHeap(final int[] heap, final int heapSize) { in checkHeap() argument
297 for (int i = 1; i < heapSize; i++) { in checkHeap()
305 private static void fixHeapDown(final int[] heap, int idx, final int heapSize) { in fixHeapDown() argument
309 final int rightValue = idxRight < heapSize ? heap[idxRight] : -1; in fixHeapDown()
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/HLE/
H A DsceSsl.cpp52 static int sceSslInit(int heapSize) in sceSslInit() argument
54 DEBUG_LOG(HLE, "sceSslInit %d", heapSize); in sceSslInit()
59 if (heapSize <= 0) in sceSslInit()
64 maxMemSize = heapSize; in sceSslInit()
65 currentMemSize = heapSize / 2; // As per jpcsp in sceSslInit()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/HLE/
H A DsceSsl.cpp52 static int sceSslInit(int heapSize) in sceSslInit() argument
54 DEBUG_LOG(HLE, "sceSslInit %d", heapSize); in sceSslInit()
59 if (heapSize <= 0) in sceSslInit()
64 maxMemSize = heapSize; in sceSslInit()
65 currentMemSize = heapSize / 2; // As per jpcsp in sceSslInit()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/HLE/
H A DsceSsl.cpp52 static int sceSslInit(int heapSize) in sceSslInit() argument
54 DEBUG_LOG(HLE, "sceSslInit %d", heapSize); in sceSslInit()
59 if (heapSize <= 0) in sceSslInit()
64 maxMemSize = heapSize; in sceSslInit()
65 currentMemSize = heapSize / 2; // As per jpcsp in sceSslInit()

12345678910>>...17