- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 113 for Post (0.16 sec)
-
guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java
void setUp() { eventBus = new EventBus("for benchmarking purposes"); eventBus.register(this); } @Benchmark void postStrings(int reps) { for (int i = 0; i < reps; i++) { eventBus.post("hello there"); } } @Subscribe public void handleStrings(String string) { // Nothing to do here. }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test * anything interesting under most environments. Still, we can run it (except for Android, at * least old versions), so we mostly do. This is useful because we don't actually run our CI on * Windows under Java 8, at least as of this writing. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
import java.math.BigInteger; import java.util.Random; /** * Utilities for benchmarks. * * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary * the input itself, so most methods which generate values use an exponential distribution varying * the order of magnitude of the generated values uniformly at random. * * @author Louis Wasserman */ final class MathBenchmarking {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSet.java
@GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E> implements Set<E> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingSet() {} @Override protected abstract Set<E> delegate(); @Override public boolean equals(@CheckForNull Object object) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* this feature. */ KNOWN_ORDER, /** * Indicates that a collection has a different {@link Object#toString} representation than most * collections. If not specified, the collection tests will examine the value returned by {@link * Object#toString}. */ NON_STANDARD_TOSTRING, /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicate.java
* arguments */ boolean apply(@ParametricNullness T input); /** * Indicates whether another object is equal to this predicate. * * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}. * However, an implementation may also choose to return {@code true} whenever {@code object} is a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingObject implements Map.Entry<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingMapEntry() {} @Override protected abstract Entry<K, V> delegate(); @Override @ParametricNullness public K getKey() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
.withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite()); /* * TODO(cpovirk): the Map tests duplicate most of this effort by using a * CollectionTestSuiteBuilder on values(). It would be nice to avoid that */ derived.add( SetTestSuiteBuilder.using(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
this.buffer = ByteBuffer.allocate(bufferSize + 7).order(ByteOrder.LITTLE_ENDIAN); this.bufferSize = bufferSize; this.chunkSize = chunkSize; } /** Processes the available bytes of the buffer (at most {@code chunk} bytes). */ protected abstract void process(ByteBuffer bb); /** * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingCollection.java
@GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingCollection<E extends @Nullable Object> extends ForwardingObject implements Collection<E> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingCollection() {} @Override protected abstract Collection<E> delegate(); @Override public Iterator<E> iterator() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 8.2K bytes - Viewed (0)