Skip to content

Instantly share code, notes, and snippets.

@iskakaushik
Created October 5, 2017 03:41
Show Gist options
  • Save iskakaushik/599e0911f767e548a6441ccf2394071f to your computer and use it in GitHub Desktop.
Save iskakaushik/599e0911f767e548a6441ccf2394071f to your computer and use it in GitHub Desktop.
enum RegionSize {
SM_2(2),
SM_4(4),
SM_8(8),
SM_20(20),
SM_40(40),
.
.
.
LARGE_2MB(2 * 1024 * 1024);
int allocationSize;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment