- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 349 for 0x0F (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
// Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer format assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length())); } @Test public void testReadParameterWordsWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = questionName.hexCode; questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); questionName.hexCode = tmp; return result; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/xl-storage-errors_test.go
if !ok { t.Fatal("Unexpected error expecting 0x91") } } if runtime.GOOS == globalWindowsOSName { pathErr = &os.PathError{Err: syscall.Errno(0x03)} ok = isSysErrPathNotFound(pathErr) if !ok { t.Fatal("Unexpected error expecting 0x03") } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
void testConstructor() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// SMB2 header validator.validateSmbHeader(0x424D53FE, 64, 0x00); } @Test public void testInvalidProtocolId() throws Exception { assertThrows(SmbException.class, () -> { validator.validateSmbHeader(0xDEADBEEF, 64, 0x00); }); } @Test public void testInvalidSmb1HeaderSize() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java
timeout = 0xFFFFFFFF; maxParameterCount = 6; maxDataCount = 1; maxSetupCount = (byte) 0x00; setupCount = 2; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon writeInt2(fid, dst, dstIndex); return 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.path, dst, dstIndex); return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java
totalDataCount = 0; maxParameterCount = 0; maxDataCount = 4096; maxSetupCount = (byte) 0x00; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
// Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character"); assertEquals((byte) 0x00, encoded[1], "Second byte of first character"); assertEquals((byte) 0xA2, encoded[2], "First byte of second character"); assertEquals((byte) 0x00, encoded[3], "Second byte of second character"); } @Test public void testAsciiEncoding() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
} @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (useUnicode) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(newFileName, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.4K bytes - Viewed (0)