Searched refs:heapSize (Results 1 – 7 of 7) sorted by relevance
195 int heapSize = 99; in testHeapIntact() local197 MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.expectedSize(heapSize).create(); in testHeapIntact()204 for (int i = 0; i < heapSize; i++) { in testHeapIntact()210 assertEquals(heapSize, mmHeap.size()); in testHeapIntact()211 int currentHeapSize = heapSize; in testHeapIntact()543 int heapSize = 999; in testRemoveAt() local545 MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.expectedSize(heapSize).create(); in testRemoveAt()546 for (int i = 0; i < heapSize; i++) { in testRemoveAt()
7539 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local7540 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()7541 return isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize; in CalcPreferredBlockSize()
15920 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local15921 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()15922 … return VmaAlignUp(isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize, (VkDeviceSize)32); in CalcPreferredBlockSize()16944 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in AllocateVulkanMemory() local16949 if(blockBytesAfterAllocation > heapSize) in AllocateVulkanMemory()
15891 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local15892 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()15893 … return VmaAlignUp(isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize, (VkDeviceSize)32); in CalcPreferredBlockSize()16915 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in AllocateVulkanMemory() local16920 if(blockBytesAfterAllocation > heapSize) in AllocateVulkanMemory()
14234 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local14235 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()14236 return isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize; in CalcPreferredBlockSize()
3546 VkDeviceSize heapSize = in init() local3549 ANGLE_VK_CHECK(contextVk, createInfo->size <= heapSize, VK_ERROR_OUT_OF_DEVICE_MEMORY); in init()