Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Hedger (0.17 sec)

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

        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
        for (String edge : edges) {
          checkArgument(
              edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);
          char node1 = edge.charAt(0);
          char node2 = edge.charAt(1);
          graphMapBuilder.put(node1, node2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       locks---to each of the acquired locks, an edge from the soon-to-be-acquired lock is either
     *       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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       *     is reached
       * @return the padded string
       */
      public static String padStart(String string, int minLength, char padChar) {
        checkNotNull(string); // eager for GWT.
        if (string.length() >= minLength) {
          return string;
        }
        StringBuilder sb = new StringBuilder(minLength);
        for (int i = string.length(); i < minLength; i++) {
          sb.append(padChar);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "stanford.edu",
              "state.ca.us",
              "www.state.ca.us",
              "state.ca.us",
              "pvt.k12.ca.us",
              "www.rave.ca.",
              "cnn.ca",
              "ledger-enquirer.com",
              "it-trace.ch",
              "cool.dk",
              "cool.co.uk",
              "cool.de",
              "cool.es",
              "cool\uFF61fr", // Alternate dot character
              "cool.nl",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
        checkNotNull(multimap); // eager for GWT
        if (multimap.isEmpty() && valueComparator == null) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateStarShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.ordered(2, 1),
                EndpointPair.ordered(1, 4),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateTShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<String> edges = network.edges();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> edges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges have associated values
     * </ul>
     *
     * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges,
     * and forbids implementations or extensions with parallel edges. If you need parallel edges, use
     * {@link Network}. (You can use a positive {@code Integer} edge value as a loose representation of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top