Examples of update()


Examples of com.sun.xml.ws.security.opt.crypto.dsig.internal.HmacSHA1.update()

        keyof160bits = generate160BitKey(password, iteration, reqsalt);
        keySpec = new SecretKeySpec(keyof160bits, "AES");

        HmacSHA1 mac = new HmacSHA1();
        mac.init((Key) keySpec, keylength);
        mac.update(data);

        byte[] signature = mac.sign();

        return signature;
View Full Code Here

Examples of com.supercookie.deathrace.road.Road.update()

            public void render(float v) {
                GL20 gl = Gdx.graphics.getGL20();
                gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
                fps.setText("" + Gdx.graphics.getFramesPerSecond());

                road.update(v);
                road.render(stage.getCamera());

                stage.act();
                stage.draw();
            }
View Full Code Here

Examples of com.taobao.tdhs.client.easy.Query.update()

                }
            }
        }
        TDHSResponse response = null;
        try {
            response = query.update();
        } catch (TDHSException e) {
            throw new SQLException(e);
        }
        processResponse(response, true);
    }
View Full Code Here

Examples of com.trevor.king.Snake.graphics.Splash.update()

        double startTime = System.currentTimeMillis();
        double currentTime = startTime;

        while (currentTime - startTime < SPLASH_TIME) {
            splash.update((int) ((currentTime - startTime)));
            render();
            currentTime = System.currentTimeMillis();
        }

        screen.clear();
View Full Code Here

Examples of com.trilead.ssh2.crypto.digest.MD5.update()

    /**
     * Compresses a string into an integer with MD5.
     */
    private int md5(String s) {
        MD5 md5 = new MD5();
        md5.update(s.getBytes());
        byte[] digest = new byte[16];
        md5.digest(digest);

        // 16 bytes -> 4 bytes
        for (int i=0; i<4; i++)
View Full Code Here

Examples of com.tubeonfire.model.TagModel.update()

        if (tmpTag != null) {
          tmpTag.setCount(tmpTag.getCount() + 1);
          listTubeId.addAll(tmpTag.getListTubeId());
          listTubeId.add(new Text(this.tubeId));
          tmpTag.setListTubeId(listTubeId);
          tagModel.update(tmpTag);
          tagModel.closePM();
        } else {
          tmpTag = new Tag();
          listTubeId.add(new Text(this.tubeId));
          tmpTag.setListTubeId(listTubeId);
View Full Code Here

Examples of com.twmacinta.util.MD5.Update()

      MD5 md5 = new MD5();
      StringBuilder toHash = new StringBuilder(BASE_KEY_LENGTH);
      if (context instanceof CacheContextImpl) {
        CacheContextImpl cci = (CacheContextImpl) context;
        for (Map.Entry<String, Object> entry : cci.entries()) {
          md5.Update(entry.getKey(), ENCODING);
          md5.Update(":");
          if (log.isDebugEnabled()) {
            toHash.append(entry.getKey());
            toHash.append(":");
          }
View Full Code Here

Examples of com.vmware.aurora.vc.VcDatastore.update()

               return true;
            }

            @Override
            protected Void body() throws Exception {
               ds.update();
               return null;
            }
         });
      } catch (Exception e) {
         logger.info("failed to update datastore " + ds.getName()
View Full Code Here

Examples of com.vmware.aurora.vc.VcHost.update()

      case EnteredMaintenanceMode:
      case ExitMaintenanceMode:
      case HostDisconnected: {
         Thread.sleep(2000);
         VcHost host = VcCache.getIgnoreMissing(he.getHost().getHost());
         host.update();
         for (NodeEntity node : nodes) {
            String moId = node.getMoId();
            if (moId == null) {
               continue;
            }
View Full Code Here

Examples of com.vmware.aurora.vc.VcVirtualMachine.update()

            case VmConnected: {
               VcVirtualMachine vm = VcCache.getIgnoreMissing(moRef);
               if (vm == null) {
                  return false;
               }
               vm.update();
               break;
            }
            case VmResourcePoolMoved: {
               VmResourcePoolMovedEvent event = (VmResourcePoolMovedEvent) e;
               VcCache.refresh(event.getOldParent().getResourcePool());
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.