Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for lock (0.19 sec)

  1. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

            if( pipe.pipeIn != null ) {
                TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn;
                synchronized( in.lock ) {
                    in.receive( buffer, bufferIndex, len );
                    in.lock.notify();
                }
            }
            return len;
        }
        public String toString() {
            return new String( "TransCallNamedPipeResponse[" + super.toString() + "]" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

            if( pipe.pipeIn != null ) {
                TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn;
                synchronized( in.lock ) {
                    in.receive( buffer, bufferIndex, len );
                    in.lock.notify();
                }
            }
            return len;
        }
        public String toString() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private static final String RO = Config.getProperty( "jcifs.smb1.resolveOrder" );
    
        private static LogStream log = LogStream.getInstance();
    
        private final Object LOCK = new Object();
    
        private int lport, closeTimeout;
        private byte[] snd_buf, rcv_buf;
        private DatagramSocket socket;
        private DatagramPacket in, out;
        private HashMap responseTable = new HashMap();
    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)
  4. src/main/java/jcifs/SmbConstants.java

        static final int DEFAULT_NOTIFY_BUF_SIZE = 1024;
    
        static final int DEFAULT_SSN_LIMIT = 250;
        static final int DEFAULT_CONN_TIMEOUT = 35000;
    
        static final int FLAGS_NONE = 0x00;
        static final int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        static final int FLAGS_RECEIVE_BUFFER_POSTED = 0x02;
        static final int FLAGS_PATH_NAMES_CASELESS = 0x08;
        static final int FLAGS_PATH_NAMES_CANONICALIZED = 0x10;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lock;
    
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

            Exception ex0 = null;
    
            try {
                /* We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                doConnect();
            } catch( Exception ex ) {
                ex0 = ex; // Defer to below where we're locked
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
        };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
        private final Map<Name, CacheEntry> addressCache = new HashMap<>();
        private final Set<Name> inFlightLookups = new HashSet<>();
    
    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)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lock;
    
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

         *    <p>
         *    Transforms context based on 512 bits from input block starting
         *    from the offset'th byte.
         *
         *    @param    block    input sub-array.
         *    @param    offset    starting position of sub-array.
         */
        private void transform (byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        private boolean dcePipe;
    
        Object lock;
    
        TransactNamedPipeInputStream( SmbNamedPipe pipe ) throws SmbException,
                    MalformedURLException, UnknownHostException {
            super( pipe, ( pipe.pipeType & 0xFFFF00FF ) | SmbFile.O_EXCL );
            this.dcePipe = ( pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT ) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
Back to top