- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,695 for params1 (0.07 sec)
-
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
public void test_evaluate() { final Map<String, Object> params = new HashMap<>(); assertNull(groovyEngine.evaluate("", params)); assertEquals("", groovyEngine.evaluate("return ''", params)); assertEquals(1, groovyEngine.evaluate("return 1", params)); params.put("test", "123"); assertEquals("123", groovyEngine.evaluate("return test", params)); } public void test_getName() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K 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) -
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) -
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.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/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) -
internal/config/policy/plugin/config.go
AuthToken string `json:"authToken"` Transport http.RoundTripper `json:"-"` CloseRespFn func(r io.ReadCloser) `json:"-"` } // Validate - validate opa configuration params. func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err } req.Header.Set("Content-Type", "application/json")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K 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)