- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,514 for copy (0.08 sec)
-
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); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
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) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
} return defaultValue; } /** * Creates a new DataStoreParams instance with a copy of the current parameters. * This provides an independent copy that can be modified without affecting the original. * * @return a new DataStoreParams instance containing a copy of the current parameters */ public DataStoreParams newInstance() { return new DataStoreParams(params);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
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 offsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
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 fileRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
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); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
* and accessing SMB authentication credentials. * * @author mbechler */ public interface CredentialsInternal extends Cloneable, Credentials { /** * Create a copy of the credentials. * @return a copy of the credentials */ CredentialsInternal clone(); /** * Create an SSP context for authentication. * @param tc the CIFS contextRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
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 subjectsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)