Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ConstantOverflow (0.14 seconds)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for LongMath.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class LongMathTest extends TestCase {
      @SuppressWarnings("ConstantOverflow")
      public void testMaxSignedPowerOfTwo() {
        assertTrue(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO));
        assertFalse(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO * 2));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top