- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for Butcher (0.22 sec)
-
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
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; } @Benchmark public int collapseFrom(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring;
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-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
.putByte((byte) 0x00); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher .putChar((char) 0x0101) .putChar((char) 0x0100) .putChar((char) 0x0000) .putChar((char) 0x0000); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 15:56:47 GMT 2017 - 6.2K 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/src/com/google/common/io/PatternFilenameFilter.java
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/src/com/google/common/hash/Hasher.java
/** Equivalent to {@code putByte(b ? (byte) 1 : (byte) 0)}. */ @CanIgnoreReturnValue @Override Hasher putBoolean(boolean b); @CanIgnoreReturnValue @Override Hasher putChar(char c); /** * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In * other words, no character encoding is performed; the low byte and high byte of each {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 5.5K 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) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
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; } @Benchmark public int collapseFrom(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 16 22:49:59 GMT 2018 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
public final CharMatcher matcher; public final String matchingChars; SampleMatcherConfig(String matchingChars) { this(CharMatcher.anyOf(matchingChars), matchingChars); } SampleMatcherConfig(CharMatcher matcher, String matchingChars) { this.matcher = matcher; this.matchingChars = matchingChars; } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
bus = new AsyncEventBus(executor); } public void testBasicDistribution() { StringCatcher catcher = new StringCatcher(); bus.register(catcher); // We post the event, but our Executor will not deliver it until instructed. bus.post(EVENT); List<String> events = catcher.getEvents(); assertTrue("No events should be delivered synchronously.", events.isEmpty());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 15 20:25:06 GMT 2018 - 2.3K bytes - Viewed (0)