Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java195 int heapSize = 99; in testHeapIntact() local
197 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() local
545 MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.expectedSize(heapSize).create(); in testRemoveAt()
546 for (int i = 0; i < heapSize; i++) { in testRemoveAt()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java195 int heapSize = 99; in testHeapIntact() local
197 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() local
545 MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.expectedSize(heapSize).create(); in testRemoveAt()
546 for (int i = 0; i < heapSize; i++) { in testRemoveAt()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h7539 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local
7540 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()
7541 return isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize; in CalcPreferredBlockSize()
/external/angle/third_party/vulkan_memory_allocator/src/
Dvk_mem_alloc.h15920 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local
15921 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() local
16949 if(blockBytesAfterAllocation > heapSize) in AllocateVulkanMemory()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h15891 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local
15892 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() local
16920 if(blockBytesAfterAllocation > heapSize) in AllocateVulkanMemory()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h14234 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize() local
14235 const bool isSmallHeap = heapSize <= VMA_SMALL_HEAP_MAX_SIZE; in CalcPreferredBlockSize()
14236 return isSmallHeap ? (heapSize / 8) : m_PreferredLargeHeapBlockSize; in CalcPreferredBlockSize()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp3546 VkDeviceSize heapSize = in init() local
3549 ANGLE_VK_CHECK(contextVk, createInfo->size <= heapSize, VK_ERROR_OUT_OF_DEVICE_MEMORY); in init()