- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 329 for 0xff (0.01 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
void testMockImplementation() { NegotiateContextRequest mockRequest = mock(NegotiateContextRequest.class); when(mockRequest.getContextType()).thenReturn(0xFF); assertEquals(0xFF, mockRequest.getContextType()); verify(mockRequest).getContextType(); } } @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
return strideTable[3][word & 0xFF] ^ strideTable[2][(word >>> 8) & 0xFF] ^ strideTable[1][(word >>> 16) & 0xFF] ^ strideTable[0][word >>> 24]; } static int combine(int csum, int crc) { csum ^= crc; for (int i = 0; i < 4; i++) { csum = (csum >>> 8) ^ byteTable[csum & 0xFF]; } return csum; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
require(address.size == 4) return Buffer() .writeDecimalLong((address[0] and 0xff).toLong()) .writeByte('.'.code) .writeDecimalLong((address[1] and 0xff).toLong()) .writeByte('.'.code) .writeDecimalLong((address[2] and 0xff).toLong()) .writeByte('.'.code) .writeDecimalLong((address[3] and 0xff).toLong()) .readUtf8() } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length."); // Check informationLevel assertEquals((byte) (informationLevel & 0xFF), dst[0]); assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]); // Check reserved bytes for (int i = 2; i < 6; i++) { assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
InetAddress inetAddr = InetAddress.getByName("192.168.1.100"); byte[] addrBytes = inetAddr.getAddress(); mockQueryAddress.address = ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF); // Create NodeStatusResponse instance response = new NodeStatusResponse(mockConfig, mockQueryAddress); } @Test
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/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, response.getCommand()); // Verify we can change the subcommand response.setSubCommand((byte) 0xFF); assertEquals((byte) 0xFF, response.getSubCommand()); // But creating a new instance should have the correct subcommand Trans2SetFileInformationResponse newResponse = new Trans2SetFileInformationResponse(config);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
* fills, it is doubled. */ @Suppress("NAME_SHADOWING") object Hpack { private const val PREFIX_4_BITS = 0x0f private const val PREFIX_5_BITS = 0x1f private const val PREFIX_6_BITS = 0x3f private const val PREFIX_7_BITS = 0x7f private const val SETTINGS_HEADER_TABLE_SIZE = 4_096 /** * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)