Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for system (0.22 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] result;
            result = cipher.doFinal(data);
    
            decrypt = new byte[result.length];
            System.arraycopy(result, 0, decrypt, 0, result.length);
    
            int tempSize = decrypt.length - 24;
    
            byte[] output = new byte[tempSize];
            System.arraycopy(decrypt, 24, output, 0, tempSize);
    
            decrypt = output;
            return decrypt;
        }
    
    
    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)
  2. src/main/java/jcifs/smb/DfsImpl.java

        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry <T> extends CacheEntry<T> {
    
            /**
             * @param ttl
    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)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = getDefaultShareRoot() ) {
                f.getDiskFreeSpace();
            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
    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)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/PACTest.java

             */
    
    
            Path krbConfig = Files.createTempFile("krb5", ".conf");
            Files.write(krbConfig,Arrays.asList("[libdefaults]", "allow_weak_crypto=true"));
            System.setProperty("java.security.krb5.conf", krbConfig.toString());
    
    
    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)
  6. src/test/java/jcifs/tests/EnumTest.java

                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                        }
                    }
                }
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Browsing unsupported", false);
    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)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.queryFlags, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if ( this.inputBuffer == null ) {
                SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain="
                    + ( this.expiration - System.currentTimeMillis() ) + "]";
        }
    
    
        /**
         * @return the ttl
         */
        public long getTtl () {
            return this.ttl;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
                this.nativeOs = System.getProperty("os.name");
            }
    
            if ( this.flags2 == 0 ) {
                this.flags2 = SmbConstants.FLAGS2_LONG_FILENAMES | SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES
    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)
  10. src/main/java/jcifs/smb/SmbFile.java

                    this.lastAccess = info.getLastAccessTime();
                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
    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)
Back to top