Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Overlaps (0.05 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        }
    
        // Happy path: overlaps delegates to implementation and returns as stubbed
        @Test
        @DisplayName("overlaps returns true then false as stubbed")
        void overlapsReturnsTrueThenFalse() throws Exception {
            when(locator.overlaps(other)).thenReturn(true, false);
    
            assertTrue(locator.overlaps(other));
            assertFalse(locator.overlaps(other));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

        /**
         * Determines whether this resource path overlaps with another resource path by sharing a common root.
         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl child = locator("smb://server/share/dir/file");
            assertTrue(base.overlaps(child));
    
            SmbResourceLocatorImpl other = locator("smb://server/share/other");
            assertFalse(base.overlaps(other));
        }
    
        @Test
        @DisplayName("isRoot and isRootOrShare reflect path state")
        void testIsRootAndShare() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          boolean anyOverlaps = false;
          for (Range<Integer> range : subset) {
            boolean overlaps = false;
            for (Range<Integer> other : mutable.asRanges()) {
              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
                overlaps = true;
                anyOverlaps = true;
                break;
              }
            }
    
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbResourceLocatorInternal#overlaps(jcifs.SmbResourceLocator)
         */
        @Override
        public boolean overlaps(final SmbResourceLocator other) throws CIFSException {
            final String tp = getCanonicalURL();
            final String op = other.getCanonicalURL();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

              if (range.isConnected(prevRange) && !range.intersection(prevRange).isEmpty()) {
                throw new IllegalArgumentException(
                    "Overlapping ranges: range " + prevRange + " overlaps with entry " + range);
              }
            }
            rangesBuilder.add(range);
            valuesBuilder.add(entries.get(i).getValue());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

              if (range.isConnected(prevRange) && !range.intersection(prevRange).isEmpty()) {
                throw new IllegalArgumentException(
                    "Overlapping ranges: range " + prevRange + " overlaps with entry " + range);
              }
            }
            rangesBuilder.add(range);
            valuesBuilder.add(entries.get(i).getValue());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    	}
    
    	ahs.Lock()
    	defer ahs.Unlock()
    
    	// Check if new heal sequence to be started overlaps with any
    	// existing, running sequence
    	hpath := pathJoin(h.bucket, h.object)
    	for k, hSeq := range ahs.healSeqMap {
    		if !hSeq.hasEnded() && (HasPrefix(k, hpath) || HasPrefix(hpath, k)) {
    			errMsg = "The provided heal sequence path overlaps with an existing " +
    				fmt.Sprintf("heal path: %s", k)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                        ArtifactVersion lower;
                        ArtifactVersion upper;
                        boolean lowerInclusive;
                        boolean upperInclusive;
    
                        // overlaps
                        if (res1.getLowerBound() == null) {
                            lower = res2.getLowerBound();
                            lowerInclusive = res2.isLowerBoundInclusive();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    								fmt.Println("Data mismatch at byte", i, "-  Disregarding version", otherKey)
    								continue compareFile
    							}
    							ok++
    						}
    					}
    
    					fmt.Printf("Data overlaps (%d bytes). Combining with %q.\n", ok, otherKey)
    					for i := range otherM.filled {
    						if otherM.filled[i] == 1 {
    							m.filled[i] = 1
    							m.mapped[i] = otherM.mapped[i]
    						}
    					}
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top