- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 336 for Works (0.39 sec)
-
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* requested permits, by an invocation acquire(permits), are served from: * * - stored permits (if available) * * - fresh permits (for any remaining permits) * * How this works is best explained with an example: * * For a RateLimiter that produces 1 token per second, every second that goes by with the * RateLimiter being unused, we increase storedPermits by 1. Say we leave the RateLimiter unused
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
* Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We * should really validate that it works as desired for all Android versions that we support. */ @SuppressWarnings("NewApi") @Override String typeName(Type type) { return type.getTypeName(); } },
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
This also applies to `response_model_by_alias` that works similarly. /// {* ../../docs_src/response_model/tutorial005_py310.py hl[29,35] *} /// tip The syntax `{"name", "description"}` creates a `set` with those two values.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
public String toString() { return "BY_TO_STRING"; } private Object readResolve() { return INSTANCE; } } // Always equal is a valid total ordering. And it works for any Object. private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual(); @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 20.9K bytes - Viewed (0) -
internal/config/config.go
// decreasing precedence: // // 1. the value of the corresponding environment variable if set, // 2. the value of the parameter in the config store if set, // 3. the default value, // // This function only works for a subset of sub-systems, others return // `ValueSourceAbsent`. FIXME: some parameters have custom environment // variables for which support needs to be added. //
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 37.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
@Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed") void getInputOutput_caching_and_closed() throws Exception { // Arrange: minimal stubs so stream construction works SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo"); when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throwsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
/** * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class ImmutableDoubleArrayTest extends TestCase { // Test all creation paths very lazily: by assuming asList() works public void testOf0() { assertThat(ImmutableDoubleArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
public String toString() { return "BY_TO_STRING"; } private Object readResolve() { return INSTANCE; } } // Always equal is a valid total ordering. And it works for any Object. private static final class AlwaysEqual extends Ordering<@Nullable Object> implements Serializable { private static final AlwaysEqual INSTANCE = new AlwaysEqual(); @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} } @J2ktIncompatible static final class SerializedForm implements Serializable { final Object[] elements; final int[] counts; // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013 SerializedForm(Multiset<? extends Object> multiset) { int distinct = multiset.entrySet().size(); elements = new Object[distinct];Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 20.6K bytes - Viewed (0)