- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for writeTime (0.09 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} // ensure file is open try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { int w; do { w = len > this.writeSize ? this.writeSize : len; long cnt; if (th.isSMB2()) { final Smb2WriteRequest request = new Smb2WriteRequest(th.getConfig(), fh.getFileId());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds 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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <li> <code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li> <code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex); dstIndex += 2; SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex); dstIndex += 4; // reserved dstIndex += 10; return dstIndex - start; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else { log.trace("SmbComClose without a digest"); } return 6; } @Override
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/smb1/SmbComClose.java
command = SMB_COM_CLOSE; } @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { writeInt2(fid, dst, dstIndex); dstIndex += 2; writeUTime(lastWriteTime, dst, dstIndex); return 6; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* <li><code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li><code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> * * <p>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
assertEquals(6, bytesWritten); assertEquals(fid, SMBUtil.readInt2(dst, 0)); // With a digest, the lastWriteTime should be written. // We can't verify the exact bytes without a real implementation of writeUTime, // but we can check that it's not zero. long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL; // This is a weak check, but better than nothing.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param dst * The destination byte array * @param dstIndex * The starting index in the destination array */ public static void writeUTime(final Configuration cfg, long t, final byte[] dst, final int dstIndex) { if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) { SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex); return; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0)