Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for overlaps (0.04 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

                    assertNotEquals(attributes[i], attributes[j], "Attributes should have distinct values");
                    assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns");
                }
            }
        }
    
        @Test
        @DisplayName("Should have resource types with power-of-2 values")
        void testResourceTypeBitPatterns() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(0x0002, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, "Signing required flag must be 0x0002");
            }
    
            @Test
            @DisplayName("Signing flags should not overlap")
            void testSigningFlagsNoOverlap() {
                assertNotEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED,
                        "Signing flags must be distinct");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        && canon.regionMatches(true, 0, dest.canon, 0, Math.min(canon.length(), dest.canon.length()))) {
                    throw new SmbException("Source and destination paths overlap.");
                }
            } catch (final UnknownHostException uhe) {}
    
            w = new WriterThread();
            w.setDaemon(true);
            w.start();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top