Home
last modified time | relevance | path

Searched refs:ImmutableGraph (Results 1 – 25 of 27) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/graph/
DStandardImmutableGraphAdditionalTest.java36 ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); in immutableGraph()
47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized()
48 Graph<String> graph2 = ImmutableGraph.copyOf(graph1); in copyOfImmutableGraph_optimized()
55 ImmutableGraph<String> emptyGraph = in immutableGraphBuilder_appliesGraphBuilderConfig()
77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder()
82 ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build(); in immutableGraphBuilder_copiesGraphBuilder()
91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder()
98 ImmutableGraph<Object> graph = in copyOf_fromUnorderedGraph_incidentEdgeOrder()
99 ImmutableGraph.copyOf( in copyOf_fromUnorderedGraph_incidentEdgeOrder()
107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode()
[all …]
DPackageSanityTests.java38 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
40 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
DStandardImmutableUndirectedGraphTest.java37 private ImmutableGraph.Builder<Integer> graphBuilder;
DStandardImmutableDirectedGraphTest.java36 private ImmutableGraph.Builder<Integer> graphBuilder;
DImmutableNetworkTest.java35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
DImmutableValueGraphTest.java36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
DAbstractGraphTest.java112 assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph)); in validateGraph()
/external/guava/guava-tests/test/com/google/common/graph/
DStandardImmutableGraphAdditionalTest.java36 ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); in immutableGraph()
47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized()
48 Graph<String> graph2 = ImmutableGraph.copyOf(graph1); in copyOfImmutableGraph_optimized()
55 ImmutableGraph<String> emptyGraph = in immutableGraphBuilder_appliesGraphBuilderConfig()
77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder()
82 ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build(); in immutableGraphBuilder_copiesGraphBuilder()
91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder()
98 ImmutableGraph<Object> graph = in copyOf_fromUnorderedGraph_incidentEdgeOrder()
99 ImmutableGraph.copyOf( in copyOf_fromUnorderedGraph_incidentEdgeOrder()
107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode()
[all …]
DPackageSanityTests.java38 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
40 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
DStandardImmutableDirectedGraphTest.java36 private ImmutableGraph.Builder<Integer> graphBuilder;
DStandardImmutableUndirectedGraphTest.java37 private ImmutableGraph.Builder<Integer> graphBuilder;
DImmutableNetworkTest.java35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
DImmutableValueGraphTest.java36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
DAbstractGraphTest.java112 assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph)); in validateGraph()
/external/guava/guava/src/com/google/common/graph/
DImmutableGraph.java48 public class ImmutableGraph<N> extends ForwardingGraph<N> { class
52 ImmutableGraph(BaseGraph<N> backingGraph) { in ImmutableGraph() method in ImmutableGraph
57 public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) { in copyOf()
58 return (graph instanceof ImmutableGraph) in copyOf()
59 ? (ImmutableGraph<N>) graph in copyOf()
60 : new ImmutableGraph<N>( in copyOf()
71 public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) { in copyOf()
196 public ImmutableGraph<N> build() { in build()
197 return ImmutableGraph.copyOf(mutableGraph); in build()
DGraphBuilder.java108 public <N1 extends N> ImmutableGraph.Builder<N1> immutable() { in immutable()
110 return new ImmutableGraph.Builder<>(castBuilder); in immutable()
DImmutableValueGraph.java75 public ImmutableGraph<N> asGraph() { in asGraph()
76 return new ImmutableGraph<N>(this); // safe because the view is effectively immutable in asGraph()
DImmutableNetwork.java74 public ImmutableGraph<N> asGraph() { in asGraph()
75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
/external/guava/android/guava/src/com/google/common/graph/
DImmutableGraph.java48 public class ImmutableGraph<N> extends ForwardingGraph<N> { class
52 ImmutableGraph(BaseGraph<N> backingGraph) { in ImmutableGraph() method in ImmutableGraph
57 public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) { in copyOf()
58 return (graph instanceof ImmutableGraph) in copyOf()
59 ? (ImmutableGraph<N>) graph in copyOf()
60 : new ImmutableGraph<N>( in copyOf()
71 public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) { in copyOf()
196 public ImmutableGraph<N> build() { in build()
197 return ImmutableGraph.copyOf(mutableGraph); in build()
DGraphBuilder.java108 public <N1 extends N> ImmutableGraph.Builder<N1> immutable() { in immutable()
110 return new ImmutableGraph.Builder<>(castBuilder); in immutable()
DImmutableValueGraph.java75 public ImmutableGraph<N> asGraph() { in asGraph()
76 return new ImmutableGraph<N>(this); // safe because the view is effectively immutable in asGraph()
DImmutableNetwork.java74 public ImmutableGraph<N> asGraph() { in asGraph()
75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
/external/llvm-project/llvm/lib/Target/X86/
DImmutableGraph.h38 template <typename NodeValueT, typename EdgeValueT> class ImmutableGraph {
39 using Traits = GraphTraits<ImmutableGraph<NodeValueT, EdgeValueT> *>;
48 friend class ImmutableGraph; variable
59 friend class ImmutableGraph; variable
80 ImmutableGraph(std::unique_ptr<Node[]> Nodes, std::unique_ptr<Edge[]> Edges, in ImmutableGraph() function
84 ImmutableGraph(const ImmutableGraph &) = delete;
85 ImmutableGraph(ImmutableGraph &&) = delete;
86 ImmutableGraph &operator=(const ImmutableGraph &) = delete;
87 ImmutableGraph &operator=(ImmutableGraph &&) = delete;
112 const ImmutableGraph &G;
[all …]
DX86LoadValueInjectionLoadHardening.cpp115 struct MachineGadgetGraph : ImmutableGraph<MachineInstr *, int> {
119 using GraphT = ImmutableGraph<MachineInstr *, int>;
190 : GraphTraits<ImmutableGraph<MachineInstr *, int> *> {};
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentTree.java27 import com.google.common.graph.ImmutableGraph;
36 private final ImmutableGraph<ComponentDescriptor> graph;
50 return new ComponentTree(ImmutableGraph.copyOf(graph)); in from()
53 private ComponentTree(ImmutableGraph<ComponentDescriptor> graph) { in ComponentTree()
99 public ImmutableGraph<ComponentDescriptor> graph() { in graph()

12