Examples of RootNode


Examples of com.ibm.sbt.playground.assets.RootNode

   * @throws IOException
   */
  private static RootNode readAssets(VFSFile file, NodeFactory nodeFactory) throws IOException{
      AssetBrowser imp = new AssetBrowser(file, nodeFactory);
     
    return (RootNode)imp.readAssets(new RootNode(), null);
  }
View Full Code Here

Examples of com.ibm.sbt.playground.assets.RootNode

        public boolean isCancelled() {
          return action.isCancelled();
        }
      };
    }
    RootNode root=a.readAssets(cb);
    if(action!=null&&action.isCancelled()) {
      return 0;
    }
    return importAssets(source, rootDir, root, action);
  }
View Full Code Here

Examples of com.k_int.util.RPNQueryRep.RootNode

        response.referenceId = search_request.referenceId;

        // Assume failure unless something below sets to true
        response.searchStatus = Boolean.FALSE;

        RootNode rn = null;

        try {
            switch (search_request.query.which) {
            case Query_type.type_0_CID:
                LOGGER.finer("Processing Any Query");
View Full Code Here

Examples of com.mattibal.meshnet.NetworkTree.RootNode

      // Send assignAddress packet
      Layer3Packet.AssignAddress packet = new Layer3Packet.AssignAddress(
          unassigned.getChildNonce(),
          (short)unassigned.getAddress(), (short)unassigned.getMaxRoute(),
          tree.baseNonce, networkKey);
      RootNode rootNode;
      if(unassigned instanceof RootNode){
        rootNode = (RootNode) unassigned;
      } else {
        rootNode = tree.getRouteToNode(unassigned.getAddress());
      }
      rootNode.getNetInterface().sendLayer3Packet(packet.getRawBytes().array(), rootNode.getMacAddress());
    }
    return isSomebodyUnassigned;
  }
View Full Code Here

Examples of com.mattibal.meshnet.NetworkTree.RootNode

 
  public void sendDataToDevice(byte[] dataPayload, NetworkTree.Node destNode) throws IOException{
    int destinationAddress = destNode.getAddress();
    DataToDevice packet = new DataToDevice(destinationAddress, dataPayload);
    byte[] packetBytes = packet.getRawBytes().array();
    RootNode firstHop = destNode.getRouteToMyself();
    firstHop.getNetInterface().sendLayer3Packet(packetBytes, firstHop.getMacAddress());
  }
View Full Code Here

Examples of com.oracle.truffle.api.nodes.RootNode

    @Specialization
    @SlowPath
    protected Object dump(RFunction function, byte igvDump, byte verbose) {
        controlVisibility();

        RootNode root = function.getTarget().getRootNode();
        if (igvDump == RRuntime.LOGICAL_FALSE) {
            // Use .dot dump instead
            writeDotTreeToFile(root, verbose == RRuntime.LOGICAL_TRUE);
            // User gets no feedback about the output file; should 'debug.deump' be visible?
            return RNull.instance;
View Full Code Here

Examples of com.technophobia.substeps.execution.node.RootNode

        final String substeps = "./target/test-classes/substeps/duplicates2.substeps";
        final IExecutionListener notifier = mock(IExecutionListener.class);

        final List<SubstepExecutionFailure> failures = new ArrayList<SubstepExecutionFailure>();

        final RootNode rootNode = runExecutionTest(feature, tags, substeps, notifier, failures);

        // check the rootNode tree is in the state we expect
        Assert.assertThat(rootNode.getResult().getResult(), is(ExecutionResult.FAILED));

        final FeatureNode featureNode = rootNode.getChildren().get(0);
        final ScenarioNode<?> scenarioNode = featureNode.getChildren().get(0);

        Assert.assertThat(scenarioNode.getResult().getResult(), is(ExecutionResult.PARSE_FAILURE));

        verify(notifier, times(1)).onNodeFailed(eq(scenarioNode), argThat(any(SubstepsConfigurationException.class)));
View Full Code Here

Examples of jadx.core.dex.nodes.RootNode

    root.getErrorsCounter().printReport();
  }

  void parse() throws DecodeException {
    reset();
    root = new RootNode();
    LOG.info("loading ...");
    root.load(inputFiles);
  }
View Full Code Here

Examples of jadx.core.dex.nodes.RootNode

    }
    for (InputFile inputFile : inputFiles) {
      LOG.info("Loaded: {}", inputFile.getFile());
    }

    RootNode root = new RootNode();
    root.load(inputFiles);

    ClsSet set = new ClsSet();
    set.load(root);
    set.save(output);
    LOG.info("Output: {}", output);
View Full Code Here

Examples of net.sourceforge.cruisecontrol.gui.configuration.tree.nodes.RootNode

        "</modificationset></project>" +
        "</cruisecontrol>",
        "Proj1",
        "Proj2");
    TreeModel model = tree.getModel();
    RootNode root = (RootNode) model.getRoot();
    ProjectNode proj = (ProjectNode) root.getChildAt(0);
    this.testNode = (BasicNode) proj.getChildAt(0);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.