Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,016 for Utime (0.04 seconds)

  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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. 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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  6. 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)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  7. api/go1.13.txt

    pkg database/sql, type NullInt32 struct
    pkg database/sql, type NullInt32 struct, Int32 int32
    pkg database/sql, type NullInt32 struct, Valid bool
    pkg database/sql, type NullTime struct
    pkg database/sql, type NullTime struct, Time time.Time
    pkg database/sql, type NullTime struct, Valid bool
    pkg debug/dwarf, method (*UnsupportedType) Common() *CommonType
    pkg debug/dwarf, method (*UnsupportedType) Size() int64
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  8. 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),
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const VSTOP ideal-int
    pkg syscall (freebsd-arm64), const VSUSP = 10
    pkg syscall (freebsd-arm64), const VSUSP ideal-int
    pkg syscall (freebsd-arm64), const VTIME = 17
    pkg syscall (freebsd-arm64), const VTIME ideal-int
    pkg syscall (freebsd-arm64), const VWERASE = 4
    pkg syscall (freebsd-arm64), const VWERASE ideal-int
    pkg syscall (freebsd-arm64), const WCONTINUED = 4
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Click Count (0)
  10. api/go1.20.txt

    pkg testing, method (*B) Elapsed() time.Duration #43620
    pkg time, const DateOnly = "2006-01-02" #52746
    pkg time, const DateOnly ideal-string #52746
    pkg time, const DateTime = "2006-01-02 15:04:05" #52746
    pkg time, const DateTime ideal-string #52746
    pkg time, const TimeOnly = "15:04:05" #52746
    pkg time, const TimeOnly ideal-string #52746
    pkg time, method (Time) Compare(Time) int #50770
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
Back to Top