Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 3,058 for getI (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_response_code_no_body.py

        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        status_code=204,
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass
    
    
    @app.get("/b", responses={204: {"description": "No Content"}})
    async def b():
        pass  # pragma: no cover
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (1)
  3. docs_src/custom_docs_ui/tutorial002_py310.py

            swagger_js_url="/static/swagger-ui-bundle.js",
            swagger_css_url="/static/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    async def swagger_ui_redirect():
        return get_swagger_ui_oauth2_redirect_html()
    
    
    @app.get("/redoc", include_in_schema=False)
    async def redoc_html():
        return get_redoc_html(
            openapi_url=app.openapi_url,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

            assertTrue(
                    tms.get(0) instanceof ReleaseArtifactTransformation,
                    "We expected the release transformation and got " + tms.get(0));
    
            assertTrue(
                    tms.get(1) instanceof LatestArtifactTransformation,
                    "We expected the latest transformation and got " + tms.get(1));
    
            assertTrue(
                    tms.get(2) instanceof SnapshotTransformation,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        for (int i = 0; i < reps; i++) {
          Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.set(i);
        }
        for (int i = 0; i < reps; i++) {
          r += list.get(i).get();
        }
        return r;
      }
    
      @Benchmark
      public long timeComplete_Failure(int reps) throws Exception {
        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        val KtNamedDeclaration.isIncubating: Boolean
            get() = annotationEntries.any { it.shortName?.asString() == "Incubating" }
    
        private
        val KtNamedDeclaration.typeParametersString: String
            get() = (this as? KtCallableDeclaration)?.typeParameterList?.let { "${it.text} " } ?: ""
    
        private
        val KtNamedDeclaration.fullyQualifiedName: String
            get() = fqName!!.asString()
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. docs_src/dependency_testing/tutorial001_py310.py

    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  8. tests/test_security_api_key_query.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me?key=secret")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. tests/test_security_http_base_description.py

    security = HTTPBase(scheme="Other", description="Other Security Scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_base():
        response = client.get("/users/me", headers={"Authorization": "Other foobar"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        nested.set("foo");
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertThat(future.get()).isEqualTo("foo");
      }
    
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top