Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for sergey (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
        assertTrue("heap does not contain sergey", mmHeap.contains("sergey"));
        assertTrue("Could not remove larry", mmHeap.removeAll(Lists.newArrayList("sergey", "eric")));
        assertFalse("Could remove nikesh which is not in the heap", mmHeap.remove("nikesh"));
        assertEquals(4, mmHeap.size());
      }
    
      public void testCreateWithOrdering() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            webSocketListener = listener
          }
    
        /**
         * Configures this response to be served as a response to an HTTP CONNECT request, either for
         * doing HTTPS through an HTTP proxy, or HTTP/2 prior knowledge through an HTTP proxy.
         *
         * When a new connection is received, all in-tunnel responses are served before the connection is
         * upgraded to HTTPS or HTTP/2.
         */
        public fun inTunnel(): Builder =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      /**
       * Invoked when a result is served from the cache. The Response provided is the top level
       * Response and normal event sequences will not be received.
       *
       * This event will only be received when a Cache is configured for the client.
       */
      open fun cacheHit(
        call: Call,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when a response will be served from the network. The Response will be
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            ).build()
        server.useHttps(serverHandshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
        // Make a request from client to server. It should succeed certificate checks (unfortunately the
        // rogue CA is trusted) but it should fail certificate pinning.
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  5. docs/recipes.md

                .build()
    
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              println("Server: ${response.header("Server")}")
              println("Date: ${response.header("Date")}")
              println("Vary: ${response.headers("Vary")}")
            }
          }
        ```
    
    === ":material-language-java: Java"
        ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
      @get:JvmName("noCache") val noCache: Boolean,
      /** If true, this response should not be cached. */
      @get:JvmName("noStore") val noStore: Boolean,
      /** The duration past the response's served date that it can be served without validation. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    import okio.Sink
    import okio.Timeout
    import okio.buffer
    
    /**
     * A scriptable web server. Callers supply canned responses and the server replays them upon request
     * in sequence.
     */
    public class MockWebServer : Closeable {
      private val taskRunnerBackend =
        TaskRunner.RealBackend(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. CHANGELOG.md

        Put this annotation on a `MockWebServer` property and the extension will start it before your
        test executes and stop it after it completes. No further configuration is required.
    
        ```kotlin
        @StartStop val server = MockWebServer()
        ```
    
     *  Breaking: Don't automatically start `MockWebServer` after calls to accessors like `port`. Now
        these accessors will throw an `IllegalStateException` if the service has not yet been started.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         */
        public void setAcceptedRoles(final String[] acceptedRoles) {
            this.acceptedRoles = acceptedRoles;
        }
    
        /**
         * Gets the server path with access token for API requests.
         *
         * @return the complete server path including the access token
         * @throws FessSystemException if no access token is available
         */
        public String getServerPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    ) {
      class Factory(
        private val nowMillis: Long,
        internal val request: Request,
        private val cacheResponse: Response?,
      ) {
        /** The server's time when the cached response was served, if known. */
        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top