- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 329 for 0xff (0.03 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("setFileId should update file ID") void testSetFileId() throws Exception { byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xFF); request.setFileId(newFileId); Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId"); fileIdField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
*/ public byte[] getAddress() { final byte[] addr = new byte[4]; addr[0] = (byte) (address >>> 24 & 0xFF); addr[1] = (byte) (address >>> 16 & 0xFF); addr[2] = (byte) (address >>> 8 & 0xFF); addr[3] = (byte) (address & 0xFF); return addr; } /** * To convert this address to an <code>InetAddress</code>. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should handle edge case with all 0xFF session key") void testDeriveKeys_AllFFSessionKey() { // Given byte[] ffSessionKey = new byte[16]; Arrays.fill(ffSessionKey, (byte) 0xFF); int dialect = Smb2Constants.SMB2_DIALECT_0311; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
} final byte[] digest = msgDigest.digest(); final StringBuilder buffer = new StringBuilder(200); for (final byte element : digest) { final String tmp = Integer.toHexString(element & 0xff); if (tmp.length() == 1) { buffer.append('0').append(tmp); } else { buffer.append(tmp); } } return buffer.toString(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/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(value); } @Override public void decode(final NdrBuffer src) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Given byte[] buffer = new byte[10]; // Write -1 which will be read as 65535 unsigned buffer[0] = (byte) 0xFF; buffer[1] = (byte) 0xFF; // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @throws SmbException if an I/O error occurs */ public int read() throws SmbException { if (read(tmp, 0, 1) == -1) { return -1; } return tmp[0] & 0xFF; } /** * Reads bytes from the file into the specified byte array. * * @param b the byte array to read data into * @return the number of bytes read, or -1 if end of file is reached
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
bufferIndex += 4; this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((this.setupCount != 0) && log.isDebugEnabled()) { log.debug("setupCount is not zero: " + this.setupCount); } return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0)