Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 2,553 for nize (0.07 seconds)

  1. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertEquals(8, emptyContext.size()); // Minimum size
            assertFalse(emptyContext.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77));
        }
    
        @Test
        @DisplayName("Test context size calculation")
        public void testContextSize() {
            int expectedSize = 8 + (3 * 2); // Header + 3 algorithms * 2 bytes each
            assertEquals(expectedSize, context.size());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. internal/lru/lru.go

    }
    
    // Resize changes the cache size. Size of 0 means unlimited.
    func (c *LRU[K, V]) Resize(size int) (evicted int) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if size <= 0 {
    		c.size = 0
    		return 0
    	}
    	diff := c.evictList.Length() - size
    	if diff < 0 {
    		diff = 0
    	}
    	for i := 0; i < diff; i++ {
    		c.removeOldest()
    	}
    	c.size = size
    	return diff
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList("");
            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList(" ");
            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList("playwright:http://.*");
            assertEquals(1, list.size());
            assertEquals("playwright", list.get(0).getFirst());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

        /** Token (word) to be added to the dictionary */
        @Required
        @Size(max = 1000)
        public String token;
    
        /** Segmentation information for the token */
        @Required
        @Size(max = 1000)
        public String segmentation;
    
        /** Reading (pronunciation) of the token in katakana */
        @Required
        @Size(max = 1000)
        public String reading;
    
        /** Part of speech tag for the token */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "item_id": 123,
            "item": {
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        public Integer crudMode;
    
        /**
         * The search term that triggers the key match.
         */
        @Required
        @Size(max = 100)
        public String term;
    
        /**
         * The query to execute when the term matches.
         */
        @Required
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String query;
    
        /**
         * The maximum number of results to return.
         */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         * This is a required field with a maximum length of 1000 characters.
         */
        @Required
        @Size(max = 1000)
        public String name;
    
        /**
         * The actual access token string.
         * This is the token value that will be used for authentication.
         * Maximum length is 10000 characters.
         */
        @Size(max = 10000)
        public String token;
    
        /**
         * The permissions associated with this access token.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return predicate;
      }
    
      @Override
      public int size() {
        return entries().size();
      }
    
      private boolean satisfies(@ParametricNullness K key, @ParametricNullness V value) {
        return predicate.apply(immutableEntry(key, value));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/DataConfigPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
            logger.info("logList: {}", logList);
            assertEquals(1, logList.size());
    
            // Test GET /api/admin/crawlinginfo/logs
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
Back to Top