- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 115 for Cycle (0.68 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
// but also for <parent>, <build><plugin>, <reports>. We need multiple DAG's // since a DAG can only handle 1 type of relationship properly. // Use case: This is detected as a cycle: // org.apache.maven:maven-plugin-api -(PARENT)-> // org.apache.maven:maven -(inherited REPORTING)-> // org.apache.maven.plugins:maven-checkstyle-plugin -(DEPENDENCY)->
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K 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 Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Jan 31 19:22:50 UTC 2024 - 1.2K 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 TRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
testClassesDirs += sharedArchTestClasses.filter { it.isDirectory } classpath += sourceSets["main"].output.classesDirs systemProperty("package.cycle.exclude.patterns", packageCyclesExtension.excludePatterns.get().joinToString(",")) extensions.findByType<DevelocityTestConfiguration>()?.apply {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 18:51:33 UTC 2025 - 3.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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava-testlib/pom.xml
<version>${junit.version}</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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 17:59:17 UTC 2025 - 5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
} return classDoc } private gradlebuild.docs.dsl.docbook.model.ClassDoc loadClassDoc(String className) { if (currentlyBuilding.contains(className)) { throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding") } currentlyBuilding.addLast(className) try { ClassMetaData classMetaData = classMetaData.find(className)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java
import org.apache.maven.lifecycle.internal.builder.Builder; import org.apache.maven.lifecycle.internal.builder.BuilderNotFoundException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Starts the build life cycle * */ @Named @Singleton public class DefaultLifecycleStarter implements LifecycleStarter { private final Logger logger = LoggerFactory.getLogger(getClass());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0)