Examples of update()


Examples of com.neophob.sematrix.core.effect.TextureDeformation.update()

        if (eff.getId() == EffectName.TEXTURE_DEFORMATION.getId()) {
          TextureDeformation td = (TextureDeformation)eff;
          for (int i=0;i<16;i++) {
            td.changeLUT(i);
              td.update();
              td.getBuffer(v.getBuffer());
          }
        }

       
View Full Code Here

Examples of com.neophob.sematrix.core.effect.Zoom.update()

        }

        if (eff.getId() == EffectName.ZOOM.getId()) {
          Zoom zoom = (Zoom)eff;
          zoom.setZoomMode(ZoomMode.ZOOM_OUT.ordinal());
          zoom.update();
          zoom.getBuffer(v.getBuffer());
          zoom.setZoomMode(ZoomMode.HORIZONTAL.ordinal());
          zoom.update();
          zoom.getBuffer(v.getBuffer());
          zoom.setZoomMode(ZoomMode.VERTICAL.ordinal());
View Full Code Here

Examples of com.netflix.jmeter.utils.YamlUpdater.update()

    }

    private void updateYaml() throws IOException
    {
        YamlUpdater updater = new YamlUpdater("cassandra.yaml");
        updater.update("listen_address", null);
        updater.update("rpc_address", null);
        updater.update("storage_port", 7101);
        updater.update("rpc_port", port);
        updater.update("cluster_name", Properties.instance.cassandra.getClusterName());
        updater.update("endpoint_snitch", Properties.instance.fatclient.getEndpoint_Snitch());
View Full Code Here

Examples of com.nexirius.framework.jdbc.DatabaseTableMapping.update()

                remove.append(model);
            } else {
                if (model.getInstanceName() == null) {
                    m.create(model);
                } else {
                    m.update(model);
                }
            }
        }

        for (DataModel model = remove.firstItem(); model != null; model = remove.nextItem()) {
View Full Code Here

Examples of com.nr.la.QRdcmp.update()

    double[][] aa = buildMatrix(a);
    double[] s = new double[aa.length],t = new double[aa.length];
    ranvec(s); ranvec(t);
    double[] u = new double[aa.length],v = buildVector(t);
    aqr.qtmult(s,u);
    aqr.update(u,v);
    for (i=0;i<aa.length;i++) for (j=0;j<aa.length;j++) a[i][j] = aa[i][j]+s[i]*t[j];
    localflag = maxel(matsub(matmul(transpose(aqr.qt),aqr.r),a)) > sbeps;
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** QRdcmp: Error in method qtmult() or update()");
View Full Code Here

Examples of com.opengamma.engine.view.listener.CycleCompletedCall.update()

        // Result collapsing
        if (_cycleCompletedIndex != -1) {
          // There's an old cycle completed call in the queue - find it and move to end
          CycleCompletedCall cycleCompletedCall = pullCallToEnd(_cycleCompletedIndex);
          // Merge new cycle completed call into old one
          cycleCompletedCall.update(fullResult, deltaResult);
        } else {
          // No existing cycle completed call - add new one
          CycleCompletedCall cycleCompletedCall = new CycleCompletedCall(fullResult, deltaResult);
          _cycleCompletedIndex = _callQueue.size();
          _callQueue.add(cycleCompletedCall);
View Full Code Here

Examples of com.opengamma.engine.view.listener.CycleFragmentCompletedCall.update()

      } else {
        if (_cycleFragmentCompletedIndex != -1) {
          // There's an old fragment completed call in the queue - find it and move to end
          CycleFragmentCompletedCall cycleFragmentCompletedCall = pullCallToEnd(_cycleFragmentCompletedIndex);
          // Merge new fragment completed call into old one
          cycleFragmentCompletedCall.update(fullFragment, deltaFragment);
        } else {
          // No existing fragment completed call - add new one
          CycleFragmentCompletedCall cycleFragmentCompletedCall = new CycleFragmentCompletedCall(fullFragment, deltaFragment);
          _cycleFragmentCompletedIndex = _callQueue.size();
          _callQueue.add(cycleFragmentCompletedCall);
View Full Code Here

Examples of com.opengamma.master.config.ConfigMaster.update()

    ConfigItem<ScenarioDefinition> configItem = ConfigItem.of(scenario.createDefinition(), scenario.getName());
    if (getCommandLine().hasOption('i')) {
      ObjectId scenarioId = ObjectId.parse(getCommandLine().getOptionValue('i'));
      UniqueId latestScenarioId = configSource.get(scenarioId, VersionCorrection.LATEST).getUniqueId();
      configItem.setUniqueId(latestScenarioId);
      configMaster.update(new ConfigDocument(configItem));
    } else {
      configMaster.add(new ConfigDocument(configItem));
    }
  }
View Full Code Here

Examples of com.opengamma.master.exchange.ExchangeMaster.update()

    final ExchangeSearchResult result = master.search(request);
    if (result.getFirstDocument() != null) {
      //System.out.println("Updating " + exchange.getName());
      final ExchangeDocument document = result.getFirstDocument();
      document.setExchange(exchange);
      master.update(document);
    } else {
      //System.out.println("Adding " + exchange.getName());
      master.add(new ExchangeDocument(exchange));
    }
  }
View Full Code Here

Examples of com.opengamma.master.holiday.HolidayMaster.update()

    final HolidaySearchResult result = master.search(request);
    if (result.getFirstDocument() != null) {
      //System.out.println("Updating " + calendar.getType());
      final HolidayDocument document = result.getFirstDocument();
      document.setHoliday(calendar);
      master.update(document);
    } else {
      //System.out.println("Adding " + calendar.getType());
      master.add(new HolidayDocument(calendar));
    }
  }
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.