Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 320 for clone (0.04 sec)

  1. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    this.endDate = this.startDate.clone();
    
                if (this.maxDate && this.endDate.isAfter(this.maxDate))
                    this.endDate = this.maxDate.clone();
    
                if (this.maxSpan && this.startDate.clone().add(this.maxSpan).isBefore(this.endDate))
                    this.endDate = this.startDate.clone().add(this.maxSpan);
    
                this.previousRightTime = this.endDate.clone();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            clone.setResolved(artifact.isResolved());
            clone.setFile(artifact.getFile());
    
            clone.setAvailableVersions(copyList(artifact.getAvailableVersions()));
            if (artifact.getVersion() != null) {
                clone.setBaseVersion(artifact.getBaseVersion());
            }
            clone.setDependencyFilter(artifact.getDependencyFilter());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        /**
         * Method clone.
         *
         * @return InputSource
         */
        public InputSource clone() {
            try {
                InputSource copy = (InputSource) super.clone();
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
                        new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. gorm.go

    	if sqldb, ok := connPool.(*sql.DB); ok && sqldb != nil {
    		return sqldb, nil
    	}
    
    	return nil, ErrInvalidDB
    }
    
    func (db *DB) getInstance() *DB {
    	if db.clone > 0 {
    		tx := &DB{Config: db.Config, Error: db.Error}
    
    		if db.clone == 1 {
    			// clone with new statement
    			tx.Statement = &Statement{
    				DB:        tx,
    				ConnPool:  db.Statement.ConnPool,
    				Context:   db.Statement.Context,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            List<ComponentDescriptor<?>> clones = null;
            if (mojos != null) {
                clones = new ArrayList<>(mojos.size());
                for (MojoDescriptor mojo : mojos) {
                    MojoDescriptor clone = mojo.clone();
                    clone.setPluginDescriptor(pluginDescriptor);
                    clones.add(clone);
                }
            }
            return clones;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    	return hashPath(d.Info.Name)
    }
    
    // clone returns a copy of the cache with no references to the existing.
    func (d *dataUsageCache) clone() dataUsageCache {
    	clone := dataUsageCache{
    		Info:  d.Info,
    		Cache: make(map[string]dataUsageEntry, len(d.Cache)),
    	}
    	for k, v := range d.Cache {
    		clone.Cache[k] = v.clone()
    	}
    	return clone
    }
    
    // merge root of other into d.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
         * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use
         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/bucket-stats.go

    func (brs *BucketReplicationStats) Empty() bool {
    	return len(brs.Stats) == 0 && brs.ReplicaSize == 0
    }
    
    // Clone creates a new BucketReplicationStats copy
    func (brs BucketReplicationStats) Clone() (c BucketReplicationStats) {
    	// This is called only by replicationStats cache and already holds a
    	// read lock before calling Clone()
    
    	c = brs
    	// We need to copy the map, so we do not reference the one in `brs`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

        /**
         * Clones this resolver for usage in a forked resolution process. In general, implementors need not provide a deep
         * clone. The only requirement is that invocations of {@link #addRepository(Repository)} on the clone do not affect
         * the state of the original resolver and vice versa.
         *
         * @return The cloned resolver, never {@code null}.
         */
        ModelResolver newCopy();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          Integer[] copy = inputArrays[i & 0xFF].clone();
          sort(copy);
          tmp += copy[0];
        }
        return tmp;
      }
    
      @Benchmark
      int arraysSortOrderingNatural(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          Integer[] copy = inputArrays[i & 0xFF].clone();
          sort(copy, Ordering.natural());
          tmp += copy[0];
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top