- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Natchev (0.52 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/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 May 03 12:43:13 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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
checkNotNull(columnFunction, "columnFunction"); checkNotNull(valueFunction, "valueFunction"); checkNotNull(mergeFunction, "mergeFunction"); /* * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but * the Builder can't efficiently support merging of duplicate values. Getting around this * requires some work. */ return Collector.of(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
for (byte b : bytes) { crc = (crc >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[(crc ^ b) & 0xFF]; } return ~crc; } /** * Verifies that the crc of an array of byte data matches the expected value. * * @param expectedCrc the expected crc value. * @param data the data to run the checksum on. */ private static void assertCrc(int expectedCrc, byte[] data) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * CompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that * matches the insertion order. All optional operations (adding and removing) are supported. All * elements, including {@code null}, are permitted. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/base/JdkPattern.java
} private static final class JdkMatcher extends CommonMatcher { final Matcher matcher; JdkMatcher(Matcher matcher) { this.matcher = Preconditions.checkNotNull(matcher); } @Override public boolean matches() { return matcher.matches(); } @Override public boolean find() { return matcher.find(); } @Override public boolean find(int index) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 2.2K bytes - Viewed (0)