Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for somevalue (0.06 seconds)

  1. tests/test_param_include_in_schema.py

                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
            (
                "/hidden_cookie",
                {"hidden_cookie": "somevalue"},
                200,
                {"hidden_cookie": "somevalue"},
            ),
        ],
    )
    def test_hidden_cookie(path, cookies, expected_status, expected_response):
        client = TestClient(app, cookies=cookies)
        response = client.get(path)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. tests/test_dependency_pep695.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from typing_extensions import TypeAliasType
    
    
    async def some_value() -> int:
        return 123
    
    
    DependedValue = TypeAliasType(
        "DependedValue", Annotated[int, Depends(some_value)], type_params=()
    )
    
    
    def test_pep695_type_dependencies():
        app = FastAPI()
    
        @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:34:34 GMT 2026
    - 628 bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    import org.opensearch.action.get.GetResponse;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    
    public class SuggestIndexWriterTest {
        private static final String TEST_ID = "SuggestIndexWriterTest";
    
        static Suggester suggester;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
    import org.apache.hc.core5.util.TimeValue;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.timer.TimeoutTarget;
    
    /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            }
    
            @Override
            public Object getUserData(String key) {
                return null;
            }
    
            @Override
            public void setNodeValue(String nodeValue) {
                this.nodeValue = nodeValue;
            }
    
            @Override
            public short getNodeType() {
                return 0;
            }
        }
    
        private static class MockNamedNodeMap implements NamedNodeMap {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    final Set<String> permissions = stream(item.getPermissions()).get(stream -> stream.collect(Collectors.toSet()));
                    for (final String roleValue : roleSet) {
                        if (permissions.contains(roleValue)) {
                            final Map<String, String> map = new HashMap<>(2);
                            map.put(Constants.ITEM_LABEL, item.getLabel());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        if (pair.length == 2) {
                            String sortValue = pair[1].trim();
                            if (StringUtil.isBlank(sortValue) || "score".equals(sortValue)) {
                                sortValue = "score.desc";
                            }
                            return new Pair<>(pair[0].trim(), sortValue);
                        }
                        return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         */
        public Object getSitePath(final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Object siteValue = docMap.get(fessConfig.getIndexFieldSite());
            if (siteValue != null) {
                final String site = siteValue.toString();
                final int size = fessConfig.getResponseMaxSitePathLengthAsInteger();
                if (size > 3) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. tests/migrate_test.go

    		assert.ElementsMatch(t, expected, indexes)
    	}
    
    	uniqueIndex := &migrator.Index{TableName: table, NameValue: DB.Config.NamingStrategy.IndexName(table, "name"), ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                    .setMaxConnTotal(maxTotal)
                    .setMaxConnPerRoute(defaultMaxPerRoute)
                    .setDnsResolver(dnsResolver)
                    .setConnectionTimeToLive(org.apache.hc.core5.util.TimeValue.of(timeToLive, timeUnit));
    
            // Connection config
            final ConnectionConfig.Builder connectionConfigBuilder = ConnectionConfig.custom();
            if (connectionTimeoutParam != null) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
Back to Top