Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 550 for Matcher (0.07 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertTrue(fileInfo.matches(1024L, 1000L, 0x20));
    
            // Should not match with different size
            assertFalse(fileInfo.matches(2048L, 1000L, 0x20));
    
            // Should not match with different last modified
            assertFalse(fileInfo.matches(1024L, 2000L, 0x20));
    
            // Should not match with different attributes
            assertFalse(fileInfo.matches(1024L, 1000L, 0x10));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. 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)
  3. 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) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import org.eclipse.jetty.client.HttpClient
    import org.junit.jupiter.api.AfterEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.1K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  6. 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)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/VersionPropertiesLoader.java

            if (elasticsearch == null) {
                throw new IllegalStateException("Elasticsearch version is missing from properties.");
            }
            if (elasticsearch.matches("[0-9]+\\.[0-9]+\\.[0-9]+") == false) {
                throw new IllegalStateException(
                        "Expected elasticsearch version to be numbers only of the form  X.Y.Z but it was: " +
                                elasticsearch
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  8. 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)
  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;
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/changelog-schema.json

                "Features/Ingest",
                "Features/Java High Level REST Client",
                "Features/Java Low Level REST Client",
                "Features/Monitoring",
                "Features/Stats",
                "Features/Watcher",
                "Geo",
                "Graph",
                "Highlighting",
                "IdentityProvider",
                "Infra/CLI",
                "Infra/Circuit Breakers",
                "Infra/Core",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5K bytes
    - Click Count (0)
Back to Top