Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WriterThread (0.24 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
    
            w.join(2000);
            assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel");
        }
    
        @Test
        @DisplayName("WriterThread surfaces SmbException via checkException")
        void writerThread_propagates_exception() throws Exception {
            // Arrange
            WriterThread w = new WriterThread();
            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

            }
        }
    
    }
    
    class WriterThread extends Thread {
    
        private byte[] b;
        private int n;
        private boolean ready;
        private SmbFileOutputStream out;
    
        private SmbException e = null;
    
        WriterThread() {
            super("JCIFS-WriterThread");
            this.ready = false;
        }
    
        /**
         * @return the ready
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        class WriterThread extends Thread {
            byte[] b;
            int n;
            long off;
            boolean ready;
            SmbFile dest;
            SmbException e = null;
            boolean useNTSmbs;
            SmbComWriteAndX reqx;
            SmbComWrite req;
            ServerMessageBlock resp;
    
            WriterThread() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                 */
                if (this.fileLocator.overlaps(dest.getLocator())) {
                    throw new SmbException("Source and destination paths overlap.");
                }
    
                final WriterThread w = new WriterThread();
                w.setDaemon(true);
    
                try {
                    w.start();
                    // use commonly acceptable buffer size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top