Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,052 for timeIt (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    import org.codelibs.core.nio.ChannelUtil;
    import org.codelibs.core.timer.TimeoutManager;
    
    /**
     * Utility class for handling {@link File}.
     * <p>
     * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources,
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. .github/DISCUSSION_TEMPLATE/questions.yml

            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
            All that, on top of all the incredible help provided by a bunch of community members, the [FastAPI Experts](https://fastapi.tiangolo.com/fastapi-people/#experts), that give a lot of their time to come here and help others.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        if (cancel) {
          cancel = false
          eventSource.cancel()
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:32:52 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java

    /**
     * Exception which occurs to indicate that the plugin cannot be initialized due
     * to some deeper problem with Plexus. Context information includes the groupId,
     * artifactId, and version for the plugin; at times, the goal name for which
     * execution failed; a message detailing the problem; the ClassRealm used to
     * look up the plugin; and the Plexus exception that caused this error.
     *
     *
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          call.execute()
        }
        val elapsedNanos = System.nanoTime() - startNanos
        org.junit.jupiter.api.Assertions.assertTrue(
          elapsedNanos < TimeUnit.SECONDS.toNanos(5),
          "Timeout should have taken ~100ms but was " + elapsedNanos / 1e6 + " ms",
        )
      }
    
      @Test
      fun chainWithReadTimeout() {
        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        /**
         * Set the authentication time-to-live in milliseconds
         *
         * @param ttl time-to-live in milliseconds (0 or negative for no expiration)
         */
        public void setAuthenticationTTL(long ttl) {
            this.authenticationTTL = ttl;
        }
    
        /**
         * Get the authentication time-to-live in milliseconds
         *
         * @return time-to-live in milliseconds
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

    /**
     * Constants used in the fess-crawler.
     * This class provides a collection of constant values for HTTP methods, status codes,
     * transformer names, boolean values, character encodings, date/time formats, and XML features.
     * It is designed to avoid the instantiation.
     */
    public final class Constants {
        /**
         * The GET method.
         */
        public static final String GET_METHOD = "GET";
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. cmd/storage-rest-server.go

    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // validateStorageRequestToken will validate the token against the provided audience.
    func validateStorageRequestToken(token string) error {
    	claims := xjwt.NewStandardClaims()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

        /**
         * Gets the remaining bytes count.
         *
         * @return the remaining
         */
        public final int getRemaining() {
            return this.remaining;
        }
    
        /**
         * Sets the open timeout value.
         *
         * @param openTimeout
         *            the openTimeout to set
         */
        public final void setOpenTimeout(final int openTimeout) {
            this.openTimeout = openTimeout;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top