Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for counters (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 3, 5, 10, 20 })
            @DisplayName("Should encode various cipher counts correctly")
            void testEncodeVariousCipherCounts(int cipherCount) {
                int[] ciphers = new int[cipherCount];
                for (int i = 0; i < cipherCount; i++) {
                    ciphers[i] = i + 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        /** The suggest helper for managing suggest functionality. */
        @Resource
        protected SuggestHelper suggestHelper;
    
        /**
         * Retrieves suggest statistics including word counts.
         *
         * @return JSON response containing suggest statistics
         */
        // GET /api/admin/suggest
        @Execute
        public JsonResponse<ApiResult> get$index() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

     * </p>
     *
     * <p>
     * The class is a singleton, and is injected using the {@link Resource} annotation.
     * </p>
     *
     */
    public class DataServiceImpl implements DataService<AccessResultImpl<Long>> {
    
        /** Counter for generating unique IDs */
        protected static volatile long idCount = 0L;
    
        /** Lock object for synchronizing access to idCount */
        private static Object idCountLock = new Object();
    
    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/main/java/org/codelibs/fess/ldap/LdapManager.java

                return context;
            }
    
            /**
             * Increments the counter.
             */
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    try {
                        if (context != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                final int maxDepth = getMaxDepth(paramMap, dataMap);
                long counter = 0;
                final Deque<CrawlRequest> requestQueue = new LinkedList<>();
                final Set<String> processedUrls = new HashSet<>();
                requestQueue.offer(new CrawlRequest(url, 0));
                while (!requestQueue.isEmpty() && (maxAccessCount < 0 || counter < maxAccessCount)) {
                    final CrawlRequest crawlRequest = requestQueue.poll();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        protected Integer activeThreadCount = 0;
    
        /**
         * Lock object for synchronizing access to active thread count.
         */
        protected Object activeThreadCountLock = new Object();
    
        /**
         * Atomic counter for tracking the number of accesses made.
         */
        protected AtomicLong accessCount = new AtomicLong(0);
    
        /**
         * Current status of the crawler.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(0, context.getSalt().length);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 3, 5, 10 })
            @DisplayName("Should calculate size correctly for different hash algo counts")
            void testSizeCalculation(int hashAlgoCount) {
                // Arrange
                int[] hashAlgos = new int[hashAlgoCount];
                byte[] salt = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should handle typical Windows NTFS configuration")
            void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
                // Given - typical NTFS: 4KB clusters (8 sectors * 512 bytes)
                long totalClusters = 26214400L; // 100GB / 4KB
                long freeClusters = 13107200L; // 50GB / 4KB
    
                ByteBuffer buffer = ByteBuffer.allocate(24);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         * This method applies search conditions from the pager and updates the pager with
         * pagination information including page numbers and result counts.
         *
         * @param fileConfigPager the pager containing search criteria and pagination settings
         * @return a list of file configurations matching the criteria
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        @ParameterizedTest
        @DisplayName("Test decode with various ACE counts")
        @ValueSource(ints = { 0, 1, 10, 100, 1000, 4096 })
        void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException {
            // This test is theoretical as we can't create huge buffers
            // but tests the boundary conditions
            if (aceCount <= 10) { // Only test small counts practically
                byte[] buffer = new byte[2048];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top