Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 531 for relative (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                    { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max values
                    { 1L, 2L, 3L, 4L }, // Small values
                    { -1L, -2L, -3L, -4L } // Negative values (though unusual for file times)
            };
    
            for (long[] times : timeValues) {
                // Given
                FileBasicInfo info = new FileBasicInfo(times[0], // create time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_setters_edgeCases() {
            // Test setting negative values
            webFsIndexHelper.setMaxAccessCount(-1L);
            assertEquals(-1L, webFsIndexHelper.maxAccessCount);
    
            webFsIndexHelper.setCrawlingExecutionInterval(-1000L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> createWithExpectedSize(
          int expectedSize) {
        return new CompactLinkedHashSet<>(expectedSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

             * @param h1 the first hour
             * @param m1 the first minute
             * @param h2 the second hour
             * @param m2 the second minute
             * @return positive if first time is earlier, 0 if equal, negative if later
             */
            protected int compareTime(final int h1, final int m1, final int h2, final int m2) {
                if (h1 < h2) {
                    return 1;
                }
                if (h1 == h2) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test zero version
            EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent();
            assertEquals(Long.valueOf(0L), emptyEvent.getVersionNo());
    
            // Test negative version
            event.setVersionNo(-1L);
            assertEquals(Long.valueOf(-1L), event.getVersionNo());
    
            // Test max version
            event.setVersionNo(Long.MAX_VALUE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top