Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,356 for Copy (0.02 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SecurityBlobTest.java

        }
    
        // Ensures clone() returns a deep copy; mutations are independent across instances
        @Test
        @DisplayName("clone: returns deep copy and independent state")
        void clone_returnsDeepCopy() {
            // Arrange
            byte[] data = new byte[] { 10, 20, 30 };
            SecurityBlob original = new SecurityBlob(data);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            // This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array.
            // If a defensive copy were made, this test would fail, and the behavior would be more robust.
            // Given the current implementation, direct modification of the passed array affects the AvPair.
            // If this is not desired, a defensive copy should be added in the AvPair constructor.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/Dockerfile

    # Install devtoolset build dependencies
    COPY setup.sources.sh /setup.sources.sh
    COPY setup.packages.sh /setup.packages.sh
    COPY builder.packages.txt /builder.packages.txt
    
    RUN /setup.sources.sh && /setup.packages.sh /builder.packages.txt
    
    # Install devtoolset-9 in /dt9 with glibc 2.17 and libstdc++ 4.8, for building
    # manylinux2014-compatible packages.
    COPY builder.devtoolset/fixlinks.sh /fixlinks.sh
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 02:44:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build_arm64/Dockerfile

    # Install devtoolset build dependencies
    COPY setup.sources.sh /setup.sources.sh
    COPY setup.packages.sh /setup.packages.sh
    COPY builder.packages.txt /builder.packages.txt
    
    RUN /setup.sources.sh && /setup.packages.sh /builder.packages.txt
    
    RUN update-ca-certificates
    # Install devtoolset-9 in /dt10 with glibc 2.17 and libstdc++ 4.8, for building
    # manylinux2014-compatible packages.
    COPY builder.devtoolset/fixlinks_aarch64.sh /fixlinks.sh
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 02:44:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

     * for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunk implements Encodable {
    
        private final long sourceOffset;
        private final long targetOffset;
        private final int length;
    
        /**
         * Constructs a server copy chunk descriptor
         * @param soff the source file offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

    /**
     * SMB2 SRV_COPYCHUNK_COPY data structure. This structure is used to perform server-side
     * copy operations with multiple chunk specifications.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
        private final byte[] sourceKey;
        private final SrvCopychunk[] chunks;
    
        /**
         * Constructs a server copy chunk operation request
         * @param sourceKey the resume key identifying the source file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertArrayEquals(data, t.getMechanismToken(), "mechanismToken should round-trip");
    
            // Document current behavior: no defensive copy (reference exposed)
            data[0] = 9;
            assertEquals(9, t.getMechanismToken()[0], "no defensive copy; reflects external mutation");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismListMIC work")
        void setGetMechanismListMIC() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for copy Object: <ERROR> %v", i, err)
    		}
    		// "X-Amz-Copy-Source" header contains the information about the source bucket and the object to copied.
    		if testCase.copySourceHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source", testCase.copySourceHeader)
    		}
    		if testCase.copyModifiedHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source-If-Modified-Since", testCase.copyModifiedHeader)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top