/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sMemoryTests.cpp | 58 const int MiB = 1024*1024; in init() local 64 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, false, false, false, "buffer_1mb_no_write_no_use", "1MiB buffer allocations, no data writes, no use")); in init() 65 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, false, false, false, "buffer_1mb_write_no_use", "1MiB buffer allocations, data writes, no use")); in init() 66 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, true, false, false, "buffer_1mb_no_write_use", "1MiB buffe in init() [all...] |
/third_party/vk-gl-cts/modules/gles2/stress/ |
H A D | es2sMemoryTests.cpp | 56 const int MiB = 1024*1024; in init() local 62 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, false, false, false, "buffer_1mb_no_write_no_use", "1MiB buffer allocations, no data writes, no use")); in init() 63 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, false, false, false, "buffer_1mb_write_no_use", "1MiB buffer allocations, data writes, no use")); in init() 64 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, true, false, false, "buffer_1mb_no_write_use", "1MiB buffe in init() [all...] |
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidPlatform.cpp | 291 const size_t MiB = (size_t)(1<<20); in getTotalSystemMemory() local 296 print("Device has %.2f MiB of system memory\n", static_cast<double>(totalMemory) / static_cast<double>(MiB)); in getTotalSystemMemory() 302 const size_t fallbackSize = (sizeof(void*) == sizeof(deUint64)) ? 2048*MiB : 1024*MiB; in getTotalSystemMemory() 305 print("WARNING: Using fall-back size of %.2f MiB\n", double(fallbackSize) / double(MiB)); in getTotalSystemMemory() 344 const size_t MiB = (size_t)(1<<20); in getMemoryLimits() local 345 const size_t baseMemUsage = 400*MiB; in getMemoryLimits() 361 limits.totalSystemMemory = de::max((size_t)(double(deInt64(m_totalSystemMemory)-deInt64(baseMemUsage)) * safeUsageRatio), 16*MiB); in getMemoryLimits() [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | testutil.py | 115 MiB: Final = 2 ** 20 124 res["rss"] = meminfo.rss / MiB 125 res["vms"] = meminfo.vms / MiB 127 res["maxrss"] = meminfo.peak_wset / MiB 137 res["maxrss"] = rusage.ru_maxrss * factor / MiB 139 print(f" {key:12.12s}: {value:10.0f} MiB")
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryAllocationTests.cpp | 934 const VkDeviceSize MiB = 1024 * KiB; 949 { "1MiB", 1*MiB } 992 if (allocationCount != -1 && allocationCount * allocationSize > 50 * MiB) 1005 config.memoryAllocationCount = de::min((deUint32)(50 * MiB / allocationSize), (deUint32)MAX_ALLOCATION_COUNT);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryAllocationTests.cpp | 930 const VkDeviceSize MiB = 1024 * KiB; 945 { "1MiB", 1*MiB } 989 if (allocationCount != -1 && allocationCount * allocationSize > 50 * MiB) 1002 config.memoryAllocationCount = de::min((deUint32)(50 * MiB / allocationSize), (deUint32)MAX_ALLOCATION_COUNT);
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/ |
H A D | deaddrop.js | 47 return trim((n / (1024 * 1024)).toFixed(2)) + "MiB";
|
/third_party/libwebsockets/plugins/deaddrop/assets/ |
H A D | deaddrop.js | 47 return trim((n / (1024 * 1024)).toFixed(2)) + "MiB";
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |