Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,577 for inst (0.04 sec)

  1. src/test/java/jcifs/smb/BufferCacheImplTest.java

        }
    
        // Parameterized: exercise small variations of cache size for a simple reuse cycle
        @ParameterizedTest
        @ValueSource(ints = { 1, 2 })
        @DisplayName("Parameterized: buffer reuse works for various small cache sizes")
        void reuseWorksForVariousCacheSizes(int cacheSize) {
            BufferCacheImpl impl = new BufferCacheImpl(cacheSize, 6);
            byte[] toRelease = new byte[5];
            toRelease[0] = 42;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            StorageClient client = new StorageClient() {
                @Override
                protected ResponseData processRequest(final String uri, final boolean includeContent) {
                    // Skip init() and directly test timeout handling
                    org.codelibs.fess.crawler.client.AccessTimeoutTarget accessTimeoutTarget = null;
                    org.codelibs.core.timer.TimeoutTask accessTimeoutTask = null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            urlFilter.addInclude(".*test.*");
    
            assertEquals(1, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
    
            final String sessionId = "id1";
            urlFilter.init(sessionId);
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
            assertEquals(1, dataHelper.getIncludeUrlPatternList(sessionId).size());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertDoesNotThrow(() -> impl.fixupDomain(domain));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
            @DisplayName("Should handle various values in stripPathConsumed")
            void testStripPathConsumedWithVariousValues(int value) {
                // Test with mock
                doNothing().when(mockReferralData).stripPathConsumed(value);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmServlet.java

        private String realm;
    
        /** The CIFS context for transport operations */
        private CIFSContext transportContext;
    
        @Override
        public void init(final ServletConfig config) throws ServletException {
            super.init(config);
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
            /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various sector sizes")
            @ValueSource(ints = { 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 })
            void shouldHandleVariousSectorSizes(int sectorSize) throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
            final int threadCount = 100;
            final int iterationsPerThread = 1000;
            final Set<Exception> exceptions = new HashSet<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(new Runnable() {
                    @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        /**
         * Initializes the extractor by starting the office manager.
         *
         * @throws CrawlerSystemException if the office manager is null or fails to start
         */
        @PostConstruct
        public void init() {
            if (officeManager == null) {
                throw new CrawlerSystemException("officeManager is null.");
            }
            try {
                officeManager.start();
            } catch (final OfficeException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // High bytes should be dots
            assertTrue(output.contains("..."));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 15, 16, 17, 31, 32, 33, 64, 128 })
        @DisplayName("Should handle various data sizes in hexdump")
        void testHexdumpVariousSizes(int size) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

                    .thenAnswer(inv -> inv.getArgument(1));
    
            int n = handle.sendrecv(new byte[10], 0, 0, new byte[20], 100);
            assertEquals(0, n, "Default response length is 0 unless protocol fills it");
        }
    
        @Test
        @DisplayName("sendrecv uses CallNamedPipe when PIPE_TYPE_CALL is set")
        void sendrecv_call_branch() throws Exception {
            int type = SmbPipeResource.PIPE_TYPE_CALL | SmbPipeResource.PIPE_TYPE_RDWR;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top