- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 422 for matchers (0.04 sec)
-
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/config/README.md
By default, MinIO supports path-style requests that are of the format <http://mydomain.com/bucket/object>. `MINIO_DOMAIN` environment variable is used to enable virtual-host-style requests. If the request `Host` header matches with `(.+).mydomain.com` then the matched pattern `$1` is used as bucket and the path is used as object. Read more about path-style and virtual-host-style [here](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAPI.html). Example: ```sh
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.1K bytes - Viewed (1) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
import com.google.common.base.CharMatcher.NamedFastMatcher; import java.util.BitSet; /** * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with * linear probing to check for matches. * * @author Christopher Swenson */ @GwtIncompatible // no precomputation is done in GWT final class SmallCharMatcher extends NamedFastMatcher { static final int MAX_SIZE = 1023; private final char[] table;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 4.5K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return null; } final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value); final StringBuffer buf = new StringBuffer(value.length() + 100); while (matcher.find()) { matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* https://cs.android.com/android/platform/superproject/+/android-2.3.7_r1:libcore/luni/src/main/java/java/util/regex/Matcher.java;l=550;drc=5850271b4ab93ebc27c1d49169a348c6be3c7f04 */ private static MatchResult createMatchResult() { Matcher matcher = Pattern.compile(".").matcher("X"); matcher.find(); return matcher.toMatchResult(); } private static final ClassToInstanceMap<Object> DEFAULTS =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertTrue(tree.matches("share", "A:")); assertFalse(tree.matches("othershare", "A:")); } // Test case for the equals method @Test void testEquals() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)