#include "datatypes.h"
Go to the source code of this file.
Classes | |
class | chunkMaker |
Functions | |
void | calcShareGeneral (int64 glo, int64 ghi, int64 nshares, int64 myshare, int64 &lo, int64 &hi) |
Copyright (C) 2002-2014 Max-Planck-Society
Definition in file share_utils.h.
void calcShareGeneral | ( | int64 | glo, | |
int64 | ghi, | |||
int64 | nshares, | |||
int64 | myshare, | |||
int64 & | lo, | |||
int64 & | hi | |||
) | [inline] |
Divides the index range [glo; ghi) into nshares approximately equal parts, and returns the sub-range [lo; hi) of the part with the number myshare (first part has index 0).
Definition at line 40 of file share_utils.h.