Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 863 for _clone (0.41 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *     [chunked][newChunkedSink].
     *  3. Write to and then close that sink.
     *  4. [Read response headers][readResponseHeaders].
     *  5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],
     *     [chunked][newChunkedSource] or [unknown][newUnknownLengthSource].
     *  6. Read from and close that source.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            InOrder inOrder = inOrder(handle, fd, tree);
            inOrder.verify(handle, times(1)).ensureOpen();
            inOrder.verify(fd, times(1)).getTree();
            inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY));
            verify(fd, times(1)).close();
            verify(tree, times(1)).close();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top