Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for hasone (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          Segment<Object, Object, ?, ?> segment = map.segments[0];
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null);
          WeakValueReference<Object, Object, ?> valueRefOne =
              segment.newWeakValueReferenceForTesting(entryOne, valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          Segment<Object, Object, ?, ?> segment = map.segments[0];
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null);
          WeakValueReference<Object, Object, ?> valueRefOne =
              segment.newWeakValueReferenceForTesting(entryOne, valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertThat(valueRefOne.get()).isSameInstanceAs(valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertThat(valueRefOne.get()).isSameInstanceAs(valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_headers/test_tutorial002.py

    def test_path_operation():
        response = client.get("/headers-and-object/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 383 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_response_headers/test_tutorial001.py

    
    def test_path_operation():
        response = client.get("/headers/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
        assert response.headers["X-Cat-Dog"] == "alone in the world"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 431 bytes
    - Viewed (0)
  7. docs_src/response_headers/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 222 bytes
    - Viewed (0)
  8. docs_src/response_headers/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 309 bytes
    - Viewed (0)
  9. tests/test_arbitrary_types.py

    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"custom_field": [1.0, 2.0, 3.0]}
    
    
    def test_typeadapter():
        # This test is only to confirm that Pydantic alone is working as expected
        from pydantic import (
            BaseModel,
            ConfigDict,
            PlainSerializer,
            TypeAdapter,
            WithJsonSchema,
        )
    
        class FakeNumpyArray:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. docs/en/data/github_sponsors.yml

        url: https://github.com/BoostryJP
      - login: requestly
        avatarUrl: https://avatars.githubusercontent.com/u/12287519?v=4
        url: https://github.com/requestly
      - login: acsone
        avatarUrl: https://avatars.githubusercontent.com/u/7601056?v=4
        url: https://github.com/acsone
    - - login: scalar
        avatarUrl: https://avatars.githubusercontent.com/u/301879?v=4
        url: https://github.com/scalar
      - login: Trivie
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 06:30:56 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top