Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ProductT (0.16 sec)

  1. 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)
  2. 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)
  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. src/main/java/jcifs/NameServiceClient.java

         * href="../../../nbtcodes.html">Here</a> is
         * a fairly complete list of NetBIOS hex codes. Scope is not used but is
         * still functional in other NetBIOS products and so for completeness it has been
         * implemented. A <code>scope</code> of <code>null</code> or <code>""</code>
         * signifies no scope.
         *
         * The additional <code>svr</code> parameter specifies the address to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K 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. 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)
  7. 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)
  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. src/main/java/jcifs/util/InputValidator.java

            return a + b;
        }
    
        /**
         * Safe integer multiplication with overflow check
         *
         * @param a first operand
         * @param b second operand
         * @return product of a and b
         * @throws ArithmeticException if overflow occurs
         */
        public static int safeMultiply(int a, int b) {
            validateIntegerMultiplication(a, b, "Multiplication");
            return a * b;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

            }
            return (int) result;
        }
    
        /**
         * Safely multiply integers checking for overflow
         *
         * @param a first value
         * @param b second value
         * @return product
         * @throws SmbException if overflow would occur
         */
        public int safeMultiply(int a, int b) throws SmbException {
            totalValidations.incrementAndGet();
    
            long result = (long) a * (long) b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top