Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 870 for _clone (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        server!!.enqueue(MockResponse())
        server!!.enqueue(MockResponse())
    
        client
          .newCall(Request(server!!.url("/")))
          .execute()
          .close()
    
        client
          .newCall(Request(server!!.url("/")))
          .execute()
          .close()
    
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java

    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation for closing
     * LSA policy handles when they are no longer needed.
     */
    public class MsrpcLsarClose extends lsarpc.LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param policyHandle the policy handle to close
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ResourceManager.java

                    AutoCloseable resource = holder.resourceRef.get();
                    if (resource != null) {
                        try {
                            log.warn("Auto-closing abandoned resource: {} ({}, age: {} ms)", holder.resourceId, holder.resourceType,
                                    holder.getAge());
                            resource.close();
                            holder.closed = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EmptyIteratorTest.java

            }
        }
    
        @Test
        @DisplayName("EmptyIterator should handle close operations multiple times")
        void testMultipleCloseOperations() {
            // When & Then
            assertDoesNotThrow(() -> {
                try {
                    emptyIterator.close();
                    emptyIterator.close();
                    emptyIterator.close();
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/HMACT64Test.java

        }
    
        @Test
        void testClone() {
            // Test clone() method
            HMACT64 originalHmac = new HMACT64(TEST_KEY);
            originalHmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length / 2);
    
            HMACT64 clonedHmac = (HMACT64) originalHmac.clone();
    
            assertNotNull(clonedHmac);
            assertNotSame(originalHmac, clonedHmac);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/CredentialsInternal.java

     */
    public interface CredentialsInternal extends Cloneable, Credentials {
    
        /**
         * Create a copy of the credentials.
         * @return a copy of the credentials
         */
        CredentialsInternal clone();
    
        /**
         * Create an SSP context for authentication.
         * @param tc the CIFS context
         * @param targetDomain the target domain for authentication
         * @param host the target host
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashingOutputStream.java

      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

            } finally {
                super.finalize();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() {
            release();
        }
    
        /**
         *
         */
        public void release() {
            long usage = this.usageCount.decrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java

    import jcifs.dcerpc.msrpc.lsarpc.LsarClose;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation.
     */
    public class MsrpcLsarClose extends LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param handle the policy handle to close
         */
        public MsrpcLsarClose(final policy_handle handle) {
            super(handle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. cmd/metacache-stream_test.go

    	w := newMetacacheWriter(&buf, 1<<20)
    	defer w.Close()
    	err := r.readFn(func(object metaCacheEntry) bool {
    		err := w.write(object)
    		if err != nil {
    			t.Fatal(err)
    		}
    		return true
    	})
    	r.Close()
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    	err = w.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	r = newMetacacheReader(&buf)
    	defer r.Close()
    	names, err := r.readNames(-1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top