- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 287 for 0xFF (0.01 sec)
-
src/main/java/jcifs/dcerpc/ndr/NdrSmall.java
/** * Constructs an NdrSmall with the specified value * @param value the small integer value (will be masked to 0-255 range) */ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_small(this.value); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
serverData.encryptionKey = originalKey; // When - modify the original array originalKey[0] = (byte) 0xFF; // Then - the field should also be modified (same reference) assertEquals((byte) 0xFF, serverData.encryptionKey[0]); assertSame(originalKey, serverData.encryptionKey); } /** * Test multiple ServerData instances are independentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (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 =
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
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 0x37Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java
dataOffset = readInt4(buffer, bufferIndex); bufferIndex += 4; dataDisplacement = readInt4(buffer, bufferIndex); bufferIndex += 4; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level >= 3)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (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); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (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 {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
byte[] responseBuffer = negotiation.getResponseRaw(); // Modify the buffers requestBuffer[0] = (byte) 0xFF; responseBuffer[0] = (byte) 0xEE; // Verify modifications are reflected assertEquals((byte) 0xFF, negotiation.getRequestRaw()[0]); assertEquals((byte) 0xEE, negotiation.getResponseRaw()[0]); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (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 {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (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 != 0Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0)