- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,385 for 1byte (0.02 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} @Override public void write(final int b) throws SmbException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } @Override public void write(final byte b[]) throws SmbException { write(b, 0, b.length); } @Override public void write(final byte b[], int off, int len) throws SmbException { if (len <= 0) { return; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
/** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
final Type3Message type3 = new Type3Message(src); byte[] lmResponse = type3.getLMResponse(); if (lmResponse == null) { lmResponse = new byte[0]; } byte[] ntResponse = type3.getNTResponse(); if (ntResponse == null) { ntResponse = new byte[0]; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
private static final short TIME_HI_AND_VERSION = (short) 0x6677; private static final byte CLOCK_SEQ_HI_AND_RESERVED = (byte) 0x88; private static final byte CLOCK_SEQ_LOW = (byte) 0x99; private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
void testReadParametersWireFormatIgnoresMiddleBytes() { // Arrange byte[] buffer = new byte[10]; SMBUtil.writeInt2(200, buffer, 0); // These bytes should be ignored buffer[2] = (byte) 0xFF; buffer[3] = (byte) 0xFF; SMBUtil.writeInt2(TransPeekNamedPipeResponse.STATUS_LISTENING, buffer, 4); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
void testCompleteWireFormatWriting() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO); byte[] setupBuffer = new byte[256]; byte[] paramBuffer = new byte[256]; byte[] dataBuffer = new byte[256]; int setupWritten = trans2QueryFSInfo.writeSetupWireFormat(setupBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
public static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08; /** * Network share enumeration subcommand */ public static final byte NET_SHARE_ENUM = (byte) 0x00; /** * Network server enumeration subcommand version 2 */ public static final byte NET_SERVER_ENUM2 = (byte) 0x68; /** * Network server enumeration subcommand version 3 */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } request.setFileId(fileId); // Verify by writing to buffer and checking the fileId position byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
*/ public void setContext(final byte[] context) { this.context = context; } @Override public byte[] toByteArray() { try { final String targetName = getTarget(); final byte[] challenge = getChallenge(); byte[] context = getContext(); final byte[] targetInformation = getTargetInformation();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java
@Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0)