- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for isSigned (0.14 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response.readParameterWordsWireFormat(buffer, 0); // File size is stored as signed int long expectedSize = (int) fileSize; assertEquals(expectedSize, response.getSize()); } @Test void testFileSizeOverflow() { // Test file size that overflows signed int response = new SmbComQueryInformationResponse(mockConfig, 0L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * NDR representation of a hyper integer (8-byte signed integer). */ public class NdrHyper extends NdrObject { /** * The hyper integer value. */ public long value; /** * Constructs an NdrHyper with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * NDR representation of a long integer (4-byte signed integer). */ public class NdrLong extends NdrObject { /** * The long integer value. */ public int value; /** * Constructs an NdrLong with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrHyper.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; /** * NDR representation of a hyper integer (8-byte signed integer). */ public class NdrHyper extends NdrObject { /** * The hyper integer value. */ public long value; /** * Constructs an NdrHyper with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrLong.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; /** * NDR representation of a long integer (4-byte signed integer). */ public class NdrLong extends NdrObject { /** * The long integer value. */ public int value; /** * Constructs an NdrLong with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrShort.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; /** * NDR representation of a short integer (2-byte signed integer). */ public class NdrShort extends NdrObject { /** * The short integer value. */ public int value; /** * Constructs an NdrShort with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * NDR representation of a short integer (2-byte signed integer). */ public class NdrShort extends NdrObject { /** * The short integer value. */ public int value; /** * Constructs an NdrShort with the specified value. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@Test @DisplayName("Test decode with negative values interpreted as unsigned") void testDecodeWithNegativeValues() throws SMBProtocolDecodingException { // Prepare test data with values that would be negative if signed byte[] buffer = new byte[22]; int idFileSystem = -1; // 0xFFFFFFFF int sectPerAlloc = 8; int alloc = -100; // Large unsigned value int free = -200; // Large unsigned valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
if ((msg.getFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) == 0) { // signature requirements need to be checked somewhere else log.warn("Expected signed response, but is not signed"); return false; } update(this.macSigningKey, 0, this.macSigningKey.length); int index = offset; update(data, index, SmbConstants.SIGNATURE_OFFSET);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertEquals(0xFFFFFFFF, Smb2Constants.UNSPECIFIED_TREEID, "Unspecified TreeId must be 0xFFFFFFFF"); assertEquals(-1, Smb2Constants.UNSPECIFIED_TREEID, "Unspecified TreeId as signed int should be -1"); } @Test @DisplayName("Unspecified SessionId should be 0xFFFFFFFFFFFFFFFF") void testUnspecifiedSessionId() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)