Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 404 for negation (0.07 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with negative value")
        void testSetTidWithNegativeValue() {
            // Given
            int tid = -1;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
        }
    
        /**
         * Execute a callable through the circuit breaker
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @return the result
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals((byte) 0x00, buffer[1]);
            assertEquals((byte) 0x00, buffer[2]);
            assertEquals((byte) 0x00, buffer[3]);
        }
    
        @Test
        @DisplayName("Should handle negative FID values")
        void testNegativeFid() {
            // Arrange
            int negativeFid = -1;
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, negativeFid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                throw new IllegalArgumentException("Data buffer cannot be null");
            }
            if (offset < 0 || length < 0) {
                throw new IllegalArgumentException("Offset and length must be non-negative");
            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Check watch tree flag
            assertEquals(0x01, dst[16]);
    
            // Check reserved byte is zero
            assertEquals(0x00, dst[17]);
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/PercentEscaper.java

          }
        }
        return s;
      }
    
      /** Escapes the given Unicode code point in UTF-8. */
      @Override
      protected char @Nullable [] escape(int cp) {
        // We should never get negative values here but if we do it will throw an
        // IndexOutOfBoundsException, so at least it will get spotted.
        if (cp < safeOctets.length && safeOctets[cp]) {
          return null;
        } else if (cp == ' ' && plusForSpace) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            )
            if (dateCharacter == !invert) return i
          }
          return limit
        }
    
        /**
         * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or
         * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE].
         *
         * @throws NumberFormatException if [s] is not an integer of any precision.
         */
        private fun parseMaxAge(s: String): Long {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top