Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 775 for kime (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Set maximum values
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 4); // fileIndex
            // For time values, use a reasonable max time that won't overflow
            long maxTime = System.currentTimeMillis() + 1000000000000L;
            SMBUtil.writeTime(maxTime, buffer, 8); // creationTime
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Test time conversion methods with timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
            // All time methods should return the same converted time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

     *
     * @author higa
     */
    public class TimestampConverter implements Converter {
    
        /**
         * The pattern for the date and time.
         */
        protected String pattern;
    
        /**
         * Constructs an instance.
         *
         * @param pattern
         *            the pattern for date and time
         */
        public TimestampConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeHandleTest.java

         * Verifies that the method returns the correct time zone offset.
         * @throws CIFSException
         */
        @Test
        void testGetServerTimeZoneOffset() throws CIFSException {
            when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(0L);
            assertEquals(0L, smbTreeHandle.getServerTimeZoneOffset(), "Server time zone offset should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Reserved (4 bytes)
                SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
                // Creation Time (8 bytes)
                long creationTime = System.currentTimeMillis() * 10000L + 116444736000000000L;
                SMBUtil.writeInt8(creationTime, buffer, bufferIndex + 8);
                // Last Access Time (8 bytes)
                long lastAccessTime = creationTime + 1000000L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            assertArgumentNotEmpty("pattern", pattern);
    
            return converter(new SqlDateConverter(pattern), propertyNames);
        }
    
        /**
         * Sets a converter for time.
         *
         * @param pattern
         *            The time pattern. Must not be {@literal null} or an empty string.
         * @param propertyNames
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

         *
         * @param initialDelay the time to delay first execution
         * @param delay the delay between the termination of one execution and the commencement of the
         *     next
         * @param unit the time unit of the initialDelay and delay parameters
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8;
        /**
         * Notify when last write time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_WRITE = 0x10;
        /**
         * Notify when last access time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS = 0x20;
        /**
         * Notify when creation time changes
         */
        public static final int FILE_NOTIFY_CHANGE_CREATION = 0x40;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbFileHandle.java

         *
         * @return whether the file descriptor is valid
         */
        boolean isValid();
    
        /**
         * Closes this file handle and optionally sets the last write time
         *
         * @param lastWriteTime the last write time to set, or 0 to leave unchanged
         * @throws CIFSException if an error occurs while closing the file
         */
        void close(long lastWriteTime) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
            // Should be expired with very short timeout (shorter than sleep time)
            assertTrue(registration.isExpired(10));
        }
    
        @Test
        void testStateTransitions() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top