- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 284 for 0xFF (0.01 sec)
-
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
try { descr = DESCR[which].getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; for (int i = 0; i < 4; i++) { dst[dstIndex++] = (byte) 0xFF; } writeInt2(writeMode, dst, dstIndex); dstIndex += 2; writeInt2(remaining, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF); h[3] = (byte) (length & 0xFF); return h; } /** * Creates a NetBIOS keep-alive header. * Keep-alive packets have type 0x85 and zero length. */ private static byte[] keepAliveHeader() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testWriteULongNegative() { byte[] dest = new byte[4]; NtlmMessage.writeULong(dest, 0, -1); assertArrayEquals(new byte[] { -1, -1, -1, -1 }, dest, "All bytes should be 0xFF for -1"); } @Test @DisplayName("writeUShort writes little endian bytes") void testWriteUShort() { byte[] dest = new byte[2]; NtlmMessage.writeUShort(dest, 0, 0xBBAA);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
void testWriteParameterWordsWireFormatBoundaryConditions() { byte[] dst = new byte[256]; // Test with maximum values transaction.setMaxSetupCount((byte) 0xFF); transaction.setTotalParameterCount(0xFFFFFFFF); transaction.setTotalDataCount(0xFFFFFFFF); transaction.setMaxParameterCount(0xFFFFFFFF); transaction.setMaxDataCountForTest(0xFFFFFFFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
int charCount; @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"}) HashFunctionEnum hashFunctionEnum; private String[] strings; static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 4; this.eaSize = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; final int shortNameLength = buffer[bufferIndex] & 0xFF; bufferIndex += 2; this.shortName = Strings.fromUNIBytes(buffer, bufferIndex, shortNameLength); bufferIndex += 24; String str; if (this.unicode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UUID.java
while (ai-- > 0) { arr[ai] = HEXCHARS[value & 0xF]; value >>>= 4; } return new String(arr); } private static byte B(final int i) { return (byte) (i & 0xFF); } private static short S(final int i) { return (short) (i & 0xFFFF); } /** * Constructs a UUID from an existing rpc.uuid_t object * * @param uuid
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
return this.sid; } @Override public int decode(final byte[] buf, int bi, final int len) { this.allow = buf[bi] == (byte) 0x00; bi++; this.flags = buf[bi++] & 0xFF; final int size = SMBUtil.readInt2(buf, bi); bi += 2; this.access = SMBUtil.readInt4(buf, bi); bi += 4; this.sid = new SID(buf, bi); return size; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0)