Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for if (0.46 sec)

  1. src/main/java/jcifs/context/BaseContext.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * 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.context;
    
    
    import java.net.MalformedURLException;
    import java.net.URLStreamHandler;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

            Integer set = this.batchLimits.get(cmd);
            if ( set != null ) {
                return set;
            }
    
            set = doGetBatchLimit(cmd);
            if ( set != null ) {
                this.batchLimits.put(cmd, set);
                return set;
            }
    
            set = DEFAULT_BATCH_LIMITS.get(cmd);
            if ( set != null ) {
                return set;
            }
            return 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/tests/OplockTests.java

                if ( trans.isSMB2() ) {
                    Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                    create.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                    tree.send(create);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileOperationsTest.java

                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            if ( key == null ) {
                // no valid header
                return null;
            }
            if ( this.smb2 ) {
                if ( key != -1 ) {
                    return null;
                }
                int cmd = Encdec.dec_uint16le(this.sbuf, 4 + 12) & 0xFFFF;
                if ( cmd == 0x12 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if ( track && this.traceResource ) {
                synchronized ( this.acquires ) {
                    this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace()));
                }
            }
    
            if ( usage == 1 ) {
                synchronized ( this ) {
                    if ( this.sessionAcquired.compareAndSet(false, true) ) {
    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)
  7. src/main/java/jcifs/smb/SmbFile.java

            this.isExists = true;
    
            if ( loadedAttributes ) {
                this.attrExpiration = this.sizeExpiration = System.currentTimeMillis() + getContext().getConfig().getAttributeCacheTimeout();
            }
        }
    
    
        private static String encodeRelativePath ( String name ) {
            // workaround fix
            if (name == null) {
                return null;
            }
            if (name.endsWith(" ")) {
    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)
  8. src/main/java/jcifs/Configuration.java

    
        /**
         * Property <tt>jcifs.smb.client.strictResourceLifecycle</tt> (bool, default false)
         * 
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * 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.config;
    
    
    import java.net.InetAddress;
    import java.util.Properties;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ContextConfigTest.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * 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.tests;
    
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top