- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 54 for cycle (0.02 seconds)
-
android/guava/src/com/google/common/graph/Graphs.java
// Graph query methods /** * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting * and ending with the same node. * * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1). */ public static <N> boolean hasCycle(Graph<N> graph) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* verified or created. * <li>If a new edge needs to be created, the outgoing edges of the acquired locks are traversed * to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new * "safe" edge is created. * <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential * deadlock situation, and the appropriate Policy is executed. * </ul> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt
object StartReleaseCycle : BasePromotionBuildType() { init { id("Promotion_StartReleaseCycle") name = "Start Release Cycle" description = "Promotes a successful build on master as the start of a new release cycle on the release branch" params { text( "gitUserEmail", "", label = "Git user.email Configuration",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 18 14:06:58 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> cycle = Iterators.cycle(iterable); assertTrue(cycle.hasNext()); assertThat(cycle.next()).isEqualTo("a"); cycle.remove(); assertEquals(emptyList(), iterable); assertFalse(cycle.hasNext()); } public void testCycleOfTwo() { Iterator<String> cycle = Iterators.cycle("a", "b"); for (int i = 0; i < 3; i++) { assertTrue(cycle.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> cycle = Iterators.cycle(iterable); assertTrue(cycle.hasNext()); assertThat(cycle.next()).isEqualTo("a"); cycle.remove(); assertEquals(emptyList(), iterable); assertFalse(cycle.hasNext()); } public void testCycleOfTwo() { Iterator<String> cycle = Iterators.cycle("a", "b"); for (int i = 0; i < 3; i++) { assertTrue(cycle.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt
object StartReleaseCycleTest : BasePromotionBuildType(cleanCheckout = false) { init { id("Promotion_AllBranchesStartReleaseCycleTest") name = "Start Release Cycle Test" description = "Test for Start Release Cycle pipeline" steps { gradleWrapper { name = "PromoteTest" tasks = "clean promoteStartReleaseCycle" useGradleWrapper = true
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
// always point to "a". assertThat(cycle.iterator().next()).isEqualTo("a"); } public void testCycle_emptyIterable() { FluentIterable<Integer> cycle = FluentIterable.<Integer>of().cycle(); assertFalse(cycle.iterator().hasNext()); } public void testCycle_removingAllElementsStopsCycle() { FluentIterable<Integer> cycle = fluent(1, 2).cycle(); Iterator<Integer> iterator = cycle.iterator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64error.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. TEXT errors(SB),$0 CSRRC (X10), CYCLE, X5 // ERROR "integer register or immediate expected for 1st operand" CSRRC X0, TU, X5 // ERROR "unknown CSR" CSRRC X0, CYCLE // ERROR "missing CSR name" CSRRC X0, CYCLE, (X10) // ERROR "needs an integer register output" CSRRC $-1, TIME, X15 // ERROR "immediate out of range 0 to 31"
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 27.2K bytes - Click Count (0) -
src/README.vendor
Note that 'go mod vendor' only copies packages that are transitively imported by packages in the current module. If a new package is needed, it should be imported before running 'go mod vendor'. Go release cycle considerations =============================== Applying changes to packages that are vendored follows the considerations written down at go.dev/s/release.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jan 26 20:37:19 GMT 2026 - 3.5K bytes - Click Count (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);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0)