Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,267 for product (0.04 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

       * }
       * }
       *
       * <p>Note that if any input list is empty, the Cartesian product will also be empty. If no lists
       * at all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of lists of size {@code m, n, p} is a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

          // If it won't fit in a long, then we store off the intermediate product.
          if (normalizedBits + productBits >= Long.SIZE) {
            bignums.add(BigInteger.valueOf(product));
            product = 1;
            productBits = 0;
          }
          product *= normalizedNum;
          productBits = LongMath.log2(product, FLOOR) + 1;
        }
        // Check for leftovers.
        if (product > 1) {
          bignums.add(BigInteger.valueOf(product));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * }
       * }
       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStats.java

        checkState(count() > 1);
        return sumOfProductsOfDeltas / (count() - 1);
      }
    
      /**
       * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or
       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CartesianList.java

            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         *
         * @return The minor version number.
         */
        public int getMinorVersion() {
            return minorVersion;
        }
    
        /**
         * Gets the product version string.
         *
         * @return The product version string.
         */
        public String getProductVersion() {
            return productVersion;
        }
    
        /**
         * Sets the interval for checking the system CPU load.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // CSV with numbers and mixed data types - quoted fields keep quotes
            value = "123,\"Product Name\",45.67,\"Description with, comma\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(4, result.length);
            assertEquals("123", result[0]);
            assertEquals("Product Name", result[1]);
            assertEquals("45.67", result[2]);
            assertEquals("\"Description with, comma\"", result[3]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

       */
      @InlineMe(replacement = "Math.subtractExact(a, b)")
      public static long checkedSubtract(long a, long b) {
        return Math.subtractExact(a, b);
      }
    
      /**
       * Returns the product of {@code a} and {@code b}, provided it does not overflow.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
     * supplied column keys. The {@code remove} and {@code clear} methods are not supported by the table
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

        assertThrows(IllegalArgumentException.class, () -> Sets.newSetFromMap(map));
      }
    
      /** The 0-ary cartesian product is a single empty list. */
      public void testCartesianProduct_zeroary() {
        assertThat(cartesianProduct()).containsExactly(list());
      }
    
      /** A unary cartesian product is one list of size 1 for each element in the input set. */
      public void testCartesianProduct_unary() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top