Examples of update()


Examples of voldemort.store.StorageConfiguration.update()

        StorageConfiguration config = storageConfigs.get(storeDef.getType());
        if(config == null)
            throw new ConfigurationException("Attempt to open store " + storeDef.getName()
                                             + " but " + storeDef.getType()
                                             + " storage engine has not been enabled.");
        config.update(storeDef);
    }

    public StorageEngine<ByteArray, byte[], byte[]> openStore(StoreDefinition storeDef) {

        logger.info("Opening store '" + storeDef.getName() + "' (" + storeDef.getType() + ").");
View Full Code Here

Examples of voldemort.store.readonly.checksum.CheckSum.update()

        FileUtils.writeByteArrayToFile(indexFile, indexBytes);

        final Path source = new Path(indexFile.getAbsolutePath());
        CheckSum fileCheckSumGenerator = CheckSum.getInstance(CheckSumType.MD5);

        fileCheckSumGenerator.update(indexBytes);
        byte[] checksumCalculated = calculateCheckSumForFile(source);

        HdfsFetcher fetcher = new HdfsFetcher();

        Configuration config = new Configuration();
View Full Code Here

Examples of vtk.vtkCleanPolyData.Update()

        polyData.GetPointData().AddArray(colorArray);
        polyData.GetPointData().SetScalars(radiusArray);

        vtkCleanPolyData cleanFilter = new vtkCleanPolyData();
        cleanFilter.SetInput(polyData);
        cleanFilter.Update();

        vtkTubeFilter tube = new vtkTubeFilter();
        tube.SetVaryRadiusToVaryRadiusByAbsoluteScalar();
        tube.SetInput(cleanFilter.GetOutput());
        tube.SetNumberOfSides(20);
View Full Code Here

Examples of weka.associations.tertius.Rule.upDate()

  /* Calculate the optimistic estimate of the children and
   * consider them for adding to the agenda and to the results. */
  while (iter.hasNext()) {
    m_hypotheses++;
    child = (Rule) iter.next();
    child.upDate(m_instances);
    if (canCalculateOptimistic(child)) {
      child.calculateOptimistic();
      if (canExplore(child)) {
        m_explored++;
        if (canStoreInNodes(child)) {
View Full Code Here

Examples of weka.core.matrix.FlexibleDecimalFormat.update()

    nf1.grouping( true );
    FlexibleDecimalFormat nf2 = new FlexibleDecimalFormat( 5 );
    nf2.grouping( true );
    for(int i = 0; i < size(); i++) {
      nf1.update( points.get(i) );
      nf2.update( values.get(i) );
    }

    text.append("\t" + nf1.formatString("Points") +
    "\t" + nf2.formatString("Values") + "\n\n");
    for(int i = 0; i <= size() - 1; i++) {
View Full Code Here

Examples of xerial.larray.LIntArray.update()

    @Test
    public void constructor() {

        LIntArray l = LArrayJ.newLIntArray(5L);
        for (long i = 0; i < l.size(); ++i) l.update(i, (int) i * 2);
        _logger.debug(l.mkString(", "));
        for (long i = 0; i < l.size(); ++i) l.update(i, (int) (i * i));
        _logger.debug(l.mkString(", "));

        Assert.assertEquals(5L, l.size());
View Full Code Here

Examples of xnap.plugin.nap.net.User.update()

        public void actionPerformed(ActionEvent event)
  {
      IUser[] users = getUsers();
      for (int i = 0; i < users.length; i++) {
    User u = (User)users[i];
    u.update(true);
      }
        }

    }
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.