- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 227 for TUnused (0.05 sec)
-
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* * 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 * for 10 seconds (i.e., we expected a request at time X, but we are at time X + 10 seconds before * a request actually arrives; this is also related to the point made in the last paragraph), thus
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
assertThrows( IllegalStateException.class, () -> { FluentFuture<Closeable> unused = closingFuture.finishToFuture(); }); } public void testFinishToFuture_preventsFurtherDerivation() { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1")); FluentFuture<String> unused = closingFuture.finishToFuture(); assertDerivingThrowsIllegalStateException(closingFuture); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
/// tip Some editors check for unused function parameters, and show them as errors. Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors. It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary. /// /// info
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
} private void assertGood(String spec) throws ParseException { // Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
* mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() { Optional<Integer> optionalInt = getSomeOptionalInt(); // Number value = optionalInt.or(0.5); // error } @SuppressWarnings("unused") // compilation test public void testSampleCodeError2() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 10.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java
/** * Registers the specified cache record for usage with the given project. Integrators can use the information * collected from this method in combination with a custom cache implementation to dispose unused records from the * cache. * * @param project The project that employs the plugin realm, must not be {@code null}. * @param record The cache record being used for the project, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertEquals(2, factory2.newThread(monitoredRunnable).getPriority()); } public void testBuildTwice() { ThreadFactory unused; unused = builder.build(); // this is allowed unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 7.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
} @Singleton @Named(Lifecycle.CLEAN) @SuppressWarnings("unused") static class CleanLifecycleProvider extends BaseLifecycleProvider { CleanLifecycleProvider() { super(Lifecycle.CLEAN); } } @Singleton @Named(Lifecycle.DEFAULT) @SuppressWarnings("unused") static class DefaultLifecycleProvider extends BaseLifecycleProvider {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
() -> { ImmutableListMultimap<Object, Integer> unused = fluent(1, 2, 3).index(Functions.constant(null)); }); } public void testIndex_nullValue() { assertThrows( NullPointerException.class, () -> { ImmutableListMultimap<String, Integer> unused = fluent(1, null, 2).index(Functions.constant("foo")); }); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0)