Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 292 for asSeconds (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

            localhostIpv6,
          )
    
        client =
          clientTestRule
            .newClientBuilder()
            .eventListenerFactory(clientTestRule.wrap(listener))
            .connectTimeout(60, TimeUnit.SECONDS) // Deliberately exacerbate slow fallbacks.
            .dns { dnsResults }
            .fastFallback(true)
            .build()
        url =
          serverIpv4
            .url("/")
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            this.scope = scope;
            this.createTime = System.currentTimeMillis();
            this.lastUpdateTime = createTime;
            this.lastAccessTime = createTime;
            this.maxAge = 30000; // 30 seconds default
    
            this.children = new ConcurrentHashMap<>();
            this.lock = new ReentrantReadWriteLock();
            this.isComplete = false;
            this.hasChanges = false;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        }
    
        /**
         * Returns an array of available data store names discovered from plugin JAR files.
         * This method implements a time-based caching mechanism that refreshes the list
         * every 60 seconds to balance performance with up-to-date plugin discovery.
         *
         * @return array of data store names sorted alphabetically, never null
         */
        public String[] getDataStoreNames() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/sts/web-identity.go

    					return nil, errors.New("invalid token")
    				}
    
    				return &credentials.WebIdentityToken{
    					Token:  oauth2Token.Extra("id_token").(string),
    					Expiry: int(oauth2Token.Expiry.Sub(time.Now().UTC()).Seconds()),
    				}, nil
    			}
    		}
    
    		sts, err := credentials.NewSTSWebIdentity(stsEndpoint, getWebTokenExpiry)
    		if err != nil {
    			log.Println(fmt.Errorf("Could not get STS credentials: %s", err))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  6. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

     */
    
    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        /**
         * Gets the registration flags.
         *
         * @return the registration flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the timeout value in seconds.
         *
         * @param timeout the timeout value
         */
        public void setTimeout(int timeout) {
            this.timeout = timeout;
        }
    
        /**
         * Gets the timeout value.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        /** Cache for storing group information to reduce API calls. */
        protected Cache<String, Pair<String[], String[]>> groupCache;
    
        /** Group cache expiry time in seconds. */
        protected long groupCacheExpiry = 10 * 60L;
    
        /** Use V2 endpoint. */
        protected boolean useV2Endpoint = true;
    
        /**
         * Initializes the Azure AD authenticator.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

                        } finally {
                            latch.countDown();
                        }
                    }).start();
                }
    
                latch.await(5, java.util.concurrent.TimeUnit.SECONDS);
                assertEquals(5, successCount.get(), "All concurrent calls should succeed");
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *
     *     Runtime.getRuntime().addShutdownHook(new Thread() {
     *       public void run() {
     *         // Give the services 5 seconds to stop to ensure that we are responsive to shutdown
     *         // requests.
     *         try {
     *           manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS);
     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top