Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for whale (0.13 sec)

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

                            log.warn("Disconnected tree while still in use " + this);
                            dumpResource();
                            wasInUse = true;
                            if ( sess.getConfig().isTraceResourceUsage() ) {
                                throw new RuntimeCIFSException("Disconnected tree while still in use");
                            }
                        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ConcurrencyTest.java

                this.file = smbFile;
            }
    
    
            public void waitForStart () throws InterruptedException {
                synchronized ( this.startedLock ) {
                    while ( !this.started ) {
                        this.startedLock.wait();
                    }
                }
            }
    
    
            public void shutdown () {
                this.shutdown = true;
    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)
  3. src/main/java/jcifs/smb/SmbFile.java

                    w.interrupt();
                    try {
                        w.join();
                    }
                    catch ( InterruptedException e ) {
                        log.warn("Interrupted while joining copy thread", e);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
    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/netbios/NameServiceClientImpl.java

            synchronized ( this.inFlightLookups ) {
                if ( this.inFlightLookups.contains(name) == false ) {
                    this.inFlightLookups.add(name);
                    return null;
                }
                while ( this.inFlightLookups.contains(name) ) {
                    try {
                        this.inFlightLookups.wait();
                    }
                    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)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * other SMB clients will be permitted to read from the target file while
     * this file is open. This constant may be logically OR'd with other share
     * access flags.
     */
        public static final int FILE_SHARE_READ   = 0x01;
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients will be permitted to write to the target file while
     * this file is open. This constant may be logically OR'd with other share
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. src/main/java/jcifs/util/Strings.java

         * @param maxLen
         * @return position of terminating null bytes
         */
        public static int findUNITermination ( byte[] buffer, int bufferIndex, int maxLen ) {
            int len = 0;
            while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) {
                len += 2;
                if ( len > maxLen ) {
                    if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            }
            return sequence;
        }
    
        public KerberosApRequest(ASN1Sequence seq, KerberosKey[] keys) throws PACDecodingException {
            Enumeration<?> fields = seq.getObjects();
            while ( fields.hasMoreElements() ) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields.nextElement());
                switch ( tagged.getTagNo() ) {
                case 0:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

                if (0 == tagNo)
                {
                    throw new IOException("corrupted stream - invalid high tag number found");
                }
    
                while ((b & 0x80) != 0)
                {
                    if ((tagNo >>> 24) != 0)
                    {
                        throw new IOException("Tag number more than 31 bits");
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                throws CIFSException, GeneralSecurityException {
            try ( SmbTransportImpl trans = getTransport() ) {
                synchronized ( trans ) {
    
                    while ( !this.connectionState.compareAndSet(0, 1) ) {
                        int st = this.connectionState.get();
                        if ( st == 2 || st == 3 ) // connected or disconnecting
                            return chainedResponse;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/SessionTest.java

        //@Test
        public void testSessionMaintenance () throws IOException, InterruptedException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                checkConnection(f);
                while ( true ) {
                    f.list();
                    Thread.sleep(5000);
                }
    
            }
        }
    
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top