- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for chun (0.09 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
int length = 0x12345678; SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); byte[] buffer = new byte[EXPECTED_SIZE]; // When int bytesWritten = chunk.encode(buffer, 0); // Then assertEquals(EXPECTED_SIZE, bytesWritten); assertEquals(chunk.size(), bytesWritten); // Verify complete structureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
} @Test @DisplayName("Should return correct size with single chunk") void testSizeWithSingleChunk() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; SrvCopychunk chunk = new SrvCopychunk(0, 0, 0); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk); // When int size = copy.size(); // 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/internal/smb2/ioctl/SrvCopychunkCopy.java
* 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/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should handle mismatched chunk and total bytes") void testMismatchedValues() throws SMBProtocolDecodingException { // This could happen if the last chunk is smaller byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks 65536, // Last chunk size (not average) 589824 // Total less than 10 * 65536 );Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
/** * SMB2 SRV_COPYCHUNK data structure. This structure represents a single chunk specification * 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/SrvCopyChunkCopyResponse.java
public SrvCopyChunkCopyResponse() { } private int chunksWritten; private int chunkBytesWritten; private int totalBytesWritten; /** * Gets the number of bytes written in the last chunk * @return the chunkBytesWritten */ public int getChunkBytesWritten() { return this.chunkBytesWritten; } /** * Gets the number of chunks successfully written
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SecurityBlob.java
*/ package jcifs.smb; /** * This class represents the Secrity_Blob in SMB Block and is set to support * kerberos authentication. * * @author Shun * */ class SecurityBlob { private byte[] b = {}; SecurityBlob() { } SecurityBlob(final byte[] b) { set(b); } void set(final byte[] b) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
/** * Function code to transceive data on a named pipe */ public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017; /** * Function code for server-side copy chunk operation */ public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2; /** * Function code to enumerate volume shadow copy snapshots */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
import java.util.Objects; import org.bouncycastle.asn1.ASN1ObjectIdentifier; /** * This class is used to parse the name of context initiator and * context acceptor which are retrieved from GSSContext. * * @author Shun * */ class MIEName { private static byte[] TOK_ID = { 04, 01 }; private static int TOK_ID_SIZE = 2; private static int MECH_OID_LEN_SIZE = 2; private static int NAME_LEN_SIZE = 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0)