Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for indent (0.62 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/net/InetAddresses.java

     * address, as shown above, and transmit it in an IPv6 packet header. However, Java's InetAddress
     * creation methods appear to adhere doggedly to the original intent of the "mapped" address: all
     * "mapped" addresses return {@link Inet4Address} objects.
     *
     * <p>For added safety, it is common for IPv6 network operators to filter all packets where either
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

                  method,
                  parameterTypes[0].getName(),
                  Primitives.wrap(parameterTypes[0]).getSimpleName());
    
              MethodIdentifier ident = new MethodIdentifier(method);
              if (!identifiers.containsKey(ident)) {
                identifiers.put(ident, method);
              }
            }
          }
        }
        return ImmutableList.copyOf(identifiers.values());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies a nanosecond-precision time source for this cache. By default, {@link
       * System#nanoTime} is used.
       *
       * <p>The primary intent of this method is to facilitate testing of caches with a fake or mock
       * time source.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalStateException if a ticker was already set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Joiner.java

            return rest.length + 2;
          }
    
          @Override
          @CheckForNull
          public Object get(int index) {
            switch (index) {
              case 0:
                return first;
              case 1:
                return second;
              default:
                return rest[index - 2];
            }
          }
        };
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

       * that contains all of the nodes in {@code nodes}, and all of the {@link Network#edges() edges}
       * from {@code network} for which the {@link Network#incidentNodes(Object) incident nodes} are
       * both contained by {@code nodes}.
       *
       * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph
       */
      public static <N, E> MutableNetwork<N, E> inducedSubgraph(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top