- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 329 for 0xff (0.97 sec)
-
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); } @Test
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/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/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) -
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) -
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) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final int i = ((inData[inIndex] & 0xff) << 16) + ((inData[inIndex + 1] & 0xff) << 8) + (inData[inIndex + 2] & 0xff); outData[outIndex] = ENCODE_TABLE[i >> 18]; outData[outIndex + 1] = ENCODE_TABLE[i >> 12 & 0x3f]; outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f]; outData[outIndex + 3] = ENCODE_TABLE[i & 0x3f]; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.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) -
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/smb/Kerb5ContextTest.java
out[i++] = (byte) ((der.length >> 8) & 0xFF); out[i++] = (byte) (der.length & 0xFF); System.arraycopy(der, 0, out, i, der.length); i += der.length; out[i++] = (byte) ((nb.length >> 24) & 0xFF); out[i++] = (byte) ((nb.length >> 16) & 0xFF); out[i++] = (byte) ((nb.length >> 8) & 0xFF); out[i++] = (byte) (nb.length & 0xFF); System.arraycopy(nb, 0, out, i, nb.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)