- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 184 for readInt2 (0.62 sec)
-
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
public void testConstructorWithAllParameters() { // Test constructor with all parameters String word = "test word"; float boost = 2.5f; List<String> readings = Arrays.asList("reading1", "reading2"); List<String> fields = Arrays.asList("field1", "field2"); List<String> tags = Arrays.asList("tag1", "tag2"); List<String> roles = Arrays.asList("role1", "role2");
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
public AvFlags(final int flags) { this(encode(flags)); } /** * Gets the flags as an integer value * @return flags */ public int getFlags() { return SMBUtil.readInt4(this.getRaw(), 0); } private static byte[] encode(final int flags) { final byte[] raw = new byte[4]; SMBUtil.writeInt4(flags, raw, 0); return raw; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
return data; } /** * Gets the timestamp value from this AV pair * * @return the timestamp */ public long getTimestamp() { return SMBUtil.readInt8(getRaw(), 0); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
int bytesWritten = info.encode(buffer, 0); // Verify bytes written assertEquals(8, bytesWritten); // Verify encoded value long decodedValue = SMBUtil.readInt8(buffer, 0); assertEquals(endOfFile, decodedValue); } @Test @DisplayName("Test encode with offset") void testEncodeWithOffset() { long endOfFile = 0xFEDCBA9876543210L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
assertEquals(expectedTimestamp, avTimestamp.getTimestamp()); } /** * Test getTimestamp method with a negative timestamp (though timestamps are usually positive). * This tests the underlying SMBUtil.readInt8 behavior. */ @Test public void testGetTimestampNegative() { long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long byte[] rawBytes = new byte[8];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { length = readInt4(buffer, bufferIndex); return 4; } @Override int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; if (errorCode != 0) {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/internal/fscc/FileRenameInformation2.java
final int start = bufferIndex; this.replaceIfExists = buffer[bufferIndex] != 0; bufferIndex += 8; bufferIndex += 8; final int nameLen = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; final byte[] nameBytes = new byte[nameLen]; System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length); bufferIndex += nameLen;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); this.type = bufferStream.readInt(); switch (this.type) { case KERB_CHECKSUM_HMAC_MD5: this.checksum = new byte[16]; break; case HMAC_SHA1_96_AES128: case HMAC_SHA1_96_AES256:Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameQueryResponse.java
return 0; } final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true; final int nodeType = (src[srcIndex] & 0x60) >> 5; srcIndex += 2; final int address = readInt4(src, srcIndex); if (address != 0) { addrEntry[addrIndex] = new NbtAddress(recordName, address, groupName, nodeType); } else { addrEntry[addrIndex] = null; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.attributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0)