Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fallthrough (2.9 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of two
       */
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log2(long x, RoundingMode mode) {
        checkPositive("x", x);
        switch (mode) {
          case UNNECESSARY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
Back to top