Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 305 for cloneOf (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

                        descriptors.putIfAbsent(key, clone(desc));
                    }
                }
            }
            return clone(desc);
        }
    
        @Override
        public void put(Key cacheKey, PluginDescriptor pluginDescriptor) {
            descriptors.put(cacheKey, clone(pluginDescriptor));
        }
    
        protected static PluginDescriptor clone(PluginDescriptor original) {
            return new PluginDescriptor(original);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. internal/config/lambda/event/targetidset.go

    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    	maps.Copy(setCopy, set)
    	return setCopy
    }
    
    // add - adds TargetID to the set.
    func (set TargetIDSet) add(targetID TargetID) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = "SamePassword".toCharArray();
    
            // Encrypt twice
            byte[] encrypted1 = storage.encryptCredentials(plaintext.clone());
            byte[] encrypted2 = storage.encryptCredentials(plaintext.clone());
    
            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	var cfgList []madmin.IDPListItem
    	var err error
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.OpenIDConfig.GetConfigList(cfg)
    	case madmin.LDAPIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.LDAPConfig.GetConfigList(cfg)
    
    	default:
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SecurityBlob.java

                return 0;
            }
            return this.b.length;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#clone()
         */
        @Override
        protected Object clone() throws CloneNotSupportedException {
            return new SecurityBlob(this.b.clone());
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method clone.
         *
         * @return InputLocation
         */
        public InputLocation clone() {
            try {
                InputLocation copy = (InputLocation) super.clone();
    
                if (copy.locations != null) {
                    copy.locations = new java.util.LinkedHashMap(copy.locations);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func Clone //deprecated
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, method (Pair[$0, $1]) Second() $1
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 24 16:04:17 GMT 2025
    - 329 bytes
    - Click Count (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`.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         * Returns a defensive copy to prevent external modification.
         *
         * @return The new input words (defensive copy).
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the new input words.
         *
         * @param newInputs The new input words.
         */
        public void setNewInputs(final String[] newInputs) {
            this.newInputs = newInputs;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                if (tgt.isEmpty()) {
                    List<Exclusion> src = source.getExclusions();
    
                    for (Exclusion element : src) {
                        Exclusion clone = element.clone();
                        target.addExclusion(clone);
                    }
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top