- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 84 for Loops (0.02 seconds)
-
android/guava/src/com/google/common/graph/GraphConstants.java
+ "that allows parallel edges, call allowsParallelEdges(true) on the Builder."; static final String SELF_LOOPS_NOT_ALLOWED = "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph " + "that allows self-loops, call allowsSelfLoops(true) on the Builder."; static final String NOT_AVAILABLE_ON_UNDIRECTED = "Cannot call source()/target() on a EndpointPair from an undirected graph. Consider calling "
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.1K bytes - Click Count (0) -
internal/dsync/dsync_test.go
} } // Borrowed from mutex_test.go func HammerMutex(m *DRWMutex, loops int, cdone chan bool) { for range loops { m.Lock(id, source) m.Unlock(context.Background()) } cdone <- true } // Borrowed from mutex_test.go func TestMutex(t *testing.T) { loops := 200 if testing.Short() { loops = 5 } c := make(chan bool) m := NewDRWMutex(ds, "test") for range 10 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
protected final BufferedReader reader; /** The line that has been read */ protected String line = EMPTY; /** * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. * @return An {@link Iterable} that wraps a {@link LineIterator}. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ArchetypeGraph.java
/** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* user-defined properties. * * <p>A {@code Graph} built by this class has the following default properties: * * <ul> * <li>does not allow self-loops * <li>orders {@link Graph#nodes()} in the order in which the elements were added (insertion * order) * </ul> * * <p>{@code Graph}s built by this class also guarantee that each collection-returning accessorCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
/** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EndpointPairIterator.java
} if (!advance()) { return endOfData(); } } } } /** * If the graph is undirected, each unordered [node, otherNode] pair (except self-loops) will be * visited twice if there is an edge connecting them. To avoid returning duplicate {@link * EndpointPair}s, we keep track of the nodes that we have visited. When processing endpointCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
} throw new IllegalArgumentException("Unrecognized strategy: " + strategy); } /** * A strategy for adding self-loops to {@linkplain #transitiveClosure(Graph, * TransitiveClosureSelfLoopStrategy) the transitive closure graph}. All strategies preserve * self-loops that are present in the original graph. * * <p>The strategies differ based on how they define "cycle incident to a node". *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/graph/ValueGraphBuilder.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
/** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 13.6K bytes - Click Count (0)