- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 635 for clonan (0.04 seconds)
-
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/test/java/jcifs/util/SecureCredentialStorageTest.java
// Clean up Arrays.fill(plaintext, '\0'); Arrays.fill(decrypted, '\0'); } @Test public void testDifferentEncryptionsProduceDifferentCiphertexts() throws Exception { char[] plaintext = "SamePassword".toCharArray(); // Encrypt twice byte[] encrypted1 = storage.encryptCredentials(plaintext.clone());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (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; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K 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) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
MavenProject clonedProject = projectToClone.clone(); assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone"); assertEquals( projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone"); } @Test void testUndefinedOutputDirectory() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 9.3K 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) -
guava/src/com/google/common/hash/MacHashFunction.java
/** * {@link HashFunction} adapter for {@link Mac} instances. * * @author Kurt Alfred Kluever */ @Immutable final class MacHashFunction extends AbstractHashFunction { @SuppressWarnings("Immutable") // cloned before each use private final Mac prototype; @SuppressWarnings("Immutable") // keys are immutable, but not provably so private final Key key; private final String toString; private final int bits;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K 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) -
android/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) -
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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0)