Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1681 - 1690 of 3,297 for Gist (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateList(freshElement);
      }
    
      @Generates
      static <E> List<E> generateList(@Nullable E freshElement) {
        return generateArrayList(freshElement);
      }
    
      @Generates
      static <E> ArrayList<E> generateArrayList(@Nullable E freshElement) {
        ArrayList<E> list = new ArrayList<>();
        list.add(freshElement);
        return list;
      }
    
      @Generates
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                searchPaging(data, form);
            });
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  4. tests/test_validate_response.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. tests/test_ws_dependencies.py

    import json
    from typing import Annotated
    
    from fastapi import APIRouter, Depends, FastAPI, WebSocket
    from fastapi.testclient import TestClient
    
    
    def dependency_list() -> list[str]:
        return []
    
    
    DepList = Annotated[list[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. docs/extensions/fan-out/README.md

    are a method of facilitating time-shifted playback of television signaling, and media content.
    
    MinIO implements an S3 extension to the [PostUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) where in a special fan-out list is sent along with the TSB's for MinIO make multiple uploads from a single source stream. Optionally supports custom metadata, tags and other retention settings. All objects are also readable independently once upload is completed via the regular S3...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu May 25 05:51:07 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/response-model.md

    /// note | 참고
    
    `response_model`은 "데코레이터" 메소드(`get`, `post`, 등)의 매개변수입니다. 모든 매개변수들과 본문(body)처럼 *경로 작동 함수*가 아닙니다.
    
    ///
    
    Pydantic 모델 어트리뷰트를 선언한 것과 동일한 타입을 수신하므로 Pydantic 모델이 될 수 있지만, `List[Item]`과 같이 Pydantic 모델들의 `list`일 수도 있습니다.
    
    FastAPI는 이 `response_model`를 사용하여:
    
    * 출력 데이터를 타입 선언으로 변환.
    * 데이터 검증.
    * OpenAPI *경로 작동*의 응답에 JSON 스키마 추가.
    * 자동 생성 문서 시스템에 사용.
    
    하지만 가장 중요한 것은:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

        private boolean fixDuplicateDependenciesInSection(
                Element dependenciesElement, UpgradeContext context, String sectionName) {
            List<Element> dependencies = dependenciesElement.children(DEPENDENCY).toList();
            Map<String, Element> seenDependencies = new HashMap<>();
    
            List<Element> duplicates = dependencies.stream()
                    .filter(dependency -> {
                        String key = createDependencyKey(dependency);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.dnsoverhttps.DohProviders.providers
    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. tests/benchmarks/test_general_performance.py

        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
            "values": list(range(25)),
            "meta": {
                "active": True,
                "group": i % 10,
                "tag": f"t{i % 5}",
            },
        }
        for i in range(300)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top