Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 328 for Matcher (0.38 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                    && queue.removeLastOccurrence(submittedTask);
            // If the delegate is directExecutor(), the submitted runnable could have thrown a REE. But
            // that's handled by the log check that catches RuntimeExceptions in the queue worker.
            if (!(t instanceof RejectedExecutionException) || removed) {
              throw t;
            }
          }
          return;
        }
    
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/InputStreamThread.java

            for (final String value : list) {
                buf.append(value).append("\n");
            }
            return buf.toString();
        }
    
        /**
         * Checks if the buffer contains a line that matches the specified value (after trimming).
         *
         * @param value the value to search for in the buffered lines
         * @return true if a matching line is found, false otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/PluginTests.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 static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/RequestParamTest.java

        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
        @DisplayName("valueOf(name) returns the correct enum and toString matches name")
        void valueOfResolvesNamesAndToString(String name) {
            RequestParam rp = RequestParam.valueOf(name);
            assertNotNull(rp);
            assertEquals(name, rp.name(), "name() must match input");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

                            sniMatchers =
                              listOf(
                                object : SNIMatcher(StandardConstants.SNI_HOST_NAME) {
                                  override fun matches(serverName: SNIServerName): Boolean {
                                    acceptedHostName = (serverName as SNIHostName).asciiName
                                    return true
                                  }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. android/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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
        void serialVersionUID_hasExpectedValue() throws Exception {
            // Arrange
            Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID");
            f.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top