- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for Natchev (0.22 sec)
-
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
bitSet.clear(0); bitSet.clear(1); matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE; teststring = newTestString(new Random(1), bitSet, percentMatching); } @Benchmark public int countIn(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += matcher.countIn(teststring); } return result;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 16 22:49:59 GMT 2018 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* used in FilenameFilter.) */ @Override public boolean accept(File dir, String fileName) { return pattern.matcher(fileName).matches(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
super.setUp(); bus = new EventBus(BUS_IDENTIFIER); } public void testBasicCatcherDistribution() { StringCatcher catcher = new StringCatcher(); bus.register(catcher); bus.post(EVENT); List<String> events = catcher.getEvents(); assertEquals("Only one event should be delivered.", 1, events.size()); assertEquals("Correct string should be delivered.", EVENT, events.get(0)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
super.setUp(); bus = new EventBus(BUS_IDENTIFIER); } public void testBasicCatcherDistribution() { StringCatcher catcher = new StringCatcher(); bus.register(catcher); bus.post(EVENT); List<String> events = catcher.getEvents(); assertEquals("Only one event should be delivered.", 1, events.size()); assertEquals("Correct string should be delivered.", EVENT, events.get(0)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertTrue(toTest, toTest.matches(".*\\{field1\\=Hello\\}")); } public void testToStringLenient_oneIntegerField() { String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", Integer.valueOf(42)).toString(); assertTrue(toTest, toTest.matches(".*\\{field1\\=42\\}")); } public void testToStringLenient_nullInteger() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
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 @ElementTypesAreNonnullByDefault final class SmallCharMatcher extends NamedFastMatcher { static final int MAX_SIZE = 1023;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/base/CommonPattern.java
* javadoc for details. */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class CommonPattern { public abstract CommonMatcher matcher(CharSequence t); public abstract String pattern(); public abstract int flags(); // Re-declare this as abstract to force subclasses to override. @Override public abstract String toString();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Apr 09 00:52:54 GMT 2021 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CommonPattern.java
* javadoc for details. */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class CommonPattern { public abstract CommonMatcher matcher(CharSequence t); public abstract String pattern(); public abstract int flags(); // Re-declare this as abstract to force subclasses to override. @Override public abstract String toString();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 09 00:52:54 GMT 2021 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
* {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements * in the list under test matches what is expected. */ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = Helpers.copyToList(expectedCollection);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* of each element is the <i>maximum</i> of its counts in the two backing multisets. The iteration * order of the returned multiset matches that of the element set of {@code multiset1} followed by * the members of the element set of {@code multiset2} that are not contained in {@code * multiset1}, with repeated occurrences of the same element appearing consecutively.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 41.6K bytes - Viewed (0)