Searched refs:maxChunkSize (Results 1 – 2 of 2) sorted by relevance
361 vector<vector<uint8_t>> chunkVector(const vector<uint8_t>& content, size_t maxChunkSize);
2227 vector<vector<uint8_t>> chunkVector(const vector<uint8_t>& content, size_t maxChunkSize) { in chunkVector() argument2231 if (contentSize <= maxChunkSize) { in chunkVector()2236 size_t numChunks = (contentSize + maxChunkSize - 1) / maxChunkSize; in chunkVector()2241 if (size > maxChunkSize) { in chunkVector()2242 size = maxChunkSize; in chunkVector()2247 pos += maxChunkSize; in chunkVector()