- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for isSigned (0.83 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/smb2/Smb2SigningDigest.java
final int index = offset + SIGNATURE_OFFSET; for (int i = 0; i < SIGNATURE_LENGTH; i++) { data[index + i] = 0; } // set signed flag final int oldFlags = SMBUtil.readInt4(data, offset + 16); final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED; SMBUtil.writeInt4(flags, data, offset + 16);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K 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)