- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 118 for recycle (0.03 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
import okhttp3.internal.toImmutableList /** * Selects routes to connect to an origin server. Each connection requires a choice of proxy server, * IP address, and TLS mode. Connections may also be recycled. */ class RouteSelector( private val address: Address, private val routeDatabase: RouteDatabase, private val connectionUser: ConnectionUser, private val fastFallback: Boolean, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (1) -
guava/src/com/google/common/collect/Iterables.java
* elements. * * <p>To cycle over the iterable {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, iterable))} * * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code * Stream.generate(() -> iterable).flatMap(Streams::stream)}. */ public static <T extends @Nullable Object> Iterable<T> cycle(Iterable<T> iterable) { checkNotNull(iterable);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
api/README
compatibility. Starting with go1.19.txt, each API feature line must end in "#nnnnn" giving the GitHub issue number of the proposal issue that accepted the new API. This helps with our end-of-cycle audit of new APIs. The same requirement applies to next/* (described below), which will become a go1.XX.txt for XX >= 19. The next/ directory contains the only files intended to be mutated.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 31 19:22:50 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/data-usage-cache.go
// mod returns true if the hash mod cycles == cycle. // If cycles is 0 false is always returned. // If cycles is 1 true is always returned (as expected). func (h dataUsageHash) mod(cycle uint32, cycles uint32) bool { if cycles <= 1 { return cycles == 1 } return uint32(xxhash.Sum64String(string(h)))%cycles == cycle%cycles } // modAlt returns true if the hash mod cycles == cycle. // This is out of sync with mod.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd"); Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source)); CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd"; // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/CyclicDependencyException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver; import org.apache.maven.artifact.Artifact; /** * Indicates a cycle in the dependency graph. * */ public class CyclicDependencyException extends ArtifactResolutionException { private Artifact artifact; public CyclicDependencyException(String message, Artifact artifact) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
} // First, check whether var -> arg forms a cycle for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) { if (var.equalsType(t)) { // cycle detected, remove the entire cycle from the mapping so that // each type variable resolves deterministically to itself. // Otherwise, an F -> T cycle will end up resolving both F and T
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava-testlib/pom.xml
<version>4.13.2</version> </dependency> <dependency> <!-- Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle. --> <groupId>com.google.truth</groupId> <artifactId>truth</artifactId> <version>${truth.version}</version> <scope>test</scope> <exclusions> <exclusion>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Mar 19 17:26:38 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-testlib/pom.xml
<version>4.13.2</version> </dependency> <dependency> <!-- Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle. --> <groupId>com.google.truth</groupId> <artifactId>truth</artifactId> <version>${truth.version}</version> <scope>test</scope> <exclusions> <exclusion>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Mar 19 17:26:38 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(expected, actual); } // Far less exhaustive than the tests in IteratorsTest public void testCycle() { Iterable<String> cycle = Iterables.cycle("a", "b"); int howManyChecked = 0; for (String string : cycle) { String expected = (howManyChecked % 2 == 0) ? "a" : "b"; assertEquals(expected, string); if (howManyChecked++ == 5) { break; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0)