Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 913 for Utime (0.15 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
         * encoded as four 0xFF bytes by {@code writeUTime}.
         */
        @ParameterizedTest(name = "fid={0}, lastWriteTime={1}")
        @MethodSource("validParams")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(fileAttributes, response.getAttributes());
            assertEquals(fileSize, response.getSize());
    
            // Verify time was read correctly (accounting for UTime conversion)
            long readTime = (Long) getFieldValue(response, "lastWriteTime");
            // UTime is seconds since 1970, so we need to compare at second precision
            assertEquals(lastWriteTime / 1000, readTime / 1000);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
            assertEquals(expectedTime, ServerMessageBlock.readTime(buffer, 0));
        }
    
        @Test
        void testUTimeReadWrite() {
            byte[] buffer = new byte[4];
            long time = System.currentTimeMillis();
            // UTime is seconds since epoch, so divide by 1000
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    				"mtime": "1350244992.023960108",
    				"atime": "1350244992.023960108",
    				"ctime": "1350244992.023960108",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:       "a/b",
    			Mode:       0777,
    			Uid:        1000,
    			Gid:        1000,
    			Uname:      "shane",
    			Gname:      "shane",
    			Size:       0,
    			ModTime:    time.Unix(1350266320, 910238425),
    			ChangeTime: time.Unix(1350266320, 910238425),
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg time, func NewTimer(Duration) *Timer
    pkg time, func Now() Time
    pkg time, func Parse(string, string) (Time, error)
    pkg time, func ParseDuration(string) (Duration, error)
    pkg time, func Since(Time) Duration
    pkg time, func Sleep(Duration)
    pkg time, func Tick(Duration) <-chan Time
    pkg time, func Unix(int64, int64) Time
    pkg time, method (*Location) String() string
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg text/template, method (Template) Copy() *parse.Tree
    pkg text/template/parse, method (*Tree) Copy() *Tree
    pkg time, method (*Time) UnmarshalBinary([]uint8) error
    pkg time, method (*Time) UnmarshalText([]uint8) error
    pkg time, method (Time) MarshalBinary() ([]uint8, error)
    pkg time, method (Time) MarshalText() ([]uint8, error)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (1)
  8. cmd/metacache-entries.go

    	}
    
    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    			if eTime.After(oTime) {
    				return e, false
    			}
    			return other, false
    		}
    		// Tiebreak on version count.
    		if len(eVers.versions) > len(oVers.versions) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. src/archive/zip/testdata/time-22738.zip

    Russ Cox <******@****.***> 1511973652 -0500
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Dec 01 00:22:21 UTC 2017
    - 140 bytes
    - Viewed (0)
  10. src/archive/zip/testdata/time-winrar.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
Back to top