Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for timestamps (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Trans2 SetFileInformation request message for modifying file metadata.
     * This class implements the TRANS2_SET_FILE_INFORMATION transaction to update
     * file attributes, timestamps, and other metadata properties.
     */
    public class Trans2SetFileInformation extends SmbComTransaction {
    
        private final int fid;
        private final FileInformation info;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/SmbBasicFileInfo.java

     */
    
    package jcifs.internal;
    
    /**
     * Interface for basic SMB file information.
     * Provides access to fundamental file metadata including attributes, timestamps,
     * and file size information retrieved from SMB file system operations.
     *
     * @author mbechler
     */
    public interface SmbBasicFileInfo {
    
        /**
         * Gets the file attributes.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            long timestamp = 9876543210L;
            AvTimestamp avTimestamp = new AvTimestamp(timestamp);
    
            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                Thread.sleep(5); // Small delay to ensure different timestamps
                Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
                Thread.sleep(5); // Small delay to ensure different timestamps
                Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    // The table's lower portion shows specialized features of each format,
    // such as supported string encodings, support for sub-second timestamps,
    // or support for sparse files.
    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Query Information request message.
     *
     * This command is used to retrieve basic file information
     * such as attributes, size, and timestamps.
     */
    public class SmbComQueryInformation extends ServerMessageBlock {
    
        /**
         * Constructs a query information request.
         *
         * @param config the configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java

    /**
     * SMB1 Trans2 Set File Information response implementation.
     * Handles server responses to Trans2 set file information requests, used for
     * modifying file attributes, timestamps, and other file metadata in SMB1 protocol.
     *
     * @author mbechler
     */
    public class Trans2SetFileInformationResponse extends SmbComTransactionResponse {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
    
            bufferIndex += 12;
    
            // Validate sufficient buffer space for timestamps and offsets
            if (buffer.length < bufferIndex + 8 + 8 + 4 + 4) {
                throw new SMBProtocolDecodingException("Buffer too small for timestamps and offsets section");
            }
    
            this.systemTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

    import jcifs.smb.FileEntry;
    import jcifs.util.Strings;
    
    /**
     * Represents the FILE_BOTH_DIR_INFORMATION structure used in SMB directory enumeration operations.
     * This structure contains comprehensive file information including timestamps, attributes, sizes,
     * short name (8.3 format), and full filename for directory entries.
     */
    public class FileBothDirectoryInfo implements FileEntry, Decodable {
    
        private int nextEntryOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top