Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 513 for nodes (0.02 sec)

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

        assertThat(network.nodes()).containsExactly("A");
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
      public void immutableNetworkBuilder_putEdgeFromNodes() {
        ImmutableNetwork<String, Integer> network =
            NetworkBuilder.directed().<String, Integer>immutable().addEdge("A", "B", 10).build();
    
        assertThat(network.nodes()).containsExactly("A", "B");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    		wg.Add(1)
    		// Send refresh request to all nodes
    		go func(index int, c NetLocker) {
    			defer wg.Done()
    			c.ForceUnlock(ctx, args)
    		}(index, c)
    	}
    	wg.Wait()
    }
    
    type refreshResult struct {
    	offline   bool
    	refreshed bool
    }
    
    // Refresh the given lock in all nodes, return true to indicate if a lock
    // does not exist in enough quorum nodes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        return delegate().hasEdgeConnecting(nodeU, nodeV);
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        return delegate().hasEdgeConnecting(endpoints);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * with user-defined properties.
     *
     * <p>A {@code ValueGraph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
     *   <li>orders {@link ValueGraph#nodes()} in the order in which the elements were added (insertion
     *       order)
     * </ul>
     *
     * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessor
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
          nodeConnections.put(node, connectionsOf(graph, node));
        }
        return nodeConnections.buildOrThrow();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/SuccessorsFunction.java

    public interface SuccessorsFunction<N> {
    
      /**
       * Returns all nodes in this graph adjacent to {@code node} which can be reached by traversing
       * {@code node}'s outgoing edges in the direction (if any) of the edge.
       *
       * <p>This is <i>not</i> the same as "all nodes reachable from {@code node} by following outgoing
       * edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/StandardNetwork.java

        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).outEdges(), node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/StandardNetwork.java

        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).outEdges(), node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ForwardingGraph.java

      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        return delegate().hasEdgeConnecting(nodeU, nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/ForwardingGraph.java

      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        return delegate().hasEdgeConnecting(nodeU, nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top