Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for validateIntegerAddition (0.28 seconds)

  1. src/main/java/jcifs/util/InputValidator.java

         *
         * @param a first operand
         * @param b second operand
         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top