Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 908 for Bounds (0.64 sec)

  1. guava/src/com/google/common/collect/RangeMap.java

       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test getMessageByDcerpcError() with an error code larger than any known.
         * The binary search implementation has a bug where it accesses array out of bounds.
         */
        @Test
        void testGetMessageByDcerpcError_largerThanAny() {
            int unknownCode = 0x7FFFFFFF; // Max int value
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/EncdecTest.java

            // Then
            String decoded = new String(buffer);
            assertEquals(testString, decoded);
        }
    
        @Test
        @DisplayName("Should handle buffer bounds checking")
        void testBufferBounds() {
            // Given
            byte[] smallBuffer = new byte[2];
    
            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
            return set.headSet(lastExclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstInclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstInclusive, lastExclusive);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        if (!parentBuilder.getFeatures().contains(CollectionFeature.SUBSET_VIEW)) {
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        if (!parentBuilder.getFeatures().contains(CollectionFeature.SUBSET_VIEW)) {
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

        /**
         * Safely retrieves a value from a list at the specified index, handling bounds checking
         * and cleaning up quoted strings.
         *
         * @param list the list to retrieve the value from
         * @param index the index of the value to retrieve
         * @return the cleaned value at the specified index, or empty string if index is out of bounds
         */
        static String getValue(final List<String> list, final int index) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test decode with maximum file name length")
        void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException {
            // Create a very long filename (but within reasonable bounds)
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 255; i++) {
                sb.append('A');
            }
            String longFileName = sb.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
            // In the opposite direction, an out-of-bounds occurs internally and is caught as false
            assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)");
        }
    
        // Confirms equals() returns false when content differs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/ASN1Util.java

            if (length >= limit && !isParsing) // after all we must have read at least 1 byte
            {
                throw new IOException("corrupted stream - out of bounds length found: " + length + " >= " + limit);
            }
    
            return length;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top