Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPowerOfTwo (0.6 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            assertTrue(isPowerOfTwo(SecurityInfo.OWNER_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.GROUP_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.DACL_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.SACL_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.LABEL_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.ATTRIBUTE_SECURITY_INFO));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

          if (DoubleMath.isMathematicalInteger(doubles[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    
      @Benchmark
      int isPowerOfTwo(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (DoubleMath.isPowerOfTwo(doubles[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top