- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 249 for 0xf0 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
void testLeaseKeyAccessors() { byte[] newKeyBytes = new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0xFD, (byte) 0xFC, (byte) 0xFB, (byte) 0xFA, (byte) 0xF9, (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 }; Smb2LeaseKey newKey = new Smb2LeaseKey(newKeyBytes); leaseContext.setLeaseKey(newKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
if (byte2 > (byte) 0xBF // Check that 1 <= plane <= 16. Tricky optimized form of: // if (byte1 > (byte) 0xF4 // || byte1 == (byte) 0xF0 && byte2 < (byte) 0x90 // || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F) || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0 // Third byte trailing-byte test || bytes[index++] > (byte) 0xBF
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
public void testIsWellFormed_4BytesSamples() { // Valid 4 byte. assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2); // Bad trailing bytes assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F); assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0); // Special cases for byte2 assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2); assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2); } /** Tests some hard-coded test cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
long decoded = Encdec.dec_uint64le(buffer, 0); // Then assertEquals(value, decoded); assertEquals(0xF0, buffer[0] & 0xFF); assertEquals(0xDE, buffer[1] & 0xFF); assertEquals(0xBC, buffer[2] & 0xFF); assertEquals(0x9A, buffer[3] & 0xFF); } @Test @DisplayName("Should handle big endian encoding/decoding") void testBigEndianOperations() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
hexCode = (src[srcIndex + TYPE_OFFSET] & 0xFF) - 0x41 << 4; hexCode |= (src[srcIndex + TYPE_OFFSET + 1] & 0xFF) - 0x41 & 0x0F; return SCOPE_OFFSET + readScopeWireFormat(src, srcIndex + SCOPE_OFFSET); } int writeScopeWireFormat(final byte[] dst, int dstIndex) { if (scope == null) { dst[dstIndex] = (byte) 0x00; return 1; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
// write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i; for (i = 0; i < tmp.length; i++) { dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41); dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
0x01, 0x00, 0x00, 0x00, // unused 0x02, 0x00, 0x00, 0x00, // used 0x00, 0x00, // unused char 0x41, 0x00, // 'A' 0x42, 0x00 // 'B' }; PacDataInputStream pdis = createInputStream(data); String str = pdis.readString(); assertEquals("AB", str); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)]; outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3); outData[outIndex + 1] = (byte) (b1 << 4 & 0xf0 | b2 >> 2 & 0xf); outData[outIndex + 2] = (byte) (b2 << 6 & 0xc0 | b3 & 0x3f); } private static void decode1byte(final String inData, final int inIndex, final byte[] outData, final int outIndex) {
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/util/SMBUtilTest.java
(byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, (byte) 0x78, (byte) 0x56, (byte) 0x34, (byte) 0x12, // 0xFFFFFFFFFFFFFFFFL (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // 0x0000000000000000L (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa }); // 64-fold("Rough Consensus, and Running Code") verifyNfold("Rough Consensus, and Running Code", 8, new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 }); // 64-fold("kerberos")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0)