Examples of makeCopy()


Examples of org.hibernate.LockOptions.makeCopy()

    // user is request locking, lets see if we can apply locking directly to the SQL...

    //     some dialects wont allow locking with paging...
    afterLoadActions.add(
        new AfterLoadAction() {
          private final LockOptions originalLockOptions = lockOptions.makeCopy();
          @Override
          public void afterLoad(SessionImplementor session, Object entity, Loadable persister) {
            ( (Session) session ).buildLockRequest( originalLockOptions ).lock( persister.getEntityName(), entity );
          }
        }
View Full Code Here

Examples of org.hibernate.LockOptions.makeCopy()

    // user is request locking, lets see if we can apply locking directly to the SQL...

    //     some dialects wont allow locking with paging...
    afterLoadActions.add(
        new AfterLoadAction() {
          private final LockOptions originalLockOptions = lockOptions.makeCopy();
          @Override
          public void afterLoad(SessionImplementor session, Object entity, Loadable persister) {
            ( (Session) session ).buildLockRequest( originalLockOptions ).lock( persister.getEntityName(), entity );
          }
        }
View Full Code Here

Examples of org.hibernate.LockOptions.makeCopy()

    // user is request locking, lets see if we can apply locking directly to the SQL...

    //     some dialects wont allow locking with paging...
    afterLoadActions.add(
        new AfterLoadAction() {
          private final LockOptions originalLockOptions = lockOptions.makeCopy();
          @Override
          public void afterLoad(SessionImplementor session, Object entity, Loadable persister) {
            ( (Session) session ).buildLockRequest( originalLockOptions ).lock( persister.getEntityName(), entity );
          }
        }
View Full Code Here

Examples of org.jwildfire.create.tina.base.Flame.makeCopy()

          int layerIdx = data.layersTable.getSelectedRow();
          Layer layer = currMutation.getLayers().get(layerIdx);
          mutationType.createMutationInstance().execute(layer);
        }

        SimpleImage renderedImg = renderRandomizedFlame(currMutation.makeCopy(), probeSize);
        double coverage = renderedImg != null ? RandomFlameGeneratorSampler.calculateCoverage(renderedImg, 0, 0, 0, true) : INVALID_COVERAGE;
        if (coverage > MIN_RENDER_COVERAGE) {
          coverage = RandomFlameGeneratorSampler.calculateDiffCoverage(renderedImg, simplifiedBaseFlameImg);
        }
        if (coverage > MIN_DIFF_COVERAGE) {
View Full Code Here

Examples of org.jwildfire.create.tina.base.Flame.makeCopy()

        List<Flame> mutations = new ArrayList<Flame>();
        initProgress(rows, cols);
        int centreX = rows / 2;
        int centreY = cols / 2;

        SimpleImage baseFlameImg = renderFlame(baseFlame.makeCopy(), probeSize, false);
        SimpleImage simplifiedBaseFlameImg = RandomFlameGeneratorSampler.createSimplifiedRefImage(baseFlameImg);

        int step = 0;
        for (int i = 0; i < rows; i++) {
          for (int j = 0; j < cols; j++) {
View Full Code Here

Examples of org.jwildfire.create.tina.base.Flame.makeCopy()

              Flame bestMutation = null;
              while (true) {
                Flame currMutation = baseFlame.makeCopy();
                List<MutationType> mutationTypes = createMutationTypes(x, y);
                modifyFlame(currMutation, x, y, mutationTypes);
                renderedImg = renderFlame(currMutation.makeCopy(), probeSize, true);
                double coverage = renderedImg != null ? RandomFlameGeneratorSampler.calculateCoverage(renderedImg, 0, 0, 0, true) : INVALID_COVERAGE;
                if (coverage > MIN_RENDER_COVERAGE) {
                  coverage = RandomFlameGeneratorSampler.calculateDiffCoverage(renderedImg, simplifiedBaseFlameImg);
                }
                if (coverage > MIN_DIFF_COVERAGE) {
View Full Code Here

Examples of org.python.pydev.core.IInterpreterInfo.makeCopy()

            IInterpreterInfo[] array = interpreterManager.getInterpretersFromPersistedString(s);
            clearInfos();
            for (int i = 0; i < array.length; i++) {
                IInterpreterInfo interpreterInfo = array[i];
                createInterpreterItem(interpreterInfo.getName(), interpreterInfo.getExecutableOrJar());
                this.nameToInfo.put(interpreterInfo.getName(), interpreterInfo.makeCopy());
            }
        }
        updateTree();
    }
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.io.fs.FSCommitter.makeCopy()

                dstResource.getUserName());
       
        String srcPath = srcResource.getResourceURI().getPath();
        String dstPath = dstResource.getResourceURI().getPath();
        try {
            committer.makeCopy((FSRevisionRoot) srcResource.getRoot(), srcPath, dstPath, true);
        } catch (SVNException svne) {
            throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                    "Unable to make a filesystem copy.", null);
        }
       
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.io.fs.FSCommitter.makeCopy()

                dstResource.getUserName());
       
        String srcPath = srcResource.getResourceURI().getPath();
        String dstPath = dstResource.getResourceURI().getPath();
        try {
            committer.makeCopy((FSRevisionRoot) srcResource.getRoot(), srcPath, dstPath, true);
        } catch (SVNException svne) {
            throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                    "Unable to make a filesystem copy.", null);
        }
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.