Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 346 for Given (0.67 sec)

  1. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets the search role for a given user.
         *
         * @param name The username.
         * @return The search role.
         */
        public String getSearchRoleByUser(final String name) {
            return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchUserPrefix(), name);
        }
    
        /**
         * Gets the search role for a given group.
         *
         * @param name The group name.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

     * ensuring that IDs are generated in a thread-safe manner.
     * </p>
     *
     * <p>
     * The class also provides methods to get the count of access results for a given session,
     * to delete all access results for a given session, and to delete all access results.
     * </p>
     *
     * <p>
     * The class is a singleton, and is injected using the {@link Resource} annotation.
     * </p>
     *
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            return mockCtx;
        }
    
        @Test
        @DisplayName("Should create Type 3 message with authentication data")
        void testType3MessageCreation() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
            String domain = "TESTDOMAIN";
            String username = "testuser";
            String workstation = "TESTWS";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
            Exception cause = new RuntimeException("Original error");
    
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_FAILED, "Failed to connect", cause);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        void testOriginalMessageSize() {
            // Given
            int messageSize = 1024;
    
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        void testFileBasicInfoSize() {
            // Given
            FileBasicInfo info = new FileBasicInfo();
    
            // When & Then
            assertEquals(40, info.size());
        }
    
        @Test
        @DisplayName("Test FileBasicInfo toString method")
        void testFileBasicInfoToString() {
            // Given
            FileBasicInfo info =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        /**
         * Creates a new IdnDnsResolver instance with default settings.
         */
        public IdnDnsResolver() {
            super();
        }
    
        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Calculates a Message Integrity Code (MIC) for the given data.
         * @param data the data to calculate MIC for
         * @return MIC
         * @throws CIFSException if an error occurs calculating the MIC
         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            setDomain(getDefaultDomain());
            setUser(getDefaultUser());
            setWorkstation(getDefaultWorkstation());
        }
    
        /**
         * Creates a Type-3 message in response to the given Type-2 message
         * using default values from the current environment.
         *
         * @param type2 The Type-2 message which this represents a response to.
         */
        public Type3Message(final Type2Message type2) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top