- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 519 for elemLen (0.04 sec)
-
cmd/bucket-stats.go
func (l *ReplicationLastHour) forwardTo(t int64) { if l.LastMin >= t { return } if t-l.LastMin >= 60 { l.Totals = [60]AccElem{} return } for l.LastMin != t { // Clear next element. idx := (l.LastMin + 1) % 60 l.Totals[idx] = AccElem{} l.LastMin++ } } // BucketStatsMap captures bucket statistics for all buckets type BucketStatsMap struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
assertThat(drained).isAtMost(1); assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L); // If even the first one wasn't there, clean up so that the next test doesn't see an element. producerThread.cancel(true); producer.doneProducing.await(); if (drained == 0) { q.poll(); // not necessarily there if producer was interrupted } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
C filtered = filter(unfiltered, EVEN); List<Integer> foundElements = new ArrayList<>(); filtered.forEach( (Integer i) -> { assertTrue("Unexpected element: " + i, EVEN.apply(i)); foundElements.add(i); }); assertEquals(ImmutableList.copyOf(filtered), foundElements); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/os_unix.go
i := len(dirPath) for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator. i-- } j := i for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element. j-- } if j > 1 { // Create parent. if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil { return err } } // Parent now exists; invoke Mkdir and use its result.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/data-usage-cache.go
} //msgp:ignore dataUsageEntryInfo type dataUsageEntryInfo struct { Name string Parent string Entry dataUsageEntry } type dataUsageCacheInfo struct { // Name of the bucket. Also root element. Name string NextCycle uint32 LastUpdate time.Time // indicates if the disk is being healed and scanner // should skip healing the disk SkipHealing boolRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
import java.util.Arrays; import java.util.concurrent.atomic.AtomicLongArray; import org.jspecify.annotations.Nullable; /** * Collections of strategies of generating the k * log(M) bits required for an element to be mapped * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form * of the Bloom filters that use them, thus they must be preserved as is (no updates allowed, only
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
public Collection<V> removeAll(@Nullable Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
sink: BufferedSink, certificates: List<Certificate>, ) { try { sink.writeDecimalLong(certificates.size.toLong()).writeByte('\n'.code) for (element in certificates) { val bytes = element.encoded val line = bytes.toByteString().base64() sink.writeUtf8(line).writeByte('\n'.code) } } catch (e: CertificateEncodingException) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
public final class MoreObjects { /** * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise * throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable, * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...), * Predicates.notNull())}, static importing as necessary. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
* insertion order. */ private void populateTShapedGraph() { putEdge(2, 1); putEdge(1, 4); putEdge(1, 3); putEdge(1, 2); // Duplicate putEdge(4, 5); } // Element Mutation @Test public void putEdge_existingNodes() { assume().that(graphIsMutable()).isTrue(); // Adding nodes initially for safety (insulating from possible future
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0)