Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 326 for Catcher (0.14 seconds)

  1. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            contains("teamcity.agent.jvm.os.arch", arch.nameOnMac)
        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    fun Requirements.requiresEc2Agent() {
        matches("teamcity.agent.name", "^(ec|EC)2-.*$")
    }
    
    fun Requirements.requiresNotEc2Agent() {
        doesNotContain("teamcity.agent.name", "ec2")
        // US region agents have name "EC2-XXX"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

       * @since 14.0
       */
      @GwtIncompatible // regular expressions
      public static @Nullable Float tryParse(String string) {
        if (Doubles.FLOATING_POINT_PATTERN.matcher(string).matches()) {
          // TODO(lowasser): could be potentially optimized, but only with
          // extensive testing
          try {
            return parseFloat(string);
          } catch (NumberFormatException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.internal.format
    import okio.Buffer
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import static org.hamcrest.Matchers.equalTo;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import static org.hamcrest.Matchers.equalTo;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        }
    
      fun assertFailureMatches(vararg patterns: String) =
        apply {
          val message = failure!!.message!!
          assertThat(
            patterns.firstOrNull { pattern ->
              message.matches(pattern.toRegex())
            },
          ).isNotNull()
        }
    
      fun assertSentRequestAtMillis(
        minimum: Long,
        maximum: Long,
      ) = apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

                    return false;
                }
            });
    
            final MockHttpServletRequest request = new MockHttpServletRequest();
            request.setServletPath("/api/v1/chat");
    
            assertFalse(chatApiManager.matches(request));
        }
    
        @Test
        public void test_matches_ragChatEnabled_validPath() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        /** Constructor for use by subclasses. */
        protected OldAbstractFuture() {}
    
        /*
         * Improve the documentation of when InterruptedException is thrown. Our
         * behavior matches the JDK's, but the JDK's documentation is misleading.
         */
        /**
         * {@inheritDoc}
         *
         * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    package okhttp3.tls
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.math.BigInteger
    import java.security.KeyFactory
    import java.security.spec.PKCS8EncodedKeySpec
    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
Back to Top