- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 249 for writeInt (0.37 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
return protwordsService.getProtwordsFile(body.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })) .orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL)); return null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(4, dst, dstIndex); dstIndex += 4; return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
this.newFileName = newFileName; searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java
dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(informationLevel, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(24, dst, dstIndex); dstIndex += 2; dstIndex += 2; // Reserved1 dstIndex += 4; // Reserved2 System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
byte[] dst = new byte[2]; int written = instance.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written, "writeParameterWordsWireFormat should write exactly 2 bytes"); // SMBUtil.writeInt2 writes the low byte first (little‑endian) assertEquals((byte) (TEST_SID & 0xFF), dst[0]); assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[1]); } @Test void testNegativeSidWrapsCorrectly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds ServerMessageBlock.writeUTime(sampleTimeMillis, buffer, 2); // File Size: 1024 bytes ServerMessageBlock.writeInt4(1024, buffer, 6); response.wordCount = 10; // Must be non-zero to read int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // Should read 20 bytes as per implementationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
passwordLength = 1; } dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(passwordLength, dst, dstIndex); return 4; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
} @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.pipeFid, dst, dstIndex); dstIndex += 2; return 4; } @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0)