Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for hong (0.18 sec)

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

                          SmbConstants.FILE_NO_SHARE) ) {
                    long mtime = src.lastModified();
                    long ctime = src.createTime();
                    long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while ( true ) {
                        int read = fis.read(b[ i ]);
                        synchronized ( w ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileOperationsTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testCopyFile () throws IOException {
            int bufSize = 65536;
            long length = 4096 * 16;
            try ( SmbFile f = createTestFile() ) {
                try ( SmbFile d1 = createTestDirectory();
                      SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                    try {
    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)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
        private DfsReferralDataImpl next;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        protected String nativeOs;
        protected String nativeLanMan = "jCIFS";
        protected int vcNumber = 1;
        protected boolean dfsDisabled = false;
        protected long dfsTTL = 300;
        protected boolean dfsStrictView = false;
        protected boolean dfsConvertToFqdn;
        protected String logonShare;
        protected String defaultDomain;
        protected String defaultUserName;
    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)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            (byte)0x00, (byte)0x00, (byte)0x00
        };
    
        static final class CacheEntry {
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        private byte securityFlags;
        private byte requestedOplockLevel = SMB2_OPLOCK_LEVEL_NONE;
        private int impersonationLevel = SMB2_IMPERSONATION_LEVEL_IMPERSONATION;
        private long smbCreateFlags;
        private int desiredAccess = 0x00120089; // 0x80000000 | 0x1;
        private int fileAttributes;
        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE;
        private int createDisposition = FILE_OPEN;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileLocationTest.java

                return this.path;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getExpiration()
             */
            @Override
            public long getExpiration () {
                return 0;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#next()
             */
            @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                int _pathp = _src.dec_ndr_long();
                int _commentp = _src.dec_ndr_long();
                state = (int)_src.dec_ndr_long();
                num_stores = (int)_src.dec_ndr_long();
                int _storesp = _src.dec_ndr_long();
    
                if (_pathp != 0) {
                    _src = _src.deferred;
                    path = _src.dec_ndr_string();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 15K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/RandomAccessFileTest.java

         * @param length
         * @param is
         * @throws IOException
         */
        static void verifyRandom ( int bufSize, long length, SmbRandomAccess is ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = ReadWriteTest.getRandom();
            while ( p < length ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        static void verifyRandom ( int bufSize, long length, InputStream is ) throws IOException {
            verifyRandom(bufSize, length, true, is);
        }
    
    
        static void verifyRandom ( int bufSize, long length, boolean expectEof, InputStream is ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = getRandom();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
Back to top