Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,983 for Long (0.01 sec)

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

                configMockedStatic.close();
        }
    
        @Test
        void testCacheEntry() {
            // Test with a specific TTL
            long ttl = 600; // 10 minutes
            Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(ttl);
            long expectedExpiration = System.currentTimeMillis() + ttl * 1000L;
            assertTrue(cacheEntry.expiration >= expectedExpiration - 100 && cacheEntry.expiration <= expectedExpiration + 100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                          public InputStream openStream() {
                            return new ByteArrayInputStream(newPreFilledByteArray(0, 50)) {
                              @Override
                              public long skip(long n) {
                                return 0;
                              }
                            };
                          }
                        })
                    .iterator());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedContent> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedContent()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Verify that exception is serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_longMessage() {
            // Setup - test with a very long message
            final StringBuilder longMessageBuilder = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessageBuilder.append("Query segment ").append(i).append("; ");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            int securityMode;
            int security;
            boolean encryptedPasswords;
            boolean signaturesEnabled;
            boolean signaturesRequired;
            int maxNumberVcs;
            int maxRawSize;
            long serverTime;
            int serverTimeZone;
            int encryptionKeyLength;
            byte[] encryptionKey;
            byte[] guid;
        }
    
        InetAddress localAddr;
        int localPort;
        UniAddress address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        /** Session ID for secure key management */
        private String sessionId = null;
        /** Time-to-live for cached authentication in milliseconds */
        private long authenticationTTL = 3600000L; // 1 hour default
        /** Timestamp when the authentication was created */
        private long authenticationTimestamp = System.currentTimeMillis();
        /** Flag to track if this authenticator has been closed */
        private volatile boolean closed = false;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

    public class DfsImpl implements DfsResolver {
    
        private static final DfsReferralDataImpl NEGATIVE_ENTRY = new DfsReferralDataImpl();
    
        private static class CacheEntry<T> {
    
            long expiration;
            Map<String, T> map;
    
            CacheEntry(final long ttl) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(-846261623, murmur3_32().hashLong(-42L));
        assertHash(1871679806, murmur3_32().hashLong(42L));
        assertHash(1366273829, murmur3_32().hashLong(Long.MIN_VALUE));
        assertHash(-2106506049, murmur3_32().hashLong(Long.MAX_VALUE));
      }
    
      public void testKnownStringInputs() {
        assertHash(0, murmur3_32().hashUnencodedChars(""));
        assertHash(679745764, murmur3_32().hashUnencodedChars("k"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * and whether the crawling process should be aborted.
     */
    public class DataStoreCrawlingException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The URL where the crawling error occurred.
         */
        private final String url;
    
        /**
         * Flag indicating whether the crawling process should be aborted.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top