Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 597 for cloned (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java

        /**
         * Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the
         * caller intends to make updates to the model the return value must be cloned before updating to ensure the
         * modifications don't affect future retrievals of the super POM.
         *
         * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top