Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Chan (0.14 sec)

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

         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax. If the second argument is <code>true</code>, then
         * bytes will be written to the end of the file rather than the beginning.
         * 
         * @param file
         *            An <code>SmbFile</code> representing the file to write to
         * @param append
         *            Append to the end of file
         * @throws SmbException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

                        dr.stripPathConsumed(1 + domain.length() + 1 + root.length());
    
                        if ( dr.getPathConsumed() > ( path != null ? path.length() : 0 ) ) {
                            log.error("Consumed more than we provided");
                        }
    
                        link = path != null && dr.getPathConsumed() > 0 ? path.substring(0, dr.getPathConsumed()) : "\\";
                        dr.setLink(link);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

            return 0;
        }
    
    
        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <tt>InputStream</tt> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip ( long n ) throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         */
        @Override
        public void stripPathConsumed ( int i ) {
            if ( i > this.pathConsumed ) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
        }
    
    
        @Override
        public void fixupDomain ( String dom ) {
            String s = getServer();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                // andx not used; return
                return dstIndex - start;
            }
    
            /* The message provided to batch has a batchLimit that is
             * higher than the current batchLevel so we will now encode
             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ConcurrencyTest.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Failures " + failCount.get() + " wrote " + writeCount.get() + " read " + readCnt);
                    }
                    assertEquals("Read less than we wrote", writeCount.get(), readCnt);
                    assertEquals(n, failCount.get() + writeCount.get());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResource.java

    
        /**
         * This method returns the free disk space in bytes of the drive this share
         * represents or the drive on which the directory or file resides. Objects
         * other than <tt>TYPE_SHARE</tt> or <tt>TYPE_FILESYSTEM</tt> will result
         * in 0L being returned.
         *
         * @return the free disk space in bytes of the drive on which this file or
         *         directory resides
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

         * tokenGroups constructed attribute retrived via LDAP).
         * <p/>
         * Domain groups nested inside a local group are currently not expanded. In
         * this case the key (SID) type will be SID_TYPE_DOM_GRP rather than
         * SID_TYPE_USER.
         * 
         * @param authorityServerName The server from which the local groups will be queried.
         * @param auth The credentials required to query groups and group members.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                // andx not used; return
                return dstIndex - start;
            }
    
            /*
             * The message provided to batch has a batchLimit that is
             * higher than the current batchLevel so we will now encode
             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if( socket != null ) {
                    socket.close();
                    socket = null;
                }
                thread = null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
Back to top