Ejemplo n.º 1
0
 public int dataSize() {
   int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt);
   for (RangeTombstone r : ranges) {
     size += r.min.remaining() + r.max.remaining();
     size += TypeSizes.NATIVE.sizeof(r.data.markedForDeleteAt);
   }
   return size;
 }
Ejemplo n.º 2
0
 public int dataSize() {
   int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt);
   return size + (ranges == null ? 0 : ranges.dataSize());
 }