- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 3,731 for get2 (0.03 seconds)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return !exists; }); } /** * Get detailed health statistics */ public PoolHealthMetrics getHealthMetrics() { return new PoolHealthMetrics(connections.size(), nonPooledConnections.size(), activeConnections.get(), maxPoolSize, totalHealthChecks.get(), failedHealthChecks.get(), connectionsRemoved.get(), connectionMetrics.size(),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger(); stream(conditions.get(SearchRequestParams.AS_OCCURRENCE)) .of(stream -> stream.filter(this::isOccurrence).findFirst().ifPresent(q -> queryBuf.insert(0, q + ":"))); stream(conditions.get(SearchRequestParams.AS_Q)) .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
tests/test_swagger_ui_init_oauth.py
swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"} app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text print(response.text) assert "ui.initOAuth" in response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 09 10:54:05 GMT 2020 - 718 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java
result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setExcludedPaths(DfTypeUtil.toString(source.get("excludedPaths"))); result.setIncludedPaths(DfTypeUtil.toString(source.get("includedPaths"))); result.setName(DfTypeUtil.toString(source.get("name")));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
* * 1. The client thread begins to block on a get() call to a future. * 2. The client thread is interrupted sometime before the result would be * available. * 3. We expect the client's get() to throw an InterruptedException. * 4. We expect the client thread's interrupt state to be false. * 5. The client thread again makes a blocking call to get(). * 6. Now the result becomes available.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
for (Map<String, Object> existingDoc : existingDocs) { final Map<String, Object> doc = new HashMap<>(); doc.put("doc_id", existingDoc.get("doc_id")); doc.put("title", existingDoc.get("title") + "_updated"); doc.put("url", existingDoc.get("url_link")); doc.put("content", "Updated content"); doc.put("boost", 2.0f); doc.put("role", "Rguest");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
tests/test_router_events.py
app = FastAPI(lifespan=lifespan) @app.get("/") def main() -> dict[str, str]: return {"message": "Hello World"} assert state.app_startup is False assert state.app_shutdown is False with TestClient(app) as client: assert state.app_startup is True assert state.app_shutdown is False response = client.get("/") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
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 coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.5K bytes - Click Count (0)