Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 567 for dest (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    dest.exists();
    
                    if (!Objects.equals(getServerWithDfs(), dest.getServerWithDfs()) || !Objects.equals(getShare(), dest.getShare())) {
                        throw new SmbException("Cannot rename between different trees");
                    }
                }
    
                if (log.isDebugEnabled()) {
                    log.debug("renameTo: " + getUncPath() + " -> " + dest.getUncPath());
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
  4. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange & Act
                SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
    
                // Assert
                assertNotNull(file);
                assertEquals("test.txt", file.getName());
            }
    
            @Test
            void testConstructorWithInvalidURL() {
                // Act & Assert
                assertThrows(MalformedURLException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @Test
        @DisplayName("Test writeUTime with max time")
        void testWriteUTimeWithMaxTime() {
            byte[] dst = new byte[4];
    
            SMB1SigningDigest.writeUTime(mockConfig, 0xFFFFFFFFFFFFFFFFL, dst, 0);
    
            assertEquals((byte) 0xFF, dst[0]);
            assertEquals((byte) 0xFF, dst[1]);
            assertEquals((byte) 0xFF, dst[2]);
            assertEquals((byte) 0xFF, dst[3]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. docs/resiliency/resiliency-verify-failure-script.sh

    #!/usr/bin/env bash
    
    echo "script failed" >resiliency-verify-failure.log # assume initial state
    
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    DEST_DIR="/tmp/dest"
    
    OUT=$(./mc cp --quiet --recursive "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ "${DEST_DIR}"/)
    RET=${?}
    if [ ${RET} -ne 0 ]; then
    	# It is a success scenario as get objects should fail
    	echo "GET objects failed as expected"
    	echo "script passed" >resiliency-verify-failure.log
    	exit 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 509 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            final byte[] key7 = new byte[7];
            final byte[] e8 = new byte[8];
    
            for (int i = 0; i < key.length / 7; i++) {
                System.arraycopy(key, i * 7, key7, 0, 7);
                final DES des = new DES(key7);
                des.encrypt(data, e8);
                System.arraycopy(e8, 0, e, i * 8, 8);
            }
        }
    
        static String DEFAULT_DOMAIN;
        static String DEFAULT_USERNAME;
        static String DEFAULT_PASSWORD;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. association.go

    		if assignBack.Index > 0 {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue.Index(assignBack.Index - 1))
    		} else {
    			reflect.Indirect(assignBack.Dest).Set(fieldValue)
    		}
    	}
    }
    
    func (association *Association) buildCondition() *DB {
    	var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         * new <code>SmbResource</code></i>.
         *
         * @param dest
         *            An <code>SmbResource</code> that represents the new pathname
         * @throws CIFSException if an error occurs renaming the resource
         * @throws NullPointerException
         *             If the <code>dest</code> argument is <code>null</code>
         */
        void renameTo(SmbResource dest) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  10. docs/resiliency/resiliency-verify-script.sh

    #!/usr/bin/env bash
    
    echo "script failed" >resiliency-verify.log # assume initial state
    
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    DEST_DIR="/tmp/dest"
    
    ./mc admin config set "$ALIAS_NAME" api requests_max=400
    
    OBJ_COUNT_AFTER_STOP=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ | wc -l)
    # Count should match the initial count of 10
    if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top