Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 861 for _clone (0.03 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

          private var closed = false
    
          override fun close() {
            if (closed) return
            try {
              super.close()
            } finally {
              closedLatch.countDown()
            }
          }
        }.buffer()
    
      override val sink: BufferedSink =
        object : ForwardingSink(delegate.sink) {
          private var closed = false
    
          override fun close() {
            if (closed) return
            try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            handle.close(); // First close
            handle.close(); // Second close
    
            // Verify sendrecv for close was called only once
            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
        void testClose_SmbExceptionOnClose() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    	}
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(h); err != nil {
    		t.Fatalf("unexpected CreateHeader error: %v", err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("unexpected Close error: %v", err)
    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

                return invocation.getArgument(1);
            });
    
            // When: Create iterator and close multiple times
            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, null);
    
            iterator.close();
            iterator.close(); // Second close should be safe
    
            // Then: Tree handle should be released only once
            verify(treeHandle, times(1)).release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. buildscripts/resolve-right-versions.sh

    	export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/"
    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	MC_BUILD_DIR="mc-$RANDOM"
    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    		purge "${MC_BUILD_DIR}"
    		exit 1
    	fi
    
    	(cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc")
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbWatchHandleTest.java

                executor.shutdown();
            }
        }
    
        /**
         * Test close() method
         */
        @Test
        void testClose() throws CIFSException {
            // Execute
            watchHandle.close();
    
            // Verify close was called
            verify(watchHandle, times(1)).close();
        }
    
        /**
         * Test close() method throwing CIFSException
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        void testClose_True() throws CIFSException {
            // Test close() method when true
            when(mockDelegate.close()).thenReturn(true);
            assertTrue(cifsContextWrapper.close());
            verify(mockDelegate).close();
        }
    
        @Test
        void testClose_False() throws CIFSException {
            // Test close() method when false
            when(mockDelegate.close()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. .github/workflows/stale-issues.yml

    # limitations under the License.
    # ============================================================================
    
    name: Close inactive issues
    on:
      schedule:
        - cron: "30 1 * * *"
    
    permissions:
      contents: read
    
    jobs:
      close-issues:
        # Don't do this in forks
        if: github.repository == 'tensorflow/tensorflow'
        runs-on: ubuntu-latest
        permissions:
          issues: write
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Feb 01 08:42:17 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Close request message. This command is used to close a file or directory
     * that was previously opened.
     *
     * @author mbechler
     *
     */
    public class Smb2CloseRequest extends ServerMessageBlock2Request<Smb2CloseResponse> implements RequestWithFileId {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            TestIterator iterator = new TestIterator(null);
            iterator.close();
    
            verify(delegate).close();
        }
    
        @Test
        @DisplayName("Close propagates exception")
        void closeException() throws CIFSException {
            when(delegate.hasNext()).thenReturn(false);
            doThrow(new CIFSException("Close failed")).when(delegate).close();
    
            TestIterator iterator = new TestIterator(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top