- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 123 for peke (1.94 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
import org.jspecify.annotations.NullUnmarked; /** * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}. * * @author Pete Gillin */ @NullUnmarked class StatsTesting { // TODO(cpovirk): Convince myself that this larger error makes sense. static final double ALLOWED_ERROR = isAndroid() ? .25 : 1e-10; // Inputs and their statistics:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
/** * A mutable object which accumulates double values and tracks some basic statistics over all the * values added so far. The values may be added singly or in groups. This class is not thread safe. * * @author Pete Gillin * @author Kevin Bourrillion * @since 20.0 */ @J2ktIncompatible @GwtIncompatible public final class StatsAccumulator { /** Creates a new accumulator. */ public StatsAccumulator() {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
if (source.isEmpty()) { throw PermittedMetaException.NSEE; } destination.push(source.pop()); stackWithLastReturnedElementAtTop = destination; return destination.peek(); } private void throwIfInvalid(IteratorFeature methodFeature) { if (!features.contains(methodFeature)) { if (stackWithLastReturnedElementAtTop == null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
cmd/metacache-stream_test.go
} } } func Test_metacacheReader_peek(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() for i, want := range loadMetacacheSampleNames { got, err := r.peek() if err == io.EOF { break } if err != nil { t.Fatal(err) } if got.name != want { t.Errorf("entry %d, want %q, got %q", i, want, got.name) } gotObj, err := r.next()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
* StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}. * * @author Pete Gillin */ @NullUnmarked public class StatsAccumulatorTest extends TestCase { private StatsAccumulator emptyAccumulator; private StatsAccumulator emptyAccumulatorByAddAllEmptyIterable;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
while (peekingItr.hasNext()) { Range<C> range = peekingItr.next(); while (peekingItr.hasNext()) { Range<C> nextRange = peekingItr.peek(); if (range.isConnected(nextRange)) { checkArgument( range.intersection(nextRange).isEmpty(), "Overlapping ranges not permitted but found %s overlapping %s",
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
public boolean offer(E e) { synchronized (mutex) { return delegate().offer(e); } } @Override public @Nullable E peek() { synchronized (mutex) { return delegate().peek(); } } @Override public @Nullable E poll() { synchronized (mutex) { return delegate().poll(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
public boolean offer(E e) { synchronized (mutex) { return delegate().offer(e); } } @Override public @Nullable E peek() { synchronized (mutex) { return delegate().peek(); } } @Override public @Nullable E poll() { synchronized (mutex) { return delegate().poll(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
context.pushedUserProperties = new HashSet<>(); protoSession.getUserProperties().entrySet().stream() .filter(k -> !sys.contains(k.getKey())) .peek(k -> context.pushedUserProperties.add(k.getKey())) .forEach(k -> System.setProperty(k.getKey(), k.getValue())); } else { protoSession.getUserProperties().entrySet().stream()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)