Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 967 for timer (0.54 sec)

  1. src/main/java/jcifs/smb1/smb1/FileEntry.java

         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the file size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.atLeast;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }
      }
    
      @Test fun `parse utc time`() {
        assertThat(Adapters.parseUtcTime("920521000000Z"))
          .isEqualTo(date("1992-05-21T00:00:00.000+0000").time)
        assertThat(Adapters.parseUtcTime("920622123421Z"))
          .isEqualTo(date("1992-06-22T12:34:21.000+0000").time)
        assertThat(Adapters.parseUtcTime("920722132100Z"))
          .isEqualTo(date("1992-07-22T13:21:00.000+0000").time)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Ticker.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A time source; returns a time value representing the number of nanoseconds elapsed since some
     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
     * @author Kevin Bourrillion
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // Both resources should be closed
            verify(filter, times(2)).accept(resource);
            verify(resource, times(2)).close();
        }
    
        @Test
        @DisplayName("Iterator with filter throwing exception")
        void iteratorWithFilterException() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            // Verify that the central time zone is returned
            assertNotNull(result);
            assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, result);
            assertEquals(TimeZone.getDefault(), result);
        }
    
        // Test getRequestedTimeZone() with different default time zone
        public void test_getRequestedTimeZone_withDifferentDefaultTimeZone() {
            // Store original time zone
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            });
    
            try {
                future.get(timeoutSeconds, TimeUnit.SECONDS);
            } catch (TimeoutException e) {
                // Force lease release if break handling times out
                LeaseEntry entry = leases.get(key);
                if (entry != null) {
                    log.warn("Lease break timeout for key: {} on path: {}, falling back to no caching", key, entry.getPath());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertTrue(out.length > 0);
    
            // Verify interactions: flags and an empty optimistic token are used
            verify(this.mechContext, times(1)).getFlags();
            ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class);
            verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0));
            assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.log.exbhv;
    
    import java.time.Instant;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.time.format.DateTimeParseException;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FakeTicker.java

      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top