- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 571 for _clone (0.75 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
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() { return this.domain;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
api/go1.25.txt
pkg hash, type Cloner interface { BlockSize, Clone, Reset, Size, Sum, Write } #69521 pkg hash, type Cloner interface, BlockSize() int #69521 pkg hash, type Cloner interface, Clone() (Cloner, error) #69521 pkg hash, type Cloner interface, Reset() #69521 pkg hash, type Cloner interface, Size() int #69521 pkg hash, type Cloner interface, Sum([]uint8) []uint8 #69521 pkg hash, type Cloner interface, Write([]uint8) (int, error) #69521
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 02 16:09:57 UTC 2025 - 6.8K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob copy = assertDoesNotThrow(() -> (SecurityBlob) original.clone(), "clone() should not throw"); // Assert assertNotSame(original, copy, "clone should return a different instance"); assertTrue(original.equals(copy), "Cloned instance should be equal by content"); // Mutate original backing array; clone should remain based on previous snapshot data[0] = 99;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
} /** * Test clone with secure password */ @Test public void testCloneWithSecurePassword() { char[] testPassword = "ClonePass123!".toCharArray(); NtlmPasswordAuthenticator original = new NtlmPasswordAuthenticator("DOMAIN", "testuser", testPassword); NtlmPasswordAuthenticator cloned = original.clone(); // Verify cloned values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (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() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
char[] plaintext = "SamePassword".toCharArray(); // Encrypt twice byte[] encrypted1 = storage.encryptCredentials(plaintext.clone()); byte[] encrypted2 = storage.encryptCredentials(plaintext.clone()); // Should produce different ciphertexts due to random IV assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 2.6K bytes - Viewed (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"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)