- Sort Score
- Result 10 results
- Languages All
Results 2881 - 2890 of 7,612 for class (0.08 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
import java.util.concurrent.Future; import java.util.logging.Logger; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** Tests for {@link ExecutionSequencer} */ public class ExecutionSequencerTest extends TestCase { ExecutorService executor; private ExecutionSequencer serializer; private SettableFuture<@Nullable Void> firstFuture; private TestCallable firstCallable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
/** Utilities for the AbstractFutureBenchmarks */ final class AbstractFutureBenchmarks { private AbstractFutureBenchmarks() {} interface Facade<T> extends ListenableFuture<T> { @CanIgnoreReturnValue boolean set(T t); @CanIgnoreReturnValue boolean setException(Throwable t); } private static class NewAbstractFutureFacade<T> extends AbstractFuture<T> implements Facade<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js
h.floor(1e3*Math.random()),s+="-"+Math.floor(1e3*Math.random()));var r='<li class="nav-item" role="presentation"><a href="#" class="btn-iframe-close" data-widget="iframe-close" data-type="only-this"><i class="fas fa-times"></i></a><a class="nav-link" data-toggle="row" id="'+s+'" href="#'+l+'" role="tab" aria-controls="'+l+'" aria-selected="false">'+e+"</a></li>";n.default(me).append(unescape(escape(r)));var d='<div class="tab-pane fade" id="'+l+'" role="tabpanel" aria-labelledby="'+s+'"><iframe ...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 45.3K bytes - Viewed (0) -
docs_src/dependencies/tutorial008b.py
app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 735 bytes - Viewed (0) -
docs_src/dependencies/tutorial008d_an.py
from fastapi import Depends, FastAPI, HTTPException from typing_extensions import Annotated app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 744 bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial007.py
from typing import List import yaml from fastapi import FastAPI, HTTPException, Request from pydantic import BaseModel, ValidationError app = FastAPI() class Item(BaseModel): name: str tags: List[str] @app.post( "/items/", openapi_extra={ "requestBody": { "content": {"application/x-yaml": {"schema": Item.model_json_schema()}}, "required": True, }, },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 822 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; public class SearchApiManager extends BaseApiManager { private static final Logger logger = LogManager.getLogger(SearchApiManager.class); protected static final String MESSAGE_FIELD = "message"; protected static final String RESULT_FIELD = "result";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * Simple test adaptable to show a failure in older versions of OkHttp * or Android SDKs. */ @RunWith(AndroidJUnit4.class) public class IssueReproductionTest { @Test public void getFailsWithoutAdditionalCert() throws IOException { OkHttpClient client = new OkHttpClient(); sendRequest(client, "https://google.com/robots.txt"); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
docs/ko/docs/deployment/cloud.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jan 28 10:38:34 UTC 2024 - 1.3K bytes - Viewed (0) -
docs_src/security/tutorial003.py
return "fakehashed" + password oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 2.4K bytes - Viewed (0)