- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 306 for 0xff (0.02 sec)
-
src/main/java/jcifs/util/Crypto.java
key8[0] = (byte) (key[0] & 0xFE); key8[1] = (byte) (key[0] << 7 | (key[1] & 0xFF) >>> 1); key8[2] = (byte) (key[1] << 6 | (key[2] & 0xFF) >>> 2); key8[3] = (byte) (key[2] << 5 | (key[3] & 0xFF) >>> 3); key8[4] = (byte) (key[3] << 4 | (key[4] & 0xFF) >>> 4); key8[5] = (byte) (key[4] << 3 | (key[5] & 0xFF) >>> 5); key8[6] = (byte) (key[5] << 2 | (key[6] & 0xFF) >>> 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
int readRDataWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; this.numberOfNames = src[srcIndex] & 0xFF; final int namesLength = this.numberOfNames * 18; final int statsLength = this.rDataLength - namesLength - 1; this.numberOfNames = src[srcIndex] & 0xFF; srcIndex++; // gotta read the mac first so we can populate addressArray with it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(converter.convert("0")).isEqualTo(0); assertThat(converter.convert("-1")).isEqualTo(-1); assertThat(converter.convert("0xff")).isEqualTo(255); assertThat(converter.convert("0xFF")).isEqualTo(255); assertThat(converter.convert("-0xFF")).isEqualTo(-255); assertThat(converter.convert("#0000FF")).isEqualTo(255); assertThat(converter.convert("0666")).isEqualTo(438); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
byte[] buffer = new byte[100]; int bufferIndex = 0; // Reserved bytes buffer[bufferIndex] = (byte) 0xFF; buffer[bufferIndex + 1] = (byte) 0xFF; buffer[bufferIndex + 2] = (byte) 0xFF; // Set fields with negative values (should be treated as unsigned) SMBUtil.writeInt4(-1, buffer, bufferIndex + 3); // Should be read as 0xFFFFFFFF
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
@DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("000FFF7F80", result); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
} static int readULong(final byte[] src, final int index) { return src[index] & 0xff | (src[index + 1] & 0xff) << 8 | (src[index + 2] & 0xff) << 16 | (src[index + 3] & 0xff) << 24; } static int readUShort(final byte[] src, final int index) { return src[index] & 0xff | (src[index + 1] & 0xff) << 8; } static byte[] readSecurityBuffer(final byte[] src, final int index) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
h ^= fingerprint(buf, bufLen); h = remix(h); buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros Arguments.of(new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff }, "////")) // all 0xFF bytes ; } @ParameterizedTest(name = "encode({1}) -> {2}") @MethodSource("encodeProvider") void testEncode(byte[] input, String expected) { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When int bytesRead = response.readBytesWireFormat(wireData, 0); // Then assertEquals(16, bytesRead);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)