Home
last modified time | relevance | path

Searched refs:bestFit (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkMemory.cpp341 Block* bestFit = bestFitIter.get(); in alloc() local
342 if (bestFit) { in alloc()
343 SkASSERT(align_size(bestFit->fOffset, fAlignment) == bestFit->fOffset); in alloc()
344 *allocOffset = bestFit->fOffset; in alloc()
347 VkDeviceSize originalBestFitOffset = bestFit->fOffset; in alloc()
348 if (bestFit->fSize > alignedSize) { in alloc()
349 bestFit->fOffset += alignedSize; in alloc()
350 bestFit->fSize -= alignedSize; in alloc()
352 if (bestFit->fSize >= secondLargestSize) { in alloc()
353 fLargestBlockSize = bestFit->fSize; in alloc()
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java410 int bestFit = -1, maxScore = 0; in main() local
421 bestFit = c; in main()
425 if (bestFit >= 0) { in main()
426 histogram[bestFit] += 1; in main()