Lines Matching full:numbytes
505 static std::string getHumanReadableByteSize (int numBytes)
509 if (numBytes < 1024)
510 buf << numBytes << " byte(s)";
511 else if (numBytes < 1024 * 1024)
512 buf << de::floatToString((float)numBytes/1024.0f, 1) << " KiB";
514 buf << de::floatToString((float)numBytes/1024.0f/1024.0f, 1) << " MiB";
519 static deUint64 medianTimeMemcpy (void* dst, const void* src, int numBytes)
523 // With large numBytes, the probability of context switch or other random
528 if (numBytes < 1048576)
536 deMemcpy(dst, src, numBytes);
555 sectionStarts[sectionNdx] = deAlign32((numBytes * sectionNdx / numSections), sectionAlign);
556 sectionStarts[numSections] = numBytes;