- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for 0xFFFFFFFF (2.42 sec)
-
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with max int value (unsigned interpretation) buffer.putInt(0, 0xFFFFFFFF); assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly."); // Test with a negative int (should be interpreted as unsigned positive) buffer.putInt(0, -1); // -1 is 0xFFFFFFFF assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should interpret -1 as unsigned max ULong."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
SMBUtil.writeInt2(16, buffer, 0); buffer[2] = (byte) 0xFF; // Max share type buffer[3] = 0; SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max share flags SMBUtil.writeInt4(0xFFFFFFFF, buffer, 8); // Max capabilities SMBUtil.writeInt4(0xFFFFFFFF, buffer, 12); // Max access // When int bytesRead = response.readBytesWireFormat(buffer, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
void testWriteSetupWireFormatBufferBoundary() { notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true); byte[] dst = new byte[8]; // Exact size needed int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0); assertEquals(8, bytesWritten); assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(dst, 4));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
transaction.setTotalParameterCount(0xFFFFFFFF); transaction.setTotalDataCount(0xFFFFFFFF); transaction.setMaxParameterCount(0xFFFFFFFF); transaction.setMaxDataCountForTest(0xFFFFFFFF); transaction.setParameterCount(0xFFFFFFFF); transaction.setParameterOffset(0xFFFFFFFF); transaction.setDataCount(0xFFFFFFFF); transaction.setDataOffset(0xFFFFFFFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
Arguments.of(0xFFFFFFFF, "All bits set")); } @Test @DisplayName("Test writeParametersWireFormat buffer boundary") void testWriteParametersWireFormatBufferBoundary() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF); byte[] dst = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
void testGetAccessMask() { ace.access = 0x00000000; assertEquals(0x00000000, ace.getAccessMask()); ace.access = 0xFFFFFFFF; assertEquals(0xFFFFFFFF, ace.getAccessMask()); ace.access = 0x001200A9; assertEquals(0x001200A9, ace.getAccessMask()); } @Test @DisplayName("Test getSID returns correct SID")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
SMBUtil.writeInt2(0, buffer, 0); SMBUtil.writeUTime(0, buffer, 2); SMBUtil.writeInt4(overflowSize, buffer, 6); response.readParameterWordsWireFormat(buffer, 0); // 0xFFFFFFFF becomes -1 when interpreted as signed int assertEquals(-1L, response.getSize()); } @Test void testReadBytesWireFormat() { // Test readBytesWireFormat - should always return 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} } @Test @DisplayName("Unspecified TreeId should be 0xFFFFFFFF") void testUnspecifiedTreeId() { assertEquals(0xFFFFFFFF, Smb2Constants.UNSPECIFIED_TREEID, "Unspecified TreeId must be 0xFFFFFFFF"); assertEquals(-1, Smb2Constants.UNSPECIFIED_TREEID, "Unspecified TreeId as signed int should be -1"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
* @param value true to set the flag, false to clear it */ public void setContextFlag(final int flag, final boolean value) { setContextFlags(value ? getContextFlags() | flag : getContextFlags() & (0xffffffff ^ flag)); } /** * Gets the array of supported authentication mechanisms * @return the mechanisms array */ public ASN1ObjectIdentifier[] getMechanisms() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
@Test void testShareEnumAllConstructor() { String servername = "\\\\SERVER"; int level = 1; srvsvc.ShareInfoCtr1 info = new srvsvc.ShareInfoCtr1(); int prefmaxlen = 0xFFFFFFFF; int totalentries = 0; int resume_handle = 0; srvsvc.ShareEnumAll enumAll = new srvsvc.ShareEnumAll(servername, level, info, prefmaxlen, totalentries, resume_handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)