- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 284 for 0xFF (0.01 sec)
-
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/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/pac/kerberos/KerberosToken.java
throw new PACDecodingException("Not a kerberos token"); } int readLow = stream.read() & 0xff; int readHigh = stream.read() & 0xff; int read = (readHigh << 8) + readLow; if (read != 0x01) { throw new PACDecodingException("Malformed kerberos token"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
public void testSupportedHashAlgorithms() { assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512)); assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported int[] supported = preauthService.getSupportedHashAlgorithms(); assertNotNull(supported); assertEquals(1, supported.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/erasure-sets_test.go
{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35}, {"SHØRT", 49}, {"There are far too many object names, and far too few bucket names!", 8}, {"a/b/c/", 159}, {"/a/b/c", 96}, {string([]byte{0xff, 0xfe, 0xfd}), 147}, } // Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
android/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/main/java/jcifs/smb1/util/MD4.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K 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) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
} /** * Test of readParameterWordsWireFormat method */ @Test public void testReadParameterWordsWireFormat() { // Given byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When int result = instance.readParameterWordsWireFormat(buffer, 0); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)