Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 3,152 for get2 (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since NEXT (but since 28.1 in the JRE flavor)
       */
      public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
                () -> new GeneralSpliteratorOfPrimitive<>(spliteratorSupplier.get(), c -> c::accept)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since 28.1 (but only since 33.4.0 in the Android flavor)
       */
      public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_param_models/test_tutorial002.py

    def test_query_param_model_defaults(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == {
            "limit": 100,
            "offset": 0,
            "order_by": "created_at",
            "tags": [],
        }
    
    
    def test_query_param_model_invalid(client: TestClient):
        response = client.get(
            "/items/",
            params={
                "limit": 150,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                putResultDataWithTemplate(dataMap, key, value, scriptConfigMap.get(key), scriptType);
            });
            crawlingConfig.getConfigParameterMap(ConfigName.VALUE).entrySet().stream().forEach(e -> {
                final String key = e.getKey();
                final String value = e.getValue();
                putResultDataWithTemplate(dataMap, key, value, scriptConfigMap.get(key), scriptType);
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

        private static final Logger logger = LogManager.getLogger(ApiAdminDictSynonymAction.class);
    
        @Resource
        private SynonymService synonymService;
    
        // GET /api/admin/dict/synonym/settings/{dictId}
        @Execute
        public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. docs_src/sql_databases/tutorial001_an_py310.py

        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: SessionDep) -> Hero:
        hero = session.get(Hero, hero_id)
        if not hero:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py

    @needs_py39
    def test_default_query_values(client: TestClient):
        url = "/items/"
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == {"q": ["foo", "bar"]}
    
    
    @needs_py39
    def test_multi_query_values(client: TestClient):
        url = "/items/?q=baz&q=foobar"
        response = client.get(url)
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String get(String propertyKey) {
                    return fessConfig.get(propertyKey);
                }
    
                @Override
                public BigDecimal getAsDecimal(String propertyKey) {
                    return DfTypeUtil.toBigDecimal(get(propertyKey));
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            List<ArtifactResult> results = system.resolveArtifacts(session, requests);
    
            assertEquals(3, results.size());
            checkArtifactResult(results.get(0), "artifact-1.0.jar");
            checkArtifactResult(results.get(1), "artifact-1.0.zip");
            checkArtifactResult(results.get(2), "artifact-1.0-classifier.zip");
        }
    
        @Test
        void testResolveMetadata() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. internal/handlers/forwarder.go

    		clientIP = ipv6fix(clientIP)
    		if req.Header.Get(xRealIP) == "" {
    			req.Header.Set(xRealIP, clientIP)
    		}
    	}
    
    	xfProto := req.Header.Get(xForwardedProto)
    	if xfProto == "" {
    		if req.TLS != nil {
    			req.Header.Set(xForwardedProto, "https")
    		} else {
    			req.Header.Set(xForwardedProto, "http")
    		}
    	}
    
    	if xfPort := req.Header.Get(xForwardedPort); xfPort == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top