Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 34 for isEnum (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            BigIntegerMath.SQRT2_PRECOMPUTED_BITS);
      }
    
      public void testIsPowerOfTwo() {
        for (BigInteger x : ALL_BIGINTEGER_CANDIDATES) {
          // Checks for a single bit set.
          boolean expected = x.signum() > 0 & x.and(x.subtract(ONE)).equals(ZERO);
          assertEquals(expected, BigIntegerMath.isPowerOfTwo(x));
        }
      }
    
      public void testLog2ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
            assertEquals(Integer.signum(expected), Integer.signum(actual));
          }
        }
      }
    
      public void testFuzzyCompareBadTolerance() {
        for (double tolerance : BAD_TOLERANCE_CANDIDATES) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/math/LongMath.java

         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
        int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1));
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(rem == 0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (char x : VALUES) {
          for (char y : VALUES) {
            assertWithMessage("%s, %s", x, y)
                .that(Math.signum(Chars.compare(x, y)))
                .isEqualTo(Math.signum(Character.compare(x, y)));
          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

        return BigInteger.ZERO.setBit(log2(x, FLOOR));
      }
    
      /** Returns {@code true} if {@code x} represents a power of two. */
      public static boolean isPowerOfTwo(BigInteger x) {
        checkNotNull(x);
        return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1;
      }
    
      /**
       * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/DoubleMathTest.java

            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
            assertEquals(Integer.signum(expected), Integer.signum(actual));
          }
        }
      }
    
      public void testFuzzyCompareBadTolerance() {
        for (double tolerance : BAD_TOLERANCE_CANDIDATES) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/UnsignedInteger.java

       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32}
       */
      public static UnsignedInteger valueOf(BigInteger value) {
        checkNotNull(value);
        checkArgument(
            value.signum() >= 0 && value.bitLength() <= Integer.SIZE,
            "value (%s) is outside the range for an unsigned integer value",
            value);
        return fromIntBits(value.intValue());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/primitives/UnsignedLong.java

       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(BigInteger value) {
        checkNotNull(value);
        checkArgument(
            value.signum() >= 0 && value.bitLength() <= Long.SIZE,
            "value (%s) is outside the range for an unsigned long value",
            value);
        return fromLongBits(value.longValue());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/IntMathTest.java

      public void testIsPowerOfTwo() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          // Checks for a single bit set.
          BigInteger bigX = BigInteger.valueOf(x);
          boolean expected = (bigX.signum() > 0) && (bigX.bitCount() == 1);
          assertEquals(expected, IntMath.isPowerOfTwo(x));
        }
      }
    
      public void testLog2ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  10. src/main/resources/fess_label_tr.properties

    labels.facet_filetype_word=MS Word
    labels.facet_filetype_excel=MS Excel
    labels.facet_filetype_powerpoint=MS PowerPoint
    labels.facet_filetype_odt=ODF Word
    labels.facet_filetype_ods=ODF Elektronik Tablo
    labels.facet_filetype_odp=ODF Sunum
    labels.facet_filetype_pdf=PDF
    labels.facet_filetype_fb2=FictionBook
    labels.facet_filetype_epub=EPUB
    labels.facet_filetype_ibooks=iBooks
    labels.facet_filetype_txt=Metin
    labels.facet_filetype_rtf=Zengin Metin
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 47K bytes
    - Click Count (0)
Back to Top