Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 326 for Catcher (0.07 seconds)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 25 13:16:02 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          override fun matches(header: DerHeader): Boolean = true
    
          override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> {
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
    
            val choice =
              choices.firstOrNull { it.matches(peekedHeader) }
                ?: throw ProtocolException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         * @return the servlet context
         */
        protected ServletContext getServletContext() {
            return LaServletContextUtil.getServletContext();
        }
    
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param errorHook the error hook to call if verification fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            this.maxIndexerErrorCount = maxIndexerErrorCount;
        }
    
        /**
         * Adds a document boost matcher rule for enhancing document relevance scores.
         *
         * @param rule the document boost matcher rule to add
         */
        public void addDocBoostMatcher(final DocBoostMatcher rule) {
            docBoostMatcherList.add(rule);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                return check(protocols, value);
            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.search;
    
    import static io.restassured.RestAssured.given;
    import static org.hamcrest.Matchers.greaterThanOrEqualTo;
    import static org.hamcrest.Matchers.notNullValue;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.ITBase;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/Dispatcher.java

       */
      static Dispatcher perThreadDispatchQueue() {
        return new PerThreadQueuedDispatcher();
      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertFailsWith<IllegalArgumentException> {
          table.map(0x110000, Buffer())
        }
      }
    
      @Test fun binarySearchEvenSizedRange() {
        val table = listOf(1, 3, 5, 7, 9, 11)
    
        // Search for matches.
        assertEquals(0, binarySearch(0, 6) { index -> 1.compareTo(table[index]) })
        assertEquals(1, binarySearch(0, 6) { index -> 3.compareTo(table[index]) })
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
Back to Top