- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for matching (0.2 sec)
-
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
final String allMatchingChars = allMatchingChars(bitSet); final char[] result = new char[STRING_LENGTH]; // Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) {
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/base/CharMatcher.java
* sequence is empty */ public boolean matchesNoneOf(CharSequence sequence) { return indexIn(sequence) == -1; } /** * Returns the index of the first matching BMP character in a character sequence, or {@code -1} if * no matching character is present. * * <p>The default implementation iterates over the sequence in forward order calling {@link * #matches} for each character. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
* * @author Paul Lindner */ public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
* * @author Paul Lindner */ public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X');
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
* sequence is empty */ public boolean matchesNoneOf(CharSequence sequence) { return indexIn(sequence) == -1; } /** * Returns the index of the first matching BMP character in a character sequence, or {@code -1} if * no matching character is present. * * <p>The default implementation iterates over the sequence in forward order calling {@link * #matches} for each character. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
import java.io.File; import java.io.FilenameFilter; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * File name filter that only accepts files matching a regular expression. This class is thread-safe * and immutable. * * @author Apple Chow * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
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) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
final String allMatchingChars = allMatchingChars(bitSet); final char[] result = new char[STRING_LENGTH]; // Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 16 22:49:59 GMT 2018 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
if (parameters.length != 1) { return false; } if (!parameters[0].equals(Object.class)) { return false; } return true; } /** Strategy for exception type matching used by {@link NullPointerTester}. */ private enum ExceptionTypePolicy { /** * Exceptions should be {@link NullPointerException} or {@link UnsupportedOperationException}. */ NPE_OR_UOE() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
public static final MediaType ANY_VIDEO_TYPE = createConstant(VIDEO_TYPE, WILDCARD); public static final MediaType ANY_APPLICATION_TYPE = createConstant(APPLICATION_TYPE, WILDCARD); /** * Wildcard matching any "font" top-level media type. * * @since 30.0 */ public static final MediaType ANY_FONT_TYPE = createConstant(FONT_TYPE, WILDCARD); /* text types */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Aug 07 16:17:10 GMT 2023 - 46.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated * by a G, selecting appropriate tests by matching them against specified features. * * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this * class (such as {@link #named}) return this type, so that Builder methods of more derived
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0)