Searched refs:maxChunkSize (Results 1 – 2 of 2) sorted by relevance
283 vector<vector<uint8_t>> chunkVector(const vector<uint8_t>& content, size_t maxChunkSize);
1868 vector<vector<uint8_t>> chunkVector(const vector<uint8_t>& content, size_t maxChunkSize) { in chunkVector() argument1872 if (contentSize <= maxChunkSize) { in chunkVector()1877 size_t numChunks = (contentSize + maxChunkSize - 1) / maxChunkSize; in chunkVector()1882 if (size > maxChunkSize) { in chunkVector()1883 size = maxChunkSize; in chunkVector()1888 pos += maxChunkSize; in chunkVector()