Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 175 for So (0.27 sec)

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

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link SmbComTransactionResponse}.
     *
     * <p>The class is abstract, so a concrete stub implementation is
     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         *
         * @return a new access context arranger
         */
        @Override
        protected AccessContextArranger newAccessContextArranger() { // for framework
            // fess does not use DBFlute, and this is unneeded so dummy
            return resource -> {
                final AccessContext context = new AccessContext();
                context.setAccessLocalDateTimeProvider(() -> timeManager.currentDateTime());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("searchSessionKey returns null when Subject has no tickets")
        void searchSessionKey_emptySubject() throws Exception {
            // Arrange GSS context so method can run without NPE
            GSSName src = mock(GSSName.class);
            GSSName targ = mock(GSSName.class);
            when(src.export()).thenReturn(buildExportName(new Oid("1.2.3"), "client"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            map.put("サ", new String[] { "sa" });
            map.put("シ", new String[] { "si", "shi" });
            map.put("ス", new String[] { "su" });
            map.put("セ", new String[] { "se" });
            map.put("ソ", new String[] { "so" });
    
            map.put("タ", new String[] { "ta" });
            map.put("チ", new String[] { "ti", "chi" });
            map.put("ツ", new String[] { "tu", "tsu" });
            map.put("テ", new String[] { "te" });
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            void doEnum_withEmptyHost_throwsUnsupportedWithoutNetwork() throws Exception {
                // Arrange: mock parent + locator so no real network is used
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
                when(parent.getLocator()).thenReturn(locator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

        }
    
        @Test
        @DisplayName("getSmbSession creates and then reuses matching session")
        void getSmbSession_createAndReuse() {
            // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds
            CredentialsInternal creds = mock(CredentialsInternal.class);
            when(ctx.getCredentials()).thenReturn(creds);
            when(creds.unwrap(CredentialsInternal.class)).thenReturn(creds);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/PropertyConfiguration.java

                } else if ("false".equalsIgnoreCase(value)) {
                    this.useMultiChannel = false;
                }
                // For invalid values, leave useMultiChannelExplicitlySet as false so default applies
                if (!"true".equalsIgnoreCase(value) && !"false".equalsIgnoreCase(value)) {
                    this.useMultiChannelExplicitlySet = false;
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        @Test
        @DisplayName("TestLocking increments numComplete")
        void testNumCompleteIncrement() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Set to 0 so run() exits immediately
    
            // Run the method
            t.run();
    
            // Verify numComplete was incremented
            assertEquals(1, t.numComplete, "numComplete should be incremented after run");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(validHost);
    
            // Invalid entries should not be found or may have incorrect parsing
            // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently
            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
            // Create a temporary lmhosts file with long hostname
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             * handles any errors, and ensures cleanup operations are executed.
             * After successful crawling, it commits the index updates and
             * deletes old documents if configured to do so.
             */
            protected void process() {
                final DataStoreFactory dataStoreFactory = ComponentUtil.getDataStoreFactory();
                dataStore = dataStoreFactory.getDataStore(dataConfig.getHandlerName());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top