Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 863 for _clone (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. cmd/fmt-gen.go

    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	zipFile, err := os.Create("format.json.zip")
    	if err != nil {
    		log.Fatalf("failed to create format.json.zip: %v", err)
    	}
    	defer zipFile.Close()
    	fmtZipW := zip.NewWriter(zipFile)
    	defer fmtZipW.Close()
    	for _, pool := range pools { // for each pool
    		setCount, setDriveCount := pool.SetCount, pool.DrivesPerSet
    		format := newFormatErasureV3(setCount, setDriveCount)
    		format.ID = deploymentID
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. 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)
  6. cmd/format-erasure_test.go

    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := range 8 {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  8. mockwebserver/api/mockwebserver3.api

    	public final fun clearHeaders ()Lmockwebserver3/MockResponse$Builder;
    	public synthetic fun clone ()Ljava/lang/Object;
    	public fun clone ()Lmockwebserver3/MockResponse$Builder;
    	public final fun code (I)Lmockwebserver3/MockResponse$Builder;
    	public final fun doNotReadRequestBody ()Lmockwebserver3/MockResponse$Builder;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Sets the sequence number for this heartbeat.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. api/maven-api-metadata/src/main/mdo/metadata.mdo

      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.artifact.repository.metadata</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="metadata" java.clone="deep">
          <name>Metadata</name>
          <version>1.0.0+</version>
          <fields>
            <field xml.attribute="true" xml.tagName="modelVersion">
              <name>modelVersion</name>
              <version>1.1.0+</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
Back to Top