Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 332 for bounds (0.04 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

      public void remove(Range<K> rangeToRemove) {
        if (rangeToRemove.isEmpty()) {
          return;
        }
    
        /*
         * The comments for this method will use [ ] to indicate the bounds of rangeToRemove and ( ) to
         * indicate the bounds of ranges in the range map.
         */
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate =
            entriesByLowerBound.lowerEntry(rangeToRemove.lowerBound);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K 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. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top