Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 3,994 for getZ (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         */
        RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException;
    
        /**
         * Get provider name (e.g., "InfiniBand", "iWARP", "RoCE", "TCP Fallback")
         *
         * @return human-readable provider name
         */
        String getProviderName();
    
        /**
         * Get maximum message size supported by this provider
         *
         * @return maximum message size in bytes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertThrows(CancellationException.class, () -> future.get());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. tests/test_response_change_status_code.py

    
    async def parent_dep(result=Depends(response_status_setter)):
        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 589 bytes
    - Viewed (0)
  4. tests/test_stringified_annotations_simple.py

            return "test"
    
    
    @needs_py310
    def test_stringified_annotations():
        app = FastAPI()
    
        client = TestClient(app)
    
        @app.get("/test/")
        def call(test: Annotated[str, Depends(Dep())]):
            return {"test": test}
    
        response = client.get("/test")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 545 bytes
    - Viewed (0)
  5. tests/test_validate_response_recursive/test_validate_response_recursive.py

    from .app import app
    
    
    def test_recursive():
        client = TestClient(app)
        response = client.get("/items/recursive")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
        response = client.get("/items/recursive-submodel")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 10:24:10 UTC 2025
    - 836 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

        super(unfiltered, keyPredicate);
      }
    
      @Override
      public SetMultimap<K, V> unfiltered() {
        return (SetMultimap<K, V>) unfiltered;
      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      @Override
      public Set<V> removeAll(@Nullable Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
        return e0().getKey();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

            String projectKey = ArtifactUtils.versionlessKey(groupId, artifactId);
    
            Map<String, Vertex> vertices = vertexMap.get(projectKey);
    
            if (vertices != null) {
                if (isSpecificVersion(version)) {
                    Vertex vertex = vertices.get(version);
                    if (vertex != null) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

                        status_text: Optional[str] = status_code_ranges.get(
                            str(additional_status_code).upper()
                        ) or http.client.responses.get(int(additional_status_code))
                        description = (
                            process_response.get("description")
                            or openapi_response.get("description")
                            or status_text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008.py

        mod_name = f"docs_src.dependencies.{request.param}"
        mod = importlib.import_module(mod_name)
        return mod
    
    
    def test_get_db(module: ModuleType):
        app = FastAPI()
    
        @app.get("/")
        def read_root(c: Annotated[Any, Depends(module.dependency_c)]):
            return {"c": str(c)}
    
        client = TestClient(app)
    
        a_mock = Mock()
        b_mock = Mock()
        c_mock = Mock()
    
        with (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top