Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for if (0.13 sec)

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

            else {
                link = path;
            }
    
            if ( log.isTraceEnabled() ) {
                log.trace("Initial link is " + link);
            }
    
            if ( dr == null || !link.equals(dr.getLink()) ) {
                while ( true ) {
                    dr = links.map.get(link);
    
                    if ( dr != null ) {
                        if ( log.isTraceEnabled() ) {
                            log.trace("Found at " + link);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] plainDataChecksum = getHmac(plainData, codeHmac);
            if ( plainDataChecksum.length >= KerberosConstants.CHECKSUM_SIZE )
                for ( int i = 0; i < KerberosConstants.CHECKSUM_SIZE; i++ )
                    if ( plainDataChecksum[ i ] != data[ i ] )
                        throw new GeneralSecurityException("Checksum failed while decrypting.");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PACTest.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.File;
    import java.nio.charset.StandardCharsets;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.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 static org.junit.Assert.assertEquals;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/EnumTest.java

                    if ( haveHidden && !Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        SmbFile[] hidden = f.listFiles(new DosFileFilter("*", SmbConstants.ATTR_HIDDEN));
                        assertNotNull(hidden);
                        assertEquals(1, hidden.length);
                    }
    
                    if ( haveArchive ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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