Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Multiplication (0.1 sec)

  1. guava/src/com/google/common/math/PairedStats.java

        double ySumOfSquaresOfDeltas = yStats().sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                failedValidations.incrementAndGet();
                integerOverflowsPrevented.incrementAndGet();
                log.warn("Integer overflow in multiplication: {} * {} = {}", a, b, result);
                throw new SmbException("Integer overflow detected");
            }
            return (int) result;
        }
    
        /**
         * Validate SMB message size
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    			s.start = 0
    		}
    		// Is the buffer full? If so, resize.
    		if s.end == len(s.buf) {
    			// Guarantee no overflow in the multiplication below.
    			const maxInt = int(^uint(0) >> 1)
    			if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 {
    				s.setErr(ErrTooLong)
    				return false
    			}
    			newSize := len(s.buf) * 2
    			if newSize == 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // When
                int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
                assertEquals(24, bytesConsumed);
                // Note: multiplication may overflow, but that's expected behavior
                long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE;
                assertEquals(expectedCapacity, fileFsSizeInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
                assertEquals(32, bytesConsumed);
                // Note: multiplication may overflow, but that's expected behavior
                long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE;
                assertEquals(expectedCapacity, fileFsFullSizeInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64.s

    	SD	X5, (X6)				// 23305300
    	SD	X5, 4(X6)				// 23325300
    
    	// 8.1: Base Counters and Timers (Zicntr)
    	RDCYCLE		X5				// f32200c0
    	RDTIME		X5				// f32210c0
    	RDINSTRET	X5				// f32220c0
    
    	// 13.1: Multiplication Operations
    	MUL	X5, X6, X7				// b3035302
    	MULH	X5, X6, X7				// b3135302
    	MULHU	X5, X6, X7				// b3335302
    	MULHSU	X5, X6, X7				// b3235302
    	MULW	X5, X6, X7				// bb035302
    
    	// 13.2: Division Operations
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 49.1K bytes
    - Viewed (0)
  8. lib/fips140/v1.0.0.zip

    calculates x = x * R mod m, with R = 2^(_W * n) and // n = len(m.nat.limbs). // // Faster Montgomery multiplication replaces standard modular multiplication for // numbers in this representation. // // This assumes that x is already reduced mod m. func (x *Nat) montgomeryRepresenta(m *Modulus) *Nat { // A Montgomery multiplication (which computes a * b / R) by R * R works out // to a multiplication by R, which takes the value out of the Montgomery domain. return x.montgomeryMul(x, m.rr, m) } // montgomeryReduction...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  9. RELEASE.md

        ([CVE-2021-41220](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41220))
    *   Fixes an undefined behavior via `nullptr` reference binding in sparse matrix
        multiplication
        ([CVE-2021-41219](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41219))
    *   Fixes a heap buffer overflow in `Transpose`
        ([CVE-2021-41216](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41216))
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  10. CHANGELOG/CHANGELOG-1.29.md

    - Added container filesystem to the `ImageFsInfoResponse`. ([#120914](https://github.com/kubernetes/kubernetes/pull/120914), [@kannon92](https://github.com/kannon92))
    - Added multiplication functionality to `Quantity`. ([#117411](https://github.com/kubernetes/kubernetes/pull/117411), [@tenzen-y](https://github.com/tenzen-y))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
Back to top