Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Odivide (0.16 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            } else if (size.divide(ONE_GB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size.divide(ONE_MB_BI)).divide(BigDecimal.valueOf(1000)) + "GB";
            } else if (size.divide(ONE_MB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size.divide(ONE_KB_BI)).divide(BigDecimal.valueOf(1000)) + "MB";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int divide(int dividend, int divisor) {
        return (int) (toLong(dividend) / toLong(divisor));
      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put('a', "two", 2);
          table.put('a', "three", 3);
          table.put('b', "four", 4);
          return table.row('a');
        }
      }
    
      static final Function<@Nullable Integer, @Nullable Integer> DIVIDE_BY_2 =
          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java

      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
        table.put('a', "two", 4);
        table.put('a', "three", 6);
        table.put('b', "four", 8);
        return Tables.transformValues(table, TableCollectionTest.DIVIDE_BY_2).row('a');
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<T> concat(
          Iterable<? extends Iterable<? extends T>> inputs) {
        return FluentIterable.concat(inputs);
      }
    
      /**
       * Divides an iterable into unmodifiable sublists of the given size (the final iterable may be
       * smaller). For example, partitioning an iterable containing {@code [a, b, c, d, e]} with a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

      }
    
      /**
       * Verifies that the specified expected result is always produced by collecting the specified
       * inputs, regardless of how the elements are divided.
       */
      @SafeVarargs
      @CanIgnoreReturnValue
      @SuppressWarnings("nullness") // TODO(cpovirk): Remove after we fix whatever the bug is.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java

        return Tables.transformValues(table, DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return Tables.transformValues(table, DIVIDE_BY_2).column('a');
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put('a', "two", 2);
          table.put('a', "three", 3);
          table.put('b', "four", 4);
          return table.row('a');
        }
      }
    
      static final Function<@Nullable Integer, @Nullable Integer> DIVIDE_BY_2 =
          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/BaseEncoding.java

    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.math.IntMath.divide;
    import static com.google.common.math.IntMath.log2;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.UNNECESSARY;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

          int start = index * size;
          int end = Math.min(start + size, list.size());
          return list.subList(start, end);
        }
    
        @Override
        public int size() {
          return IntMath.divide(list.size(), size, RoundingMode.CEILING);
        }
    
        @Override
        public boolean isEmpty() {
          return list.isEmpty();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top