Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Overlaps (0.1 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. 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)
  5. 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)
  6. 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)
  7. cmd/admin-handlers.go

    	// Reject all unwanted types.
    	want := opts.TraceTypes()
    	if !want.Contains(trcInfo.TraceType) {
    		return false
    	}
    
    	isHTTP := trcInfo.TraceType.Overlaps(madmin.TraceInternal|madmin.TraceS3) && trcInfo.HTTP != nil
    
    	// Check latency...
    	if opts.Threshold > 0 && trcInfo.Duration < opts.Threshold {
    		return false
    	}
    
    	// Check internal path
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                 * It is invalid for the source path to be a child of the destination
                 * path or visa versa.
                 */
                if (this.fileLocator.overlaps(dest.getLocator())) {
                    throw new SmbException("Source and destination paths overlap.");
                }
    
                final WriterThread w = new WriterThread();
                w.setDaemon(true);
    
                try {
                    w.start();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/FileNotifyInformationTest.java

                // Check that no two flags overlap (except combined flags)
                for (int i = 0; i < flags.length; i++) {
                    for (int j = i + 1; j < flags.length; j++) {
                        assertEquals(0, flags[i] & flags[j], String.format("Flags at index %d and %d should not overlap", i, j));
                    }
                }
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
      public static <C extends Comparable<?>> ImmutableRangeSet<C> copyOf(Iterable<Range<C>> ranges) {
        return new ImmutableRangeSet.Builder<C>().addAll(ranges).build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top