Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 601 for negative (0.05 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("share$", result.getShare());
                assertEquals("path", result.getPath());
            }
    
            @Test
            @DisplayName("Should handle negative expiration times")
            void testNegativeExpiration() {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                                return response.addrEntry[0];
                            }
                            if (element == RESOLVER_WINS) {
                                /* If WINS reports negative, no point in retry
                                 */
                                break;
                            }
                        }
                        break;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        /**
         * Sentinel cache entry indicating a negative cache result
         */
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
        /**
         * Cache of trusted domains for DFS resolution
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top