Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for blocks (0.26 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for ( int n = 0; n < klen; ) {
                byte[] block = cipher.doFinal(enc);
                int len = Math.min(klen - n, block.length);
                System.arraycopy(block, 0, dk, n, len);
                n += len;
                enc = block;
            }
            return dk;
        }
    
    
        public static byte[] expandNFold ( byte[] data, int outlen ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbWatchHandle.java

     * 
     * 
     * @author mbechler
     *
     */
    public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> {
    
        /**
         * Get the next set of changes
         * 
         * Will block until the server returns a set of changes that match the given filter. The file will be automatically
         * opened if it is not and should be closed with {@link #close()} when no longer
         * needed.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        static final int CAP_NT_SMBS = 0x0010;
        static final int CAP_RPC_REMOTE_APIS = 0x0020;
        static final int CAP_STATUS32 = 0x0040;
        static final int CAP_LEVEL_II_OPLOCKS = 0x0080;
        static final int CAP_LOCK_AND_READ = 0x0100;
        static final int CAP_NT_FIND = 0x0200;
        static final int CAP_DFS = 0x1000;
        static final int CAP_LARGE_READX = 0x4000;
        static final int CAP_LARGE_WRITEX = 0x8000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public void setTarget ( String target ) {
            this.target = target;
        }
    
    
        /**
         * Returns the target information block.
         *
         * @return A <code>byte[]</code> containing the target information block.
         *         The target information block is used by the client to create an
         *         NTLMv2 response.
         */
        public byte[] getTargetInformation () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/ne.css

        a {
            display: block;
            float: left;
            width: 300px;
            height: 50px;
            padding: 2px;
            font-family: Verdana, sans-serif;
            font-size: 10pt;
            color: #000000;
            text-decoration: none;
        }
        a.plain {
            display: inline;
            float: none;
            width: auto;
            height: auto;
        }
        a.sort {
            display: block;
            float: left;
    CSS
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        public static final int NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000;
    
        /**
         * Sent by the server in the Type 2 message to indicate that it is
         * including a Target Information block in the message. The Target
         * Information block is used in the calculation of the NTLMv2 response.
         */
        public static final int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        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
        public void testLastModified () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
    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)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            int start = bufferIndex;
            for ( int i = 0; i < this.unlocks.length; i++ ) {
                this.unlocks[ i ] = createLockRange();
                bufferIndex += this.unlocks[ i ].decode(buffer, bufferIndex, buffer.length);
            }
    
            for ( int i = 0; i < this.locks.length; i++ ) {
                this.locks[ i ] = createLockRange();
                bufferIndex += this.locks[ i ].decode(buffer, bufferIndex, buffer.length);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

        private byte[] fileId;
        private final Smb2Lock[] locks;
    
    
        /**
         * @param config
         * @param fileId
         * @param locks
         */
        public Smb2LockRequest ( Configuration config, byte[] fileId, Smb2Lock[] locks ) {
            super(config, SMB2_LOCK);
            this.fileId = fileId;
            this.locks = locks;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
Back to top