Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 601 for negative (0.05 sec)

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

         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
      static double ensureNonNegative(double value) {
        checkArgument(!isNaN(value));
        return max(value, 0.0);
      }
    
      @VisibleForTesting static final long ONE_BITS = 0x3ff0000000000000L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. pom.xml

    						<include>**/*TestSuite.java</include>
    					</includes>
    					<systemPropertyVariables>
    						<networkaddress.cache.ttl>-1</networkaddress.cache.ttl>
    						<networkaddress.cache.negative.ttl>-1</networkaddress.cache.negative.ttl>
    					</systemPropertyVariables>
    					<useSystemClassLoader>false</useSystemClassLoader>
    					<useModulePath>false</useModulePath>
    					<forkCount>1</forkCount>
    					<reuseForks>true</reuseForks>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
            assertEquals("FFFF", Hexdump.toHexString(-1, 4));
            assertEquals("FF", Hexdump.toHexString(-1, 2));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EncodableTest.java

        @Test
        @DisplayName("encode() throws when dstIndex is negative")
        void encodeThrowsWhenDstIndexNegative() {
            byte[] src = makeSeq(3);
            Encodable enc = new ByteEncodable(src, 0, 3);
            byte[] dst = new byte[3];
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, -1),
                    "System.arraycopy should throw for negative dstIndex");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @Test
            @DisplayName("Should encode negative values as unsigned")
            void testEncodingWithNegativeValues() {
                long negativeOffset = -1L;
                long negativeLength = -100L;
                int negativeFlags = -1;
    
                lock = new Smb2Lock(negativeOffset, negativeLength, negativeFlags);
                lock.encode(buffer, 0);
    
                // Negative values should be encoded as unsigned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test getTimestamp method with a negative timestamp (though timestamps are usually positive).
         * This tests the underlying SMBUtil.readInt8 behavior.
         */
        @Test
        public void testGetTimestampNegative() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should handle negative offset in verify method")
            void testVerifyNegativeOffset() {
                byte[] data = new byte[128];
                boolean result = digest.verify(data, -1, 100, 0, response);
                assertFalse(result, "Should return false for negative offset");
            }
    
            @Test
            @DisplayName("Should handle negative length in verify method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Integer.compare(a, b)")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            byte[] dst = new byte[1024];
            int result = setupAndX.writeBytesWireFormat(dst, 0);
    
            // Verify that data was written
            assertTrue(result >= 0, "writeBytesWireFormat should return non-negative value");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
    
            int result = setupAndX.readParameterWordsWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @param mimeType The MIME type for which to set the maximum length
         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top