Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 530 for copy (0.25 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    // Create copy with varying number of chunks
                    SrvCopychunk[] chunks = Arrays.copyOf(testCases, numChunks);
                    SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunks);
                    byte[] buffer = new byte[500];
    
                    // When
                    int expectedSize = copy.size();
                    int actualEncoded = copy.encode(buffer, 0);
    
                    // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                            final Smb2IoctlRequest copy = new Smb2IoctlRequest(sh.getConfig(),
                                    write ? Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE : Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, dfd.getFileId());
                            copy.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                            copy.setInputData(new SrvCopychunkCopy(resumeKey, chunkInfo));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. LICENSE

    these notices.
    
      Once this change is made in a given copy, it is irreversible for
    that copy, so the ordinary GNU General Public License applies to all
    subsequent copies and derivative works made from that copy.
    
      This option is useful when you wish to copy part of the code of
    the Library into a program that is not a library.
    
      4. You may copy and distribute the Library (or a portion or
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Clone and verify basic fields copied
            JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
            assertEquals(orig.getUsername(), copy.getUsername());
            assertEquals(orig.getUserDomain(), copy.getUserDomain());
            assertEquals(orig.getPassword(), copy.getPassword());
    
            // Test the cloning behavior with both null and non-null cached subjects
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertEquals(creds.isAnonymous(), copy.isAnonymous());
            assertEquals(creds.isGuest(), copy.isGuest());
            assertSame(subject, copy.getSubject(), "subject is the same reference in clone");
        }
    
        @Test
        @DisplayName("createContext returns SSPContext and interacts with CIFSContext")
        void createContext_happy_interacts_and_returns_context() throws Exception {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(16777216, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should handle server-side copy response")
            void testServerSideCopyResponse() throws SMBProtocolDecodingException {
                // Simulate a server-side copy operation response
                byte[] buffer = createValidCopyChunkResponse(32, 262144, 8388608);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/CopyUtil.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

        // flags for move and copy
        /**
         * Target must be a file flag.
         */
        int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
        /**
         * Target must be a directory flag.
         */
        int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        /**
         * Copy target in ASCII mode flag.
         */
        int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        /**
         * Copy source in ASCII mode flag.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * copyBeanToBean(srcBean, destBean);
     * </pre>
     * <p>
     * It is also possible to copy from a JavaBean to a {@link Map} or from a {@link Map} to a JavaBean.
     * </p>
     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
     * You can also create a new instance of the destination JavaBean or {@link Map} and copy to it.
     * </p>
     *
     * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            @SuppressWarnings("unchecked")
            ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map);
            assertThat(copy.getAt(0), is(nullValue()));
            assertThat(copy.getAt(1), is("test"));
            assertThat(copy.getAt(2), is("test2"));
            assertThat(map.equals(copy), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top