Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 396 for _clone (0.06 sec)

  1. 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)
  2. 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)
  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;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	zipFile, err := os.Create("format.json.zip")
    	if err != nil {
    		log.Fatalf("failed to create format.json.zip: %v", err)
    	}
    	defer zipFile.Close()
    	fmtZipW := zip.NewWriter(zipFile)
    	defer fmtZipW.Close()
    	for _, pool := range pools { // for each pool
    		setCount, setDriveCount := pool.SetCount, pool.DrivesPerSet
    		format := newFormatErasureV3(setCount, setDriveCount)
    		format.ID = deploymentID
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. README.md

     - [OGNL](https://github.com/codelibs/fess-script-ognl)
    
    ## Development Information
    
    ### Get Source Code
    
    1. Clone Fess's repository:
        ```
        $ cd ~/workspace
        $ git clone https://github.com/codelibs/fess.git
        ```
        
    2. Import the cloned repository as a [Maven](https://maven.apache.org/) project on [Eclipse](https://www.eclipse.org/eclipseide/) or another IDE.
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 06:34:32 UTC 2025
    - 7.2K bytes
    - Viewed (2)
  8. 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)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

      fun request(): Request
    
      /**
       * Invokes the request immediately, and blocks until the response can be processed or is in error.
       *
       * To avoid leaking resources callers should close the [Response] which in turn will close the
       * underlying [ResponseBody].
       *
       * ```java
       * // ensure the response (and underlying response body) is closed
       * try (Response response = client.newCall(request).execute()) {
       *   ...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/hotfixes.md

    ```
    commit 4f3317effea38c203c358af9cb5ce3c0e4173976
    Author: Klaus Post <******@****.***>
    Date:   Mon Nov 8 08:41:27 2021 -0800
    
        Close stream on panic (#13605)
    
        Always close streamHTTPResponse on panic on main thread to avoid
        write/flush after response handler has returned.
    ```
    
    ```
    λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top