- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 335 for 0x0A (0.05 sec)
-
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum()); assertEquals(mockPolicyHandle, message.handle); } @Test @DisplayName("Should encode input parameters correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
dstIndex += 2; return dstIndex - start; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x01; /* BufferFormat */ dstIndex++; writeInt2(count, dst, dstIndex); /* DataLength? */ dstIndex += 2; System.arraycopy(b, off, dst, dstIndex, count); dstIndex += count;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
} public static class WitnessIPAddress { private final InetAddress address; private final int flags; public static final int IPV4 = 0x01; public static final int IPV6 = 0x02; public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
cmd/xl-storage-errors.go
} return false } var pathErr *os.PathError if errors.As(err, &pathErr) { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_PATH_NOT_FOUND return errno == 0x03 } } return false } // Check if the given error corresponds to the specific ERROR_INVALID_HANDLE for windows func isSysErrHandleInvalid(err error) bool { if runtime.GOOS != globalWindowsOSName {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; maxDataCount = 16384; maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override void reset(final int key, final String lastName) { super.reset(); this.lastName = lastName; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
} int readLow = stream.read() & 0xff; int readHigh = stream.read() & 0xff; int read = (readHigh << 8) + readLow; if (read != 0x01) { throw new PACDecodingException("Malformed kerberos token"); } ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
assertEquals(2, written, "setup packet should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand"); assertEquals((byte) 0x00, buf[1], "second byte should be zero"); } @Test @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian") void testWriteParametersWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void setup() throws GeneralSecurityException { digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); data = new byte[128]; Arrays.fill(data, (byte) 0x00); // Set up mock messages request = mock(CommonServerMessageBlock.class); response = mock(CommonServerMessageBlock.class); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
request = new Smb2CreateRequest(mockConfig, "test.txt"); request.setSecurityFlags((byte) 0x01); // Verify through writeBytesWireFormat byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); assertEquals((byte) 0x01, buffer[2]); } @Test @DisplayName("Test oplock level setter") void testSetRequestedOplockLevel() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0)