@Override
    protected int getBucketedSize(int requestSize) {
      if (requestSize <= 0) {
        throw new InvalidSizeException(requestSize);
      }

      return (requestSize % 2 == 0) ? requestSize : requestSize + 1;
    }
Allocate the smallest even number than is greater than or equal to the requested size

@param requestSize the logical request size
@return the slightly higher size
imagepipeline/src/test/java/com/facebook/imagepipeline/memory/BasePoolTest.java