Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,361 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. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. 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)
  4. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
                      <fileset dir="${project.build.directory}/failureaccess-sources">
                        <include name="**/InternalFutures.java" />
                      </fileset>
                    </copy>
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        private static <T> List<T> copyList(List<T> original) {
            List<T> copy = null;
    
            if (original != null) {
                copy = new ArrayList<>();
    
                if (!original.isEmpty()) {
                    copy.addAll(original);
                }
            }
    
            return copy;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code for server-side copy chunk operation
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
         * Function code to enumerate volume shadow copy snapshots
         */
        public static final int FSCTL_SRV_ENUMERATE_SNAPSHOTS = 0x00144064;
        /**
         * Function code to request a resume key for server-side copy
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		metadata[ReservedMetadataPrefixLower+ReplicationStatus] = dsc.PendingStatus()
    	}
    
    	// We need to preserve the encryption headers set in EncryptRequest,
    	// so we do not want to override them, copy them instead.
    	maps.Copy(metadata, encMetadata)
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(metadata)
    
    	if isCompressible(r.Header, object) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top