- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 158 for recycle (0.05 seconds)
-
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) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testConcat_infiniteIterable() throws IOException { ByteSource source = ByteSource.wrap(new byte[] {0, 1, 2, 3}); Iterable<ByteSource> cycle = Iterables.cycle(ImmutableList.of(source)); ByteSource concatenated = ByteSource.concat(cycle); byte[] expected = {0, 1, 2, 3, 0, 1, 2, 3}; assertArrayEquals(expected, concatenated.slice(0, 8).read()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (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 TCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testConcat_infiniteIterable() throws IOException { ByteSource source = ByteSource.wrap(new byte[] {0, 1, 2, 3}); Iterable<ByteSource> cycle = Iterables.cycle(ImmutableList.of(source)); ByteSource concatenated = ByteSource.concat(cycle); byte[] expected = {0, 1, 2, 3, 0, 1, 2, 3}; assertArrayEquals(expected, concatenated.slice(0, 8).read()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
} fun idleConnectionCount(): Int = connections.count { it.withLock { it.calls.isEmpty() } } fun connectionCount(): Int = connections.size /** * Attempts to acquire a recycled connection to [address] for [call]. Returns the connection if it * was acquired, or null if no connection was acquired. The acquired connection will also be
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
* * {@code <>} indicates a self-loop */ private static final SuccessorsFunction<Character> MULTI_GRAPH = createDirectedGraph("aa", "dd", "ab", "ac", "ca", "cd", "bd"); /** A directed graph with a single cycle: a -> b -> c -> d -> a. */ private static final SuccessorsFunction<Character> CYCLE_GRAPH = createDirectedGraph("ab", "bc", "cd", "da"); /** * Same as {@link #CYCLE_GRAPH}, but with an extra a->c edge. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 47.4K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
Despite the incubation status of the feature, these properties MUST be stable. If they need to be renamed or removed (together or separately from the feature itself), they MUST go through a deprecation cycle and the actual property change MUST happen in a major release. Since the naming of the properties no longer suggests they are experimental, we want to ensure users are aware if the current property stops having an effect.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
interpolator.interpolateModel(model, null, request, collector); assertCollectorState(0, 2, 0, collector); assertTrue(collector.getErrors().get(0).contains("Detected the following recursive expression cycle")); } @Test public void testRecursiveExpressionCycleBaseDir() throws Exception { Map<String, String> props = new HashMap<>(); props.put("basedir", "${basedir}");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (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"; assertThat(string).isEqualTo(expected); if (howManyChecked++ == 5) { break; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0)