- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 338 for unsigned (0.14 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
if (b1 < 0) { throw new EOFException(); } return b1; } /** * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()}, * except using little-endian byte order. * * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in * little-endian byte order * @throws IOException if an I/O error occurs */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrSmall.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; /** * Represents an NDR small integer (1 byte unsigned) for DCE/RPC communication. * This class encapsulates a single byte value (0-255) in NDR format. */ public class NdrSmall extends NdrObject { /** * The small integer value (0-255) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * Represents an NDR small integer (1 byte unsigned) for DCE/RPC communication. * This class encapsulates a single byte value (0-255) in NDR format. */ public class NdrSmall extends NdrObject { /** * The small integer value (0-255) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
void testEncodingWithNegativeValues() { long negativeOffset = -1L; long negativeLength = -100L; int negativeFlags = -1; lock = new Smb2Lock(negativeOffset, negativeLength, negativeFlags); lock.encode(buffer, 0); // Negative values should be encoded as unsigned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
// Test with a negative value, expecting it to be masked to a positive byte NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255 assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test void testConstructor_overflowValue() { // Test with a value exceeding byte range, expecting it to be masked
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/package-info.java
* the License. */ /** * Static utilities for the eight primitive types and {@code void}, and value types for treating * them as unsigned or storing them in immutable arrays. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. * * <p>See the Guava User Guide article on <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 15:30:05 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
int maxReferralLevel = -1; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); assertNotNull(buffer); // Negative values will be cast to unsigned when encoded assertEquals(4 + 2 * path.length(), buffer.size()); } } @Nested @DisplayName("Size Calculation Tests") class SizeTests { @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(maxInt, SMBUtil.readInt4(buffer, startIndex + 16)); } @Test @DisplayName("Should encode negative values as unsigned") void testEncodeNegativeValues() { // Given long negativeOffset = -1L; int negativeLength = -1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)