Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for run (0.11 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

                    break;
            }
    
            if (ioe != null)
                throw ioe;
        }
        public void run() {
            Thread run_thread = Thread.currentThread();
            Exception ex0 = null;
    
            try {
                /* We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

            if ( ioe != null )
                throw ioe;
    
            return false;
        }
    
    
        @Override
        public void run () {
            Thread run_thread = Thread.currentThread();
            Exception ex0 = null;
    
            try {
                /*
                 * We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

            this.b = buffer;
            this.n = len;
            this.out = d;
            this.ready = false;
            notify();
        }
    
    
        @Override
        public void run () {
            synchronized ( this ) {
                try {
                    for ( ;; ) {
                        notify();
                        this.ready = true;
                        while ( this.ready ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ConcurrencyTest.java

                    this.shutdownLock.notify();
                }
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see java.lang.Runnable#run()
             */
            @Override
            public void run () {
                try {
                    SmbResource f = this.file;
                    f.createNewFile();
                    try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                    /* On NT without Unicode the fileNameLength
                     * includes the '\0' whereas on win98 it doesn't. I
                     * guess most clients only support non-unicode so
                     * they don't run into this.
                     */
        
        /* UPDATE: Maybe not! Could this be a Unicode alignment issue. I hope
         * so. We cannot just comment out this method and use readString of
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/AbstractCIFSContext.java

                Runtime.getRuntime().removeShutdownHook(this);
            }
            return false;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Thread#run()
         */
        @Override
        public void run () {
            try {
                this.closed = true;
                close();
            }
            catch ( CIFSException e ) {
                log.warn("Failed to close context on shutdown", e);
    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)
  7. src/main/java/jcifs/smb1/smb1/TestLocking.java

    public class TestLocking implements Runnable
    {
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        public void run()
        {
            try {
                SmbFile f = new SmbFile(url);
                SmbFile d = new SmbFile(f.getParent());
                byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
    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)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

            if ( s != null ) {
                try {
                    return Subject.doAs(s, new PrivilegedExceptionAction<byte[]>() {
    
                        @Override
                        public byte[] run () throws Exception {
                            return ctx.initSecContext(token, 0, token == null ? 0 : token.length);
                        }
    
                    });
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/BaseCIFSTest.java

    
        protected BaseCIFSTest ( String name, Map<String, String> properties ) {
            this.name = name;
            this.properties = properties;
        }
    
    
        /**
         * 
         * @return configuration to run
         */
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs();
        }
    
    
        /**
         * @param mutations
         * @return
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    this.socket = null;
                }
                this.thread = null;
                this.responseTable.clear();
            }
        }
    
    
        @Override
        public void run () {
            try {
                while ( this.thread == Thread.currentThread() ) {
                    this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize());
    
    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)
Back to top