Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for Block (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
            assertSame(next, block.andx, "andx should reference provided SMB");
        }
    
        @Test
        @DisplayName("getBatchLimit defaults to 0")
        void testGetBatchLimitDefault() {
            DummyAndXBlock block = new DummyAndXBlock();
            assertEquals(0, block.getBatchLimit((byte) 0x25));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
                block = (bytes[i++] & 0xff) << 16 | (bytes[i++] & 0xff) << 8 | bytes[i++] & 0xff;
                buffer.append(ALPHABET.charAt(block >>> 18));
                buffer.append(ALPHABET.charAt(block >>> 12 & 0x3f));
                buffer.append(ALPHABET.charAt(block >>> 6 & 0x3f));
                buffer.append(ALPHABET.charAt(block & 0x3f));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MD4.java

         *    <p>
         *    Transforms context based on 512 bits from input block starting
         *    from the offset'th byte.
         *
         *    @param    block    input sub-array.
         *    @param    offset    starting position of sub-array.
         */
        private void transform(final byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. docs/en/overrides/main.html

            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/blockbee-banner.png" />
          </a>
        </div>
        <div class="item">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/DES.java

        }
    
        /// Encrypt a block of bytes.
        /**
         * Encrypts an 8-byte block using DES
         * @param clearText the 8-byte plaintext block
         * @param cipherText the output 8-byte ciphertext block
         */
        public void encrypt(final byte[] clearText, final byte[] cipherText) {
            encrypt(clearText, 0, cipherText, 0);
        }
    
        /// Decrypt a block of bytes.
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    				combineShared := combineSharedBlocks[block]
    			nextAttempt:
    				fmt.Printf("Block %d, Base version %q. Part %d. Files %d\n", block+1, key, part, len(file))
    				m, err := readAndMap(file, part, block)
    				if err != nil {
    					return err
    				}
    				if exportedSizes[m.objSize] {
    					fmt.Println("Skipping version", key, "as it has already been exported.")
    					continue nextFile
    				}
    				addedFiles := 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testBlacklist() throws Exception {
            validator.addToBlacklist("\\share\\forbidden");
    
            // Should block blacklisted path
            try {
                validator.validatePath("\\share\\forbidden\\file.txt");
                fail("Should block blacklisted path");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not allowed"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. 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;
        }
    
        /**
         * Performs n-fold expansion of data as specified in RFC 3961.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public void setTarget(final 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit");
        }
    
        @Test
        public void testLockoutExpiry() throws Exception {
            String username = "expireuser";
            String ip = "192.168.1.4";
    
            // Lock out the account
            for (int i = 0; i < 3; i++) {
                assertTrue(rateLimiter.checkAttempt(username, ip));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top