Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 154 for simili (0.07 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String url = "smb://server/IPC$/pipeName"; // Corrected URL for named pipe
            int pipeType = 1;
            SmbPipeResource mockSmbPipeResource = mock(SmbNamedPipe.class);
    
            // Similar to testGetSmbResource, we cannot directly mock `new SmbNamedPipe()`.
            // We verify that no exception is thrown for a valid URL and that it attempts to create an SmbNamedPipe.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/WinErrorTest.java

            for (int c : WinError.WINERR_CODES) {
                assertTrue(c >= 0, "Code should be non-negative: " + c);
                assertTrue(seen.add(c), "Duplicate code detected: " + c);
            }
        }
    
        // Simple collaborator to demonstrate interaction verification with Mockito
        interface Handler {
            void handle(int code, String message);
        }
    
        @Mock
        Handler handler;
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(8, tokens.size()); // "I'm" is split into "I" and "m" by our simple tokenizer
            assertEquals("Hello", tokens.get(0).getTerm());
            assertEquals("world", tokens.get(1).getTerm());
            assertEquals("How", tokens.get(2).getTerm());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
            assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source");
        }
    
        @Test
        @DisplayName("Interface declares no methods or fields")
        void testNoMembers() {
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // Use getByName to trigger populate
            // Both hosts should be added in this simple case
            assertNotNull(lmhosts.getByName("HOST1", mockContext));
            assertNotNull(lmhosts.getByName("HOST2", mockContext));
        }
    
        @Test
        void testPopulateWithInvalidIPFormat() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

        public Map<String, String[]> fields = new HashMap<>();
    
        /** The conditions. */
        public Map<String, String[]> as = new HashMap<>();
    
        /** The extra queries. */
        public String[] ex_q;
    
        /** The similar document hash. */
        public String sdh;
    
        @Override
        public String getQuery() {
            return q;
        }
    
        @Override
        public String[] getExtraQueries() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CredentialsInternalTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    @ExtendWith(MockitoExtension.class)
    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
         * It validates inputs, records calls, and delegates some behavior to collaborators
         * so we can verify interactions.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

         */
        @ValidateTypeFailure
        public Integer offset;
    
        /**
         * The page number for pagination.
         */
        @ValidateTypeFailure
        public Integer pn;
    
        /**
         * Similar document hash for finding related documents.
         */
        @Size(max = 1000)
        public String sdh;
    
        /**
         * Parameter to control tracking of total hits in search results.
         */
        @Size(max = 100)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        }
    
        // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" })
        @DisplayName("Message-only ctor: propagates message and unsuccessful status")
        void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. docs/smb3-features/06-witness-protocol-design.md

        }
    }
    
    private void handleShareMove(WitnessNotification notification) {
        // Share moved to different server node
        log.info("Share move detected for: {}", notification.getResourceName());
        
        // Similar to client move - try new addresses
        handleClientMove(notification);
    }
    
    private void handleIPChange(WitnessNotification notification) {
        // Server IP address changed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top