- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 384 for Clone (0.02 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
parent = parent.clone(); parent.setPomFile(null); child = child.clone(); child.setPomFile(null); } SimpleProblemCollector problems = new SimpleProblemCollector(); Model assembled = child.clone(); assembler.assembleModelInheritance(assembled, parent, null, problems);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.2K bytes - Viewed (0) -
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java
return ModelData.class; } @Override public ModelData intoCache(ModelData data) { Model model = (data.getModel() != null) ? data.getModel().clone() : null; return new ModelData(data.getSource(), model, data.getGroupId(), data.getArtifactId(), data.getVersion()); } @Override public ModelData fromCache(ModelData data) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
} } /* * Notes on EnumSet and <E extends Enum<E>>: * * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java
public String getRoleHint() { return roleHint; } /** * Creates a shallow copy of this requirement. */ @Override public Requirement clone() { try { return (Requirement) super.clone(); } catch (CloneNotSupportedException e) { throw new UnsupportedOperationException(e); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test public void testPasswordConstructorWithCharArray() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K 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 valueRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
internal/config/subnet/config.go
// inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil { if tr, ok := transport.(*http.Transport); ok { ctransport := tr.Clone() ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL)) cfg.transport = ctransport } } else { cfg.transport = transport }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.9K bytes - Viewed (0) -
util/update_snapshot_docs.sh
#!/bin/bash set -e -u echo "Publishing Javadoc and JDiff..." cd $HOME git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null cd gh-pages git config --global user.name "$GITHUB_ACTOR" git config --global user.email "$******@****.***" ./updaterelease.sh snapshot git push -fq origin gh-pages > /dev/nullRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Mar 16 16:48:28 UTC 2021 - 439 bytes - Viewed (0)