Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for indent (0.44 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(graph.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractGraphTest.validateGraph(graph);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 18 16:17:46 GMT 2017
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        if (connections == null) {
          return false;
        }
    
        if (allowsSelfLoops()) {
          // Remove self-loop (if any) first, so we don't get CME while removing incident edges.
          if (connections.removeSuccessor(node) != null) {
            connections.removePredecessor(node);
            --edgeCount;
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    a--'
    
      `Well!  WHAT are you?' said the Pigeon.  `I can see you're
    trying to invent something!'
    
      `I--I'm a little girl,' said Alice, rather doubtfully, as she
    remembered the number of changes she had gone through that day.
    
      `A likely story indeed!' said the Pigeon in a tone of the
    deepest contempt.  `I've seen a good many little girls in my
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    public final class HostSpecifierTest extends TestCase {
    
      private static final ImmutableList<String> GOOD_IPS =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N2, N1);
        directedGraph.putEdge(N1, N3); // only incident to one node in nodeSubset
        directedGraph.putEdge(N4, N4);
        directedGraph.putEdge(5, 6); // not incident to any node in nodeSubset
    
        MutableGraph<Integer> expectedSubgraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedSubgraph.putEdge(N1, N2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/NetworkConnections.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An interface for representing and manipulating an origin node's adjacent nodes and incident edges
     * in a {@link Network}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    interface NetworkConnections<N, E> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  7. 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}).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractNetworkTest.validateNetwork(network);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/QueuesTest.java

        try {
          // if waiting works, this should get stuck
          Queues.drain(q, newArrayList(), 1, MAX_VALUE, NANOSECONDS);
          fail();
        } catch (InterruptedException expected) {
          // we indeed waited; a slow thread had enough time to interrupt us
        }
      }
    
      // same as above; uninterruptible version
      private void assertUninterruptibleDrained(BlockingQueue<Object> q) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

       * @param newCount the desired count of the element in this multiset
       * @return {@code true} if the condition for modification was met. This implies that the multiset
       *     was indeed modified, unless {@code oldCount == newCount}.
       * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is negative
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
Back to top