Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,140 for m_value (0.04 sec)

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

      /**
       * Returns the closest representable {@code long} to the absolute value of {@code x}.
       *
       * <p>This is the same thing as the true absolute value of {@code x} except in the case when
       * {@code x} is {@link Long#MIN_VALUE}, in which case this returns {@link Long#MAX_VALUE}. (Note
       * that {@code Long.MAX_VALUE} is mathematically equal to {@code -Long.MIN_VALUE - 1}.)
       *
    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. android/guava-tests/test/com/google/common/math/MathTesting.java

        ImmutableSet.Builder<Double> fractionalBuilder = ImmutableSet.builder();
        integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
        // Add small multiples of MIN_VALUE and MIN_NORMAL
        for (int scale = 1; scale <= 4; scale++) {
          for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
            fractionalBuilder.add(d * scale).add(-d * scale);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
            .setExpectation(Double.MAX_VALUE, values())
            .test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Arrange
            short level = Short.MIN_VALUE;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertEquals(Short.MIN_VALUE, queryPolicy.level);
        }
    
        @Test
        void constructor_withMaximumShortValue() {
            // Arrange
            short level = Short.MAX_VALUE;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.saturatedCast((long) value)).isEqualTo(value);
        }
        assertThat(SignedBytes.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
        assertThat(SignedBytes.saturatedCast(LEAST - 1L)).isEqualTo(LEAST);
        assertThat(SignedBytes.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testEncodingWithMaxValues() {
                long maxValue = Long.MAX_VALUE;
                int maxFlags = Integer.MAX_VALUE;
    
                lock = new Smb2Lock(maxValue, maxValue, maxFlags);
                lock.encode(buffer, 0);
    
                assertEquals(maxValue, SMBUtil.readInt8(buffer, 0));
                assertEquals(maxValue, SMBUtil.readInt8(buffer, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        void testSetMidWithBoundaryValues() {
            // Test with MAX_VALUE
            long maxMid = Long.MAX_VALUE;
            doNothing().when(messageBlock).setMid(maxMid);
            when(messageBlock.getMid()).thenReturn(maxMid);
    
            messageBlock.setMid(maxMid);
            assertEquals(maxMid, messageBlock.getMid());
    
            // Test with MIN_VALUE
            long minMid = Long.MIN_VALUE;
            doNothing().when(messageBlock).setMid(minMid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            // Test with maximum integer value
            int maxFlags = Integer.MAX_VALUE;
            AvFlags maxAvFlags = new AvFlags(maxFlags);
            assertNotNull(maxAvFlags, "AvFlags object should not be null for max flags");
            assertEquals(maxFlags, maxAvFlags.getFlags(), "Flags should match Integer.MAX_VALUE");
    
            // Test with minimum integer value
            int minFlags = Integer.MIN_VALUE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Internal.java

       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(maxIntValue, ndrLongMax.value, "Constructor should correctly initialize with Integer.MAX_VALUE.");
    
            // Test case 5: Min int value
            int minIntValue = Integer.MIN_VALUE;
            NdrLong ndrLongMin = new NdrLong(minIntValue);
            assertEquals(minIntValue, ndrLongMin.value, "Constructor should correctly initialize with Integer.MIN_VALUE.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top