- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for cloneOf (0.06 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
return restrictions; } /** * @deprecated VersionRange is immutable, cloning is not useful and even more an issue against the cache * @return a clone */ @Deprecated public VersionRange cloneOf() { List<Restriction> copiedRestrictions = null; if (restrictions != null) { copiedRestrictions = new ArrayList<>();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
orig.refresh(); // Clone should retain its cached Subject assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject"); } else { // If JAAS is not configured and getSubject() returns null, verify cloning still works assertNull(first, "First call to getSubject() returned null - JAAS not configured");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator cloned = auth.clone(); assertNotSame(auth, cloned); assertEquals(subj, cloned.getSubject()); assertEquals("alice", cloned.getUser()); assertEquals("EXAMPLE.COM", cloned.getRealm()); assertEquals("cifs", cloned.getService()); assertEquals(123, cloned.getUserLifeTime()); assertEquals(456, cloned.getLifeTime());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
*/ protected static void cloneInternal(NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone) { cloned.domain = toClone.domain; cloned.username = toClone.username; cloned.password = toClone.password != null ? toClone.password.clone() : null; cloned.type = toClone.type; } /** * Returns the domain. */ @Override public String getUserDomain() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
List<ComponentDescriptor<?>> clones = null; if (mojos != null) { clones = new ArrayList<>(mojos.size()); for (MojoDescriptor mojo : mojos) { MojoDescriptor clone = mojo.clone(); clone.setPluginDescriptor(pluginDescriptor); clones.add(clone); } } return clones; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
when(mockMd5.clone()).thenReturn(clonedMd5); HMACT64 clonedHmac = (HMACT64) originalHmac.clone(); assertNotNull(clonedHmac); assertNotSame(originalHmac, clonedHmac); verify(mockMd5, times(1)).clone(); // Verify that the internal MD5 was cloned } } @Test void testCloneNotSupportedException() throws NoSuchAlgorithmException, CloneNotSupportedException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertEquals(original.getUsername(), cloned.getUsername()); assertEquals(original.getPassword(), cloned.getPassword()); // Verify password arrays are independent original.secureWipePassword(); assertNull(original.getPassword()); assertEquals("ClonePass123!", cloned.getPassword()); } /** * Test authentication type guessing with secure password
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K 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/identity/openid/openid.go
pubKeys publicKeys roleArnPolicyMap map[arn.ARN]string transport http.RoundTripper closeRespFn func(io.ReadCloser) } // Clone returns a cloned copy of OpenID config. func (r *Config) Clone() Config { if r == nil { return Config{} } cfg := Config{ Enabled: r.Enabled, arnProviderCfgsMap: make(map[arn.ARN]*providerCfg, len(r.arnProviderCfgsMap)),
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.3K bytes - Viewed (0) -
cmd/postpolicyform_test.go
{ name: "happy path no errors", fv: defaultFormVals.Clone(), wantErr: "", }, { name: "expired policy document", fv: defaultFormVals.Clone(), expired: true, wantErr: "Invalid according to Policy: Policy expired", }, { name: "different AMZ date", fv: defaultFormVals.Clone().Set(xhttp.AmzDate, "2017T000000Z"), wantErr: policyCondFailedErr, },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0)