Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Phread (0.17 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * exists and is not marked read-only. By default, resources are
         * considered to be read-only and therefore for <code>smb://</code>,
         * <code>smb://workgroup/</code>, and <code>smb://server/</code> resources
         * will be read-only.
         *
         * @return <code>true</code> if the resource exists is not marked
         *         read-only
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                Smb2QueryInfoResponse resp = withOpen(
                    th,
                    Smb2CreateRequest.FILE_OPEN,
                    SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.READ_CONTROL,
                    SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE,
                    req);
                return resp.getInfo(SecurityDescriptor.class);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                } else {
                    t.url = args[ai];
                }
            }
    
            Thread[] threads = new Thread[t.numThreads];
            int ti;
    
            for (ti = 0; ti < t.numThreads; ti++) {
                threads[ti] = new Thread(t);
                System.out.print(threads[ti].getName());
                threads[ti].start();
            }
    
            while (t.numComplete < t.numThreads) {
                long delay;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

                    Set<Thread> threadsAfter = new HashSet<>(Thread.getAllStackTraces().keySet());
                    threadsAfter.removeAll(threadsBefore);
    
                    Set<Thread> leaked = new HashSet<>();
                    for ( Thread t : threadsAfter ) {
                        if ( t.getName().startsWith("Transport") ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
    
        private static void interruptThreadSafely ( QueryThread thread ) {
            try {
                thread.interrupt();
            }
            catch ( SecurityException e ) {
                e.printStackTrace();
            }
        }
    
    
        private static void joinThread ( Thread thread ) {
            try {
                thread.join();
            }
            catch ( InterruptedException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            // be ignored; see tryClose comment.
            if( socket == null ) {
                socket = new DatagramSocket( lport, laddr );
                thread = new Thread( this, "JCIFS-NameServiceClient" );
                thread.setDaemon( true );
                thread.start();
            }
        }
        void tryClose() {
            synchronized( LOCK ) {
    
                /* Yes, there is the potential to drop packets
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/AbstractCIFSContext.java

    import jcifs.Credentials;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType;
    
    
    /**
     * @author mbechler
     *
     */
    public abstract class AbstractCIFSContext extends Thread implements CIFSContext {
    
        private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class);
        private boolean closed;
    
    
        /**
         * 
         */
        public AbstractCIFSContext () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if ( cfg.isTraceResourceUsage() ) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            }
            else {
                this.creationBacktrace = null;
            }
        }
    
    
        /**
         * @param cfg
         * @param fid
         * @param tree
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * may be necessary that an addition thread be used to read and
         * write to a Named Pipe.
         */
    
        public InputStream getNamedPipeInputStream() throws IOException {
            if( pipeIn == null ) {
                if(( pipeType & PIPE_TYPE_CALL ) == PIPE_TYPE_CALL ||
                        ( pipeType & PIPE_TYPE_TRANSACT ) == PIPE_TYPE_TRANSACT ) {
                    pipeIn = new TransactNamedPipeInputStream( this );
                } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
Back to top