Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for addMove (0.12 sec)

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

        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            def rule3 = rule(Integer, ModelNode.State.Mutated, ModelPath.path("a"))
            bindings.add(rule1)
            bindings.add(rule2)
            addNode(node1)
            addNode(node2)
            addNode(node3)
            addNode(node4)
            bindings.add(rule3)
    
            expect:
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Mutated)) as List == [rule1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	"k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // Calls AddNode() once.
    // Verifies node exists, and zero volumes to attach.
    func Test_AddNode_Positive_NewNode(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    	dsw := NewDesiredStateOfWorld(volumePluginMgr)
    	nodeName := k8stypes.NodeName("node-name")
    
    	// Act
    	dsw.AddNode(nodeName)
    
    	// Assert
    	nodeExists := dsw.NodeExists(nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

            rulesByInput = new NodeAtStateIndex("rulesByInput");
        }
    
        public void nodeCreated(ModelNodeInternal node) {
            untypedPathReferences.addNode(node);
        }
    
        public void nodeDiscovered(ModelNodeInternal node) {
            typedPathReferences.addNode(node);
            scopeReferences.addNodeToScope(node.getPath(), node);
            scopeReferences.addNodeToScope(node.getPath().getParent(), node);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
        UnsupportedOperationException e =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

        abstract ImmutableActionSet<T> addAll(SetWithManyActions<T> source);
    
        abstract ImmutableActionSet<T> addOne(Action<? super T> action);
    
        private static class EmptySet<T> extends ImmutableActionSet<T> {
            @Override
            ImmutableActionSet<T> addOne(Action<? super T> action) {
                return new SingletonSet<T>(action);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/shape_inference.cc

                << ", type: " << n->type_string();
        // Ignore the status returned by the shape_refiner. We want the best effort
        // shapes, even if no shape function is registered for a node.
        Status status = shape_refiner->AddNode(n);
        if (!status.ok()) {
          VLOG(1) << "Shape inference failed for node " << n->name() << ": "
                  << status;
        } else {
          shape_inference::InferenceContext* context = shape_refiner->GetContext(n);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            if (target != null) {
                referenceNode.setTarget(target);
            }
            addNode(referenceNode, registration);
        }
    
        @Override
        public void addLink(ModelRegistration registration) {
            addNode(new ModelElementNode(modelRegistry, registration, this), registration);
        }
    
        private void addNode(ModelNodeInternal child, ModelRegistration registration) {
            ModelPath childPath = child.getPath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

            (nodes instanceof Collection)
                ? GraphBuilder.from(graph).expectedNodeCount(((Collection) nodes).size()).build()
                : GraphBuilder.from(graph).build();
        for (N node : nodes) {
          subgraph.addNode(node);
        }
        for (N node : subgraph.nodes()) {
          for (N successorNode : graph.successors(node)) {
            if (subgraph.nodes().contains(successorNode)) {
              subgraph.putEdge(node, successorNode);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top