Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 357 for pero (4.75 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            this.leaseState = 0;
            this.leaseFlags = 0;
            this.epoch = 1;
        }
    
        /**
         * Create a new lease V2 context request with specified parameters
         *
         * @param leaseKey the lease key
         * @param leaseState requested lease state
         * @param parentLeaseKey parent lease key (can be null for zero key)
         * @param epoch lease epoch
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            }
        }
    
        @Test
        @DisplayName("Zero-length message is handled correctly")
        void zeroLengthMessageHandled() throws IOException {
            // Create a zero-length message followed by a normal message
            byte[] data = new byte[] { 10, 20 };
            byte[] fullData = concat(messageHeader(0), // Zero-length message
                    messageHeader(2), data);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify max capabilities value (comparing as unsigned long)
            assertEquals(0xFFFFFFFFL, SMBUtil.readInt4(buffer, 0) & 0xFFFFFFFFL);
        }
    
        @Test
        @DisplayName("Test encode with zero capabilities")
        void testEncodeWithZeroCapabilities() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(0, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(4, querySecurityDesc.getPadding());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns zero")
        void testWriteSetupWireFormat() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

        }
    
        /**
         * Gets the number of records per page.
         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the number of records per page.
         *
         * @param pageSize the page size
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand");
            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
        @Test
        @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian")
        void testWriteParametersWireFormat() {
            int level = 0x1234;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * signing and sealing authenticated communication.
         */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
        int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
        /**
         * Indicates support for NTLM authentication.
         */
        int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocList.java

        /**
         * Default constructor for DocList.
         * Creates a new empty document list with zero content size and processing time.
         */
        public DocList() {
            super();
        }
    
        /**
         * Clears all documents from the list and resets metrics.
         * Removes all documents and resets content size and processing time to zero.
         */
        @Override
        public void clear() {
            super.clear();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt8(2000, buffer, 0); // total allocation units
            writeInt8(1000, buffer, 8); // free allocation units
            writeInt4(8, buffer, 16); // sectors per allocation unit
            writeInt4(4096, buffer, 20); // bytes per sector
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(24, bytesRead, "Should read 24 bytes");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top