- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 294 for 0xFF (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals("\\", trans2FindFirst2.getPath()); } @ParameterizedTest @DisplayName("Test search attributes masking") @ValueSource(ints = { 0x00, 0x16, 0x37, 0xFF }) void testSearchAttributesMasking(int searchAttributes) { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024); // Verify attributes are masked with 0x37Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0x12, dst[1]); // LIST_COUNT (2 bytes, LE) int listCount = Trans2FindFirst2.LIST_COUNT; assertEquals((byte) (listCount & 0xFF), dst[2]); assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]); // informationLevel (2 bytes, LE) -> 0x0104 assertEquals((byte) 0x04, dst[4]); assertEquals((byte) 0x01, dst[5]); // resumeKey (4 bytes, LE)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
bufferIndex += 2; if (this.dialectIndex > 10) { return bufferIndex - start; } this.server.securityMode = buffer[bufferIndex] & 0xFF; bufferIndex++; this.server.security = this.server.securityMode & 0x01; this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
// Disable the timeout to read the first byte of a new frame. val b0: Int val timeoutBefore = source.timeout().timeoutNanos() source.timeout().clearTimeout() try { b0 = source.readByte() and 0xff } finally { source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS) } opcode = b0 and B0_MASK_OPCODE isFinalFrame = b0 and B0_FLAG_FIN != 0Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
return -1; } if (length < 0) { throw new EOFException("EOF found when length expected"); } if (0xFF == length) { throw new IOException("invalid long form definite-length 0xFF"); } final int octetsCount = length & 0x7F; int octetsPos = 0; length = 0; do {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
assertArrayEquals(zeroGuid, extractedGuid); } @Test @DisplayName("Test encode with all 0xFF GUID") void testEncodeWithMaxGuid() { byte[] maxGuid = new byte[16]; Arrays.fill(maxGuid, (byte) 0xFF); ValidateNegotiateInfoRequest request =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrShort.java
public int value; /** * Constructs an NdrShort with the specified value. * * @param value the short integer value */ public NdrShort(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_short(this.value); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java
public int value; /** * Constructs an NdrShort with the specified value. * * @param value the short integer value */ public NdrShort(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_short(value); } @Override public void decode(final NdrBuffer src) throws NdrException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
@Test @DisplayName("Test readDataWireFormat with unsupported information level") void testReadDataWireFormatWithUnsupportedLevel() throws SMBProtocolDecodingException { byte unsupportedLevel = (byte) 0xFF; response = new Trans2QueryPathInformationResponse(mockConfig, unsupportedLevel); byte[] buffer = new byte[100]; response.setDataCount(buffer.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0)