- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 727 for cloned (0.06 seconds)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertArrayEquals(originalPassword, clonedPassword, "Cloned password content should match"); // Wipe original - should not affect clone authenticator.secureWipePassword(); char[] originalAfterWipe = (char[]) passwordField.get(authenticator); char[] clonedAfterWipe = (char[]) passwordField.get(cloned);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (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());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
@Override protected byte[] getNTHash() { return this.ntHash; } @Override public NtlmPasswordAuthenticator clone() { final NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone()); cloneInternal(cloned, this); return cloned; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 2.6K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
return this.context; } @Override public NtlmPasswordAuthentication clone() { final NtlmPasswordAuthentication cloned = new NtlmPasswordAuthentication(); cloneInternal(cloned, this); return cloned; } /** * Clone internal fields from one NtlmPasswordAuthentication to another. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Cast and check we can call clone() from CredentialsInternal contract CredentialsInternal ci = (CredentialsInternal) impl; CredentialsInternal cloned = ci.clone(); assertNotNull(cloned, "clone() should return a non-null CredentialsInternal"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* for this call will not be included on the cloned call. If necessary you may manually copy over * specific tags by re-computing them: * * ```kotlin * val copy = original.clone() * * val myTag = original.tag(MyTag::class) * if (myTag != null) { * copy.tag(MyTag::class) { myTag } * } * ``` * * ```java * Call copy = original.clone(); *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
server.enqueue(MockResponse(body = "def")) val request = Request(server.url("/")) val call = client.newCall(request) val response1 = call.execute() val cloned = call.clone() val response2 = cloned.execute() assertThat("abc").isEqualTo(response1.body.string()) assertThat("def").isEqualTo(response2.body.string()) } @Test @Flaky fun testMockWebserverRequest() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
* * @author Kevin Bourrillion * @author Dimitris Andreou */ @Immutable final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable { @SuppressWarnings("Immutable") // cloned before each use private final MessageDigest prototype; private final int bytes; private final boolean supportsClone; private final String toString;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0)