java/tsfile/src/main/java/org/apache/tsfile/encoding/encoder/DoubleRLBE.java [58:67]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private int calBinarylength(long val) {
    if (val == 0) {
      return 1;
    }
    int i = 64;
    while ((((long) 1 << (i - 1)) & val) == 0 && i > 0) {
      i--;
    }
    return i;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/tsfile/src/main/java/org/apache/tsfile/encoding/encoder/LongRLBE.java [59:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private int calBinarylength(long val) {
    if (val == 0) {
      return 1;
    }
    int i = 64;
    while ((((long) 1 << (i - 1)) & val) == 0 && i > 0) {
      i--;
    }
    return i;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



