- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 860 for matchAt (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
* @throws IllegalArgumentException if this is not a well-formed media type. */ @JvmStatic @JvmName("get") fun String.toMediaType(): MediaType { val typeSubtype = TYPE_SUBTYPE.matchAt(this, 0) ?: throw IllegalArgumentException("No subtype found for: \"$this\"") val type = typeSubtype.groupValues[1].lowercase() val subtype = typeSubtype.groupValues[2].lowercase()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/base/CharMatcher.java
private static final class IsEither extends FastMatcher { private final char match1; private final char match2; IsEither(char match1, char match2) { this.match1 = match1; this.match2 = match2; } @Override public boolean matches(char c) { return c == match1 || c == match2; } @GwtIncompatible // used only from other GwtIncompatible codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 54.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CharMatcher.java
private static final class IsEither extends FastMatcher { private final char match1; private final char match2; IsEither(char match1, char match2) { this.match1 = match1; this.match2 = match2; } @Override public boolean matches(char c) { return c == match1 || c == match2; } @GwtIncompatible // used only from other GwtIncompatible codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.9K bytes - Click Count (0) -
cmd/object-handlers-common_test.go
expectedCode int }{ // If-None-Match(false) and If-Modified-Since(true) { name: "If-None-Match1", ifNoneMatch: "aa", ifModifiedSince: "Sun, 26 Aug 2024 02:01:00 GMT", objInfo: objInfo, expectedFlag: true, expectedCode: 304, }, // If-Modified-Since(false) { name: "If-None-Match2", ifNoneMatch: "aaa",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
assertTrue(pattern.matcher("text/xml-external-parsed-entity").matches()); } @Test public void test_webHtmlRulePattern() { Pattern pattern = Pattern.compile(WEB_HTML_RULE_PATTERN); assertTrue(pattern.matcher("text/html").matches()); assertFalse(pattern.matcher("application/xml").matches()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
} /** * Matches the given path. * * @param path The path to match. * @return True if the path matches, otherwise false. */ public boolean match(final String path) { if (includedPaths == null) { if (excludedPaths != null && excludedPaths.matcher(path).matches()) { if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
assertFalse(matcher.matches(s.charAt(0))); assertFalse(matcher.apply(s.charAt(0))); assertEquals(-1, matcher.indexIn(s)); assertEquals(-1, matcher.indexIn(s, 0)); assertEquals(-1, matcher.indexIn(s, 1)); assertEquals(-1, matcher.lastIndexIn(s)); assertFalse(matcher.matchesAnyOf(s)); assertFalse(matcher.matchesAllOf(s)); assertTrue(matcher.matchesNoneOf(s));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
checkArgument( !separatorPattern.matcher("").matches(), "The pattern may not match the empty string: %s", separatorPattern); return new Splitter( (splitter, toSplit) -> { CommonMatcher matcher = separatorPattern.matcher(toSplit); return new SplittingIterator(splitter, toSplit) { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) { final Matcher matcher = entry.getKey().matcher(urlKey); if (matcher.matches()) { return entry.getValue(); } } return null; } /** * Sets the initialization parameter map for all clients. * @param params The map of parameters. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
checkArgument( !separatorPattern.matcher("").matches(), "The pattern may not match the empty string: %s", separatorPattern); return new Splitter( (splitter, toSplit) -> { CommonMatcher matcher = separatorPattern.matcher(toSplit); return new SplittingIterator(splitter, toSplit) { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0)