Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for underflow (0.07 sec)

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

                b *= b;
              }
          }
        }
      }
    
      /**
       * Returns the sum of {@code a} and {@code b} unless it would overflow or underflow in which case
       * {@code Long.MAX_VALUE} or {@code Long.MIN_VALUE} is returned, respectively.
       *
       * @since 20.0
       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                transformHeader.setSignature(longSignature);
            });
        }
    
        @Test
        @DisplayName("Should handle buffer underflow during decode")
        void testBufferUnderflowDecode() {
            // Given
            byte[] shortBuffer = new byte[20]; // Too short for transform header
    
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertEquals(0, response.readSetupWireFormat(emptyBuffer, 0, 0));
            assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0));
    
            // readParametersWireFormat would throw exception due to buffer underflow
            assertThrows(Exception.class, () -> {
                response.readParametersWireFormat(emptyBuffer, 0, 0);
            });
        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStats.java

        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)
  5. RELEASE.md

            `TransformedDistribution`.
        *   Fix a bug in `import_meta_graph`'s handling of partitioned variables
            when
        *   Ensure `tf.distributions.Multinomial` doesn't underflow in `log_prob`.
            Before this change, all partitions of an integer variable were
            initialized with the shape of the unpartitioned variable; after this
            change they are initialized correctly.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top