Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 601 for negative (0.3 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Test getting ID after setting it
            dictionaryItem.id = 123L;
            assertEquals(123L, dictionaryItem.getId());
        }
    
        public void test_getId_negativeValue() {
            // Test with negative ID value
            dictionaryItem.id = -456L;
            assertEquals(-456L, dictionaryItem.getId());
        }
    
        public void test_getId_maxValue() {
            // Test with maximum Long value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. android/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)
  4. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with negative boost - should throw exception
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = -1.0f;
    
            try {
                matchAllQueryCommand.execute(context, query, boost);
                fail("Should throw IllegalArgumentException for negative boost");
            } catch (IllegalArgumentException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(1, config.getChannelBindingPolicy());
        }
    
        @Test
        void testEdgeCaseValues() throws CIFSException {
            Properties props = new Properties();
    
            // Test zero and negative values
            props.setProperty("jcifs.smb.client.maxChannels", "0");
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels()); // Should use default when 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(Integer.MAX_VALUE, negotiationResponse.getReceiveBufferSize());
            assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize());
    
            // Test negative values (though not typical, should be tested)
            when(negotiationResponse.getSendBufferSize()).thenReturn(-1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(1024L * 4 * 4096, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle negative values in buffer")
            void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException {
                // Given - negative values (treated as unsigned in protocol)
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/main/resources/CLMessages.properties

    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    ECL0016=key[{0}] is not included in this BeanMap : {1}.
    ECL0017=Exception occurred, because {0}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/StatsAccumulator.java

       * is not guaranteed to return zero when the dataset consists of the same value multiple times,
       * due to numerical errors. However, it is guaranteed never to return a negative result.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle negative time values")
            void testNegativeTimeValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Write negative times (as they would appear in the buffer)
                SMBUtil.writeInt8(-1L, buffer, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top