- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 254 for cloneOf (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
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) -
statement_test.go
s := new(Statement) for w := 0; w < whereCount; w++ { s = s.clone() s.AddClause(clause.Where{ Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)), }) } s1 := s.clone() s1.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL1"), }) s2 := s.clone() s2.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL2"), })
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Dec 23 13:19:41 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/event/targetidset.go
package event import "maps" // TargetIDSet - Set representation of TargetIDs. type TargetIDSet map[TargetID]struct{} // 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.8K bytes - Click Count (0) -
cmd/metacache-entries.go
func (m metaCacheEntries) isSorted() bool { return sort.SliceIsSorted(m, m.less) } // shallowClone will create a shallow clone of the array objects, // but object metadata will not be cloned. func (m metaCacheEntries) shallowClone() metaCacheEntries { dst := make(metaCacheEntries, len(m)) copy(dst, m) return dst } type metadataResolutionParams struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
cmd/tier-last-day-stats.go
l.Bins[lastIdx] = tierStats{} } } func (l *lastDayTierStats) clone() lastDayTierStats { clone := lastDayTierStats{ UpdatedAt: l.UpdatedAt, } copy(clone.Bins[:], l.Bins[:]) return clone } func (l lastDayTierStats) merge(m lastDayTierStats) (merged lastDayTierStats) { cl := l.clone() cm := m.clone() if cl.UpdatedAt.After(cm.UpdatedAt) { cm.forwardTo(cl.UpdatedAt)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 19 22:54:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
} @Test @DisplayName("clone returns a distinct copy with same properties") void clone_returns_copy() { // Arrange Subject subject = new Subject(); TestCredentials creds = new TestCredentials("A", true, false, subject, false); // Act TestCredentials copy = creds.clone(); // AssertCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
.github/workflows/contributor-pr.yml
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true permissions: {} jobs: build: name: "Compile All" permissions: contents: read runs-on: ubuntu-latest steps: - name: git clone uses: actions/checkout@v6 - id: setup-matrix run: echo "matrix=$(jq -c -f .github/workflows/extract-unit-test-split.jq .teamcity/subprojects.json)" >> $GITHUB_OUTPUT - name: setup javaCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Dec 14 14:03:48 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0) -
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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0)