- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testConstructor_overflowValue (0.52 seconds)
-
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
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 NdrSmall ndrSmall = new NdrSmall(256); // 256 & 0xFF = 0
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0)