Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 395 for matches2 (0.04 sec)

  1. 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]) })
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the versions (in ascending order) that matched the requested range.
         *
         * @return The list of matching versions, never {@code null}. An empty list indicates
         *         no versions matched the requested range.
         */
        @Nonnull
        List<Version> getVersions();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcher.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    /**
     *
     */
    @Deprecated(since = "4.0.0")
    public interface RequirementMatcher {
    
        boolean matches(String requirement);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 967 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
                final String key = matcher.group(2);
                String replacement = System.getProperty(key);
                if (replacement == null) {
                    replacement = matcher.group(1);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
             * @return true if attributes match
             */
            public boolean matches(long otherSize, long otherLastModified, long otherAttributes) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * > GeneralizedTime.
       */
      internal val time: DerAdapter<Long> =
        object : DerAdapter<Long> {
          override fun matches(header: DerHeader): Boolean = Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header)
    
          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            // Arrange: program send() to simulate first, next, next(NO_MORE_FILES)
            List<String[]> batches = new ArrayList<>();
            batches.add(new String[] { ".", "..", "a", "b" }); // first batch, dot entries filtered
            batches.add(new String[] { "c" }); // second batch
            batches.add(new String[] {}); // last -> NO_MORE_FILES
    
            // send() answer that mutates the provided response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        testFuture3.setFuture(testFuture2);
        assertThat(testFuture3.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING,"
                    + " info=\\[cause=\\[Someday...]]]]]");
        testFuture2.set("result string");
        assertThat(testFuture3.toString())
            .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

                }
    
                RequirementMatcher matcher;
                if ("version".equals(key)) {
                    matcher = RequirementMatcherFactory.createVersionMatcher(value);
                } else {
                    matcher = RequirementMatcherFactory.createExactMatcher(value);
                }
    
                jtc.addProvideToken(key, matcher);
            }
    
            // populate the configuration section
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top