- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,563 for params2 (0.16 sec)
-
src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java
import org.dbflute.optional.OptionalThing; public class FieldConfigs { private final Map<String, String> params; public FieldConfigs(final Map<String, String> params) { this.params = params; } public OptionalThing<Config> getConfig(final String fieldName) { final String value = params.get(fieldName); if (StringUtil.isNotBlank(value)) { return OptionalThing.of(new Config(value));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST = Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(String.class)) .compound( Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class))) .reverse(); private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001_an_py39.py
@app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons} @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Users!", "params": commons} client = TestClient(app) async def override_dependency(q: Union[str, None] = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java
@Override public Object execute(final String scriptType, final String script) { final Map<String, Object> params = new HashMap<>(); params.put("executor", this); return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(script, params); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.1K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001.py
@app.get("/items/") async def read_items(commons: dict = Depends(common_parameters)): return {"message": "Hello Items!", "params": commons} @app.get("/users/") async def read_users(commons: dict = Depends(common_parameters)): return {"message": "Hello Users!", "params": commons} client = TestClient(app) async def override_dependency(q: Union[str, None] = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1.5K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001_an_py310.py
@app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons} @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Users!", "params": commons} client = TestClient(app) async def override_dependency(q: str | None = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) { if (logger.isDebugEnabled()) { logger.debug("Send {} to the searchers.", query); } final int pageSize = params.getPageSize(); final int startPosition = params.getStartPosition(); if (startPosition * 2 >= windowSize) { int offset = params.getOffset(); if (offset < 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/LtrQueryRescorer.java
public RescorerBuilder<?> evaluate(final Map<String, Object> params) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String modelName = fessConfig.getLtrModelName(); if (StringUtil.isBlank(modelName)) { return null; } return new QueryRescorerBuilder(new StoredLtrQueryBuilder().modelName(modelName).params(params)) .windowSize(fessConfig.getLtrWindowSize());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/event/target/postgresql.go
params := []string{args.ConnectionString} if args.ConnectionString == "" { params = []string{} if !args.Host.IsEmpty() { params = append(params, "host="+args.Host.String()) } if args.Port != "" { params = append(params, "port="+args.Port) } if args.Username != "" { params = append(params, "username="+args.Username) } if args.Password != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py
assert response.json() == { "message": "Hello Users!", "params": {"q": None, "skip": 5, "limit": 10}, } def test_override_in_users_with_q(): response = client.get("/users/?q=foo") assert response.status_code == 200, response.text assert response.json() == { "message": "Hello Users!", "params": {"q": "foo", "skip": 5, "limit": 10}, }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 10 09:08:19 UTC 2020 - 1.5K bytes - Viewed (0)