nc4var.c#330       size_t num_chunks;
#333       num_chunks = (var->dim[d]->len + var->chunksizes[d] - 1) / var->chunksizes[d];
#334       if(num_chunks > 0) {
#335    overhang = (num_chunks * var->chunksizes[d]) - var->dim[d]->len;
#336    var->chunksizes[d] -= overhang / num_chunks;
tst_chunks2.c#23   size_t *num_chunks;
#27   if (!(num_chunks = calloc(ndims, sizeof(size_t)))) ERR;
#36      for (num_chunks[d] = 0; (num_chunks[d] * chunksize[d]) < (dimlen[d] ? dimlen[d] : 1);
#37    num_chunks[d]++)
#39      chunked *= (num_chunks[d] * chunksize[d]);
#62      (long int)num_chunks[d]);
#71   free(num_chunks);


HyperKWIC - Version 7.20DA executed at 11:37 on 27 Oct 2017 | Polyhedron Solutions - INTERNAL USE | COMMERCIAL (Any O/S) SN 4AKIed