Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 453 for Time (2.4 sec)

  1. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

         *
         * @return the document count
         */
        long getDocumentSize();
    
        /**
         * Returns the total execution time for index update operations.
         *
         * @return the execution time in milliseconds
         */
        long getExecuteTime();
    
        /**
         * Commits all pending index update operations to ensure data persistence.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
            long time = System.currentTimeMillis();
            response.lastWriteTime = time;
            assertEquals(time, response.lastWriteTime);
        }
    
        @Test
        void testSetDataSize() {
            response.dataSize = 1024;
            assertEquals(1024, response.dataSize);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

             *
             * @return channel identifier
             */
            public String getChannelId() {
                return channelId;
            }
    
            /**
             * Get failure time
             *
             * @return time of first failure
             */
            public long getFailureTime() {
                return failureTime;
            }
    
            /**
             * Get retry count
             *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testTimeReadWrite() {
            byte[] buffer = new byte[8];
            long time = System.currentTimeMillis();
            ServerMessageBlock.writeTime(time, buffer, 0);
            long readTime = ServerMessageBlock.readTime(buffer, 0);
            // Precision may be lost, so check within a second
            assertTrue(Math.abs(time - readTime) < 1000);
        }
    
        @Test
        void testTimeReadWriteZero() {
    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/test/java/jcifs/util/EncdecTest.java

            });
        }
    
        @Test
        @DisplayName("Should handle time encoding/decoding")
        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            };
    
            for (long[] times : timeValues) {
                // Given
                FileBasicInfo info = new FileBasicInfo(times[0], // create time
                        times[1], // last access time
                        times[2], // last write time
                        times[3], // change time
                        TEST_ATTRIBUTES);
    
                // When & Then
                assertEquals(times[0], info.getCreateTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

         * @param config the SMB configuration
         * @param fid the file identifier
         * @param attributes the file attributes to set
         * @param createTime the file creation time
         * @param lastWriteTime the last write time
         * @param lastAccessTime the last access time
         */
        public Trans2SetFileInformation(final Configuration config, final int fid, final int attributes, final long createTime,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
                            }
                            return;
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top