Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 373 for negation (0.07 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    fun String.toLongOrDefault(defaultValue: Long): Long =
      try {
        toLong()
      } catch (_: NumberFormatException) {
        defaultValue
      }
    
    /**
     * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too
     * large, or [defaultValue] if it cannot be parsed.
     */
    internal fun String?.toNonNegativeInt(defaultValue: Int): Int {
      try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
       * @return the padded string
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with negative structure size throws exception")
        void testReadBytesWireFormatNegativeStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(500L * 8 * 512, fileFsFullSizeInfo.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(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/NetworkBuilder.java

        this.allowsSelfLoops = allowsSelfLoops;
        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // TimeUnit.timedJoin() treats negative timeouts just like zero.
              NANOSECONDS.timedJoin(thread, remainingNanos);
              return;
            } catch (InterruptedException e) {
              interrupted = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       * equivalent {@link Character#compare} method instead.
       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} 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 = "Character.compare(a, b)")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *
     * The implementation contains only trivial methods that return {@code 0}
     * or construct a string representation.  The tests focus on:
     *
     * <ul>
     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. 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)
Back to top