- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,230 for clone (0.05 sec)
-
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) -
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) -
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) -
cmd/format-erasure_test.go
} } format := newFormatErasureV3(1, 8) format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1 formats := make([]*formatErasureV3, 8) for j := 0; j < 8; j++ { 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 = ""
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0) -
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() for k, v := range set { setCopy[k] = v } return setCopy } // add - adds TargetID to the set.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
protected byte[] getNTHash () { return this.ntHash; } @Override public NtlmPasswordAuthenticator clone () { NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone()); cloneInternal(cloned, this); return cloned; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 2.5K bytes - Viewed (0) -
internal/event/rulesmap.go
for _, name := range eventName.Expand() { rulesMap[name] = rulesMap[name].Union(rules) } } } // Clone - returns copy of this rules map. func (rulesMap RulesMap) Clone() RulesMap { rulesMapCopy := make(RulesMap) for eventName, rules := range rulesMap { rulesMapCopy[eventName] = rules.Clone() } return rulesMapCopy } // Add - adds given rules map. func (rulesMap RulesMap) Add(rulesMap2 RulesMap) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
@Override public MavenSession clone() { try { MavenSession clone = (MavenSession) super.clone(); // the default must become the current project of the thread that clones this MavenProject current = getCurrentProject(); // we replace the thread local of the clone to prevent write through and enforce the new default value
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.5K bytes - Viewed (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@v4 - id: setup-matrix run: echo "matrix=$(jq -c -f .github/workflows/extract-unit-test-split.jq .teamcity/subprojects.json)" >> $GITHUB_OUTPUT - name: setup java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 18:32:33 UTC 2024 - 3.9K bytes - Viewed (0)