- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 517 for Enum (0.06 sec)
-
src/test/java/org/codelibs/fess/it/CrudTestBase.java
logger.info("[END] testCreate"); } protected void testRead() { logger.info("[BEGIN] testRead"); // Test: get settings api. final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM); List<String> nameList = getPropList(searchBody, getKeyProperty()); assertEquals(NUM, nameList.size());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
logger/sql.go
} sql = newSQL.String() } else { sql = numericPlaceholder.ReplaceAllString(sql, "$$$1$$") sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string { num := v[1 : len(v)-1] n, _ := strconv.Atoi(num) // position var start from 1 ($1, $2) n -= 1 if n >= 0 && n <= len(vars)-1 { return vars[n] } return v }) } return sql
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
LaRequestUtil.getOptionalRequest().ifPresent(request -> { final HttpSession session = request.getSession(false); if (session != null && form.num != null) { session.setAttribute(Constants.RESULTS_PER_PAGE, form.num); } }); } return doSearch(form); } /** * The previous page. * @param form The search form.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} // prepend asterisks return append([]byte("***"), data...), nil } type Num int64 func (i *Num) Scan(src interface{}) error { switch s := src.(type) { case []byte: n, _ := strconv.Atoi(string(s)) *i = Num(n) case int64: *i = Num(s) default: return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String()) } return nil }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
} @Test public void searchTestWith1Word() throws Exception { String query = "java"; Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > 0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
protected static final int NUM = 20; private AccessTokenHelper accessTokenHelper; @Override public void setUp() throws Exception { super.setUp(); accessTokenHelper = new AccessTokenHelper(); } public void test_generateAccessToken() { List<String> tokens = new ArrayList<String>(); for (int i = 0; i < NUM; i++) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
final String numStr = request.getParameter("num"); final int num; if (StringUtil.isNotBlank(numStr) && StringUtils.isNumeric(numStr)) { num = Integer.parseInt(numStr); } else { num = 10; } return new RequestParameter(request, query, tags, fields, num); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (1) -
guava/src/com/google/common/math/BigIntegerMath.java
if ((num & nextPowerOfTwo) != 0) { nextPowerOfTwo <<= 1; bits++; } // Get rid of the 2s in num. int tz = Long.numberOfTrailingZeros(num); long normalizedNum = num >> tz; shift += tz; // Adjust floor(log2(num)) + 1. int normalizedBits = bits - tz; // If it won't fit in a long, then we store off the intermediate product.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java
protected final long tookMs; /** The list of suggested words. */ protected final List<String> words; /** The number of suggested words. */ protected final int num; /** The total number of hits. */ protected final long total; /** The list of suggested items. */ protected final List<SuggestItem> items; /** * Constructor for SuggestResponse.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 3K bytes - Viewed (0)