- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 354 for 0xff (1.18 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
buf[i++] = (byte) ((oidLen >>> 8) & 0xFF); buf[i++] = (byte) (oidLen & 0xFF); // MECH_OID System.arraycopy(oidDer, 0, buf, i, oidLen); i += oidLen; // NAME_LEN (4 bytes big-endian) buf[i++] = (byte) ((nameLen >>> 24) & 0xFF); buf[i++] = (byte) ((nameLen >>> 16) & 0xFF); buf[i++] = (byte) ((nameLen >>> 8) & 0xFF); buf[i++] = (byte) (nameLen & 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
* * @throws IOException if an I/O error occurs */ @Override public void writeInt(int v) throws IOException { out.write(0xFF & v); out.write(0xFF & (v >> 8)); out.write(0xFF & (v >> 16)); out.write(0xFF & (v >> 24)); } /** * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using * little-endian byte order. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ public static int readInt4(final byte[] src, final int srcIndex) { return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8) + ((src[srcIndex + 2] & 0xFF) << 16) + ((src[srcIndex + 3] & 0xFF) << 24); } /** * Reads a 64-bit integer value from a byte array in little-endian format * @param src the source byte arrayRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
*/ public static int enc_uint32be(final int i, final byte[] dst, int di) { dst[di] = (byte) (i >> 24 & 0xFF); di++; dst[di++] = (byte) (i >> 16 & 0xFF); dst[di++] = (byte) (i >> 8 & 0xFF); dst[di] = (byte) (i & 0xFF); return 4; } /** * Encodes a 16-bit unsigned integer in little-endian byte order. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position") void testWriteInt2WithOffset() { byte[] dst = new byte[10]; dst[2] = (byte) 0xFF; // Mark position dst[3] = (byte) 0xFF; SessionServicePacket.writeInt2(0xABCD, dst, 4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
dstIndex += wordCount + 1; wordCount /= 2; dst[start] = (byte) (wordCount & 0xFF); byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex] = (byte) (byteCount & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF); dstIndex += byteCount; /* Normally, without intervention everything would batchRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
dstIndex += this.wordCount + 1; this.wordCount /= 2; dst[start] = (byte) (this.wordCount & 0xFF); this.byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex] = (byte) (this.byteCount & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF); dstIndex += this.byteCount; /*Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
int impLevel = (buffer[4] & 0xFF) | ((buffer[5] & 0xFF) << 8) | ((buffer[6] & 0xFF) << 16) | ((buffer[7] & 0xFF) << 24); assertEquals(Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_IMPERSONATION, impLevel); // Check default desired access (0x00120089) at offset 24 int desiredAccess = (buffer[24] & 0xFF) | ((buffer[25] & 0xFF) << 8) | ((buffer[26] & 0xFF) << 16) | ((buffer[27] & 0xFF) << 24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
buffer[index++] = (byte) (flags & 0xFF); buffer[index++] = (byte) ((flags >> 8) & 0xFF); // Session ID (8 bytes) - little-endian buffer[index++] = (byte) (testSessionId & 0xFF); buffer[index++] = (byte) ((testSessionId >> 8) & 0xFF); buffer[index++] = (byte) ((testSessionId >> 16) & 0xFF); buffer[index++] = (byte) ((testSessionId >> 24) & 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)