Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 528 for Matcher (0.42 sec)

  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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

         */
        public void add(final FtpAuthentication auth) {
            if (auth != null) {
                authenticationList.add(auth);
            }
        }
    
        /**
         * Retrieves an FtpAuthentication object that matches the given path.
         * @param path The path to match.
         * @return The matching FtpAuthentication object, or null if no match is found.
         */
        public FtpAuthentication get(final String path) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
            val index = client.enabled.indexOfFirst { it.matches(suiteId) }
            if (index != -1) {
              print(index + 1)
            }
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * @return The mirror specification for the repository or {@code null} if no mirror matched.
         */
        Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
    
        /**
         * Injects the mirroring information into the specified repositories. For each repository that is matched by a
         * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         *
         * @return The current Maven version or an empty string if unknown, never {@code null}.
         */
        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
         * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. 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(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

     * <p>This class manages a collection of {@link SmbAuthentication} objects, each associated
     * with a specific path prefix. When a path is provided, it iterates through the stored
     * authentications to find the one whose path prefix matches the beginning of the given path.
     * This allows for different SMB shares to use different authentication credentials.</p>
     *
     */
    public class SmbAuthenticationHolder {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

            private String provides;
    
            private ExactMatcher(String provides) {
                this.provides = provides;
            }
    
            @Override
            public boolean matches(String requirement) {
                return provides.equalsIgnoreCase(requirement);
            }
    
            @Override
            public String toString() {
                return provides;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            ArtifactVersion matched = null;
            for (ArtifactVersion version : versions) {
                if (containsVersion(version)) {
                    // valid - check if it is greater than the currently matched version
                    if (matched == null || version.compareTo(matched) > 0) {
                        matched = version;
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top