- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 409 for pre (0.02 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * }</pre> * * <p>Even if your non-test code does not use finalization, you can use this class to test for * leaks, by ensuring that objects are no longer strongly referenced: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/PredecessorsFunction.java
* * Given an algorithm, for example: * * <pre>{@code * public <N> someGraphAlgorithm(N startNode, PredecessorsFunction<N> predecessorsFunction); * }</pre> * * you will invoke it depending on the graph representation you're using. * * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph}, * {@link ValueGraph}, and {@link Network}): * * <pre>{@code * someGraphAlgorithm(startNode, graph);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
* * <pre>{@code * a c * | | * | | * b d * }</pre> */ private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd"); /** * A graph consisting of a single root {@code a}: * * <pre>{@code * a * }</pre> */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
* * <pre>{@code * a c * | | * | | * b d * }</pre> */ private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd"); /** * A graph consisting of a single root {@code a}: * * <pre>{@code * a * }</pre> */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
// pre-test/master/queue/alice/feature -> master // pre-test/release/current/bob/bugfix -> release // gh-readonly-queue/master/pr-1234-5678abcdef -> master fun toMergeQueueBaseBranch(actualBranch: String): String = when { actualBranch.startsWith("pre-test/") || actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
* implement it: * * <pre>{@code * // won't work * TreeTraverser<NodeType> traverser = node -> node.getChildNodes(); * }</pre> * * Instead, you can pass a lambda expression to the {@code using} factory method: * * <pre>{@code * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes()); * }</pre> * * @author Louis Wasserman * @since 15.0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* then Lock B, while another thread acquires Lock B, and then Lock A: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB) * Thread2: acquire(LockB) --X acquire(LockA) * </pre> * * <p>Neither thread will progress because each is waiting for the other. In more complex * applications, cycles can arise from interactions among more than 2 locks: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java
* This should be the resulting ordering of plugins after merging: * <p> * Given: * <pre> * parent: X -> A -> B -> D -> E * child: Y -> A -> C -> D -> F * </pre> * Result: * <pre> * X -> Y -> A -> B -> C -> D -> E -> F * </pre> */ public static void mergePluginLists(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
javadoc-stylesheet.css
/* Fixes for a number of issues with the default stylesheet. */ /* Fixes huge font size in <pre>{@code} blocks. */ pre code { font-size:inherit; } /* Fixes issue with no blank line before <pre> in class-level Javadoc when the <pre> is preceded by a block of text with no <p>. */ .description .block pre { margin-top:1em;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 17 21:01:06 UTC 2013 - 11.2K bytes - Viewed (0)