- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 534 for calcs (0.02 sec)
-
guava/src/com/google/common/util/concurrent/RateLimiter.java
* {@link #acquire()} blocks if necessary until a permit is available, and then takes it. Once * acquired, permits need not be released. * * <p>{@code RateLimiter} is safe for concurrent use: It will restrict the total rate of calls from * all threads. Note, however, that it does not guarantee fairness. * * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* * @since 2.0 */ interface Entry<E extends @Nullable Object> { /** * Returns the multiset element corresponding to this entry. Multiple calls to this method * always return the same instance. * * @return the element corresponding to this entry */ @ParametricNullness E getElement(); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
// tryParse executes parse func in panicOnError=true context. // parse is expected to call any parsing methods that may panic. // Returns error gathered from recover; nil if no parse errors occurred. // // For unexpected panics, calls t.Fatal. func tryParse(t *testing.T, parse func()) (err error) { panicOnError = true defer func() { panicOnError = false e := recover() var ok bool if err, ok = e.(error); e != nil && !ok {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
freshness.incrementAndGet(); return proxy; } /** * Generates an instance for {@code type} using the current {@link #freshness}. The generated * instance may or may not be unique across different calls. */ private @Nullable Object generate(TypeToken<?> type) { Class<?> rawType = type.getRawType(); List<Object> samples = sampleInstances.get(rawType); Object sample = pickInstance(samples, null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* non-terminal entries, but this is safe; if this Builder is used further, it will grow * the entries array (so it can't affect the original array), and future build() calls * will always copy any entry objects that cannot be safely reused. */ if (valueComparator != null) { if (entriesUsed) { entries = Arrays.copyOf(entries, size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
ObjectOptions{ DeletePrefix: true, // use prefix delete to delete all versions at once. DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls) NoAuditLog: true, }, ) stopFn(0, err) auditLogRebalance(ctx, "Rebalance:DeleteObject", bucket, entry.name, "", err) if err != nil { rebalanceLogIf(ctx, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 28.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* Returns the size of this source in bytes, even if doing so requires opening and traversing an * entire stream. To avoid a potentially expensive operation, see {@link #sizeIfKnown}. * * <p>The default implementation calls {@link #sizeIfKnown} and returns the value if present. If * absent, it will fall back to a heavyweight operation that will open a stream, read (or {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 26.2K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* other using {@code second = new StatsAccumulator().addAll(first).snapshot()}, if both were * obtained by calling {@code snapshot()} on the same {@link StatsAccumulator} without adding any * values in between the two calls, or if one is obtained from the other after round-tripping * through java serialization. However, floating point rounding errors mean that it may be false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val call2 = client.newCall(Request(server.url("/"))) call2.execute().use { response -> assertThat( response.body.string(), ).isEqualTo("b") } // Calls succeed after the degraded pong timeout because the degraded pong was received. Thread.sleep(TimeUnit.NANOSECONDS.toMillis(Http2Connection.DEGRADED_PONG_TIMEOUT_NS.toLong()))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* * <p>If {@link #expireAfterWrite expireAfterWrite} or {@link #expireAfterAccess expireAfterAccess} * is requested entries may be evicted on each cache modification, on occasional cache accesses, or * on calls to {@link Cache#cleanUp}. Expired entries may be counted by {@link Cache#size}, but will * never be visible to read or write operations. * * <p>If {@link #weakKeys weakKeys}, {@link #weakValues weakValues}, or {@link #softValues
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0)