- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 49 for pin2 (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val pin: String = CertificatePinner.pin(certificate) val default: CertificatePinner = CertificatePinner.DEFAULT } @Test fun certificatePinnerBuilder() { val builder: CertificatePinner.Builder = CertificatePinner.Builder() builder.add("", "pin1", "pin2") } @Test fun challenge() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
assertEquals("Status of production-cluster is changed to GREEN.", result); } // Test with exception during ping @Test public void test_execute_pingException() { SearchEngineClient searchEngineClient = new SearchEngineClient() { @Override public PingResponse ping() { throw new RuntimeException("Connection failed"); } };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
docs/en/docs/deployment/versions.md
## Pin your `fastapi` version { #pin-your-fastapi-version } The first thing you should do is to "pin" the version of **FastAPI** you are using to the specific latest version that you know works correctly for your application.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.4K bytes - Click Count (0) -
tests/test_sse.py
] assert len(data_lines) == 2 # Keepalive ping tests keepalive_app = FastAPI() @keepalive_app.get("/slow-async", response_class=EventSourceResponse) async def slow_async_stream(): yield {"n": 1} # Sleep longer than the (monkeypatched) ping interval so a keepalive # comment is emitted before the next item. await asyncio.sleep(0.3)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
CertificatePinner.Builder().add("localhost", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=").build() override fun isDefaultValue(value: CertificatePinner): Boolean = value.pins.isEmpty() } object ConnectionPoolOverride : Override<ConnectionPool> { override fun Interceptor.Chain.value(): ConnectionPool = connectionPool
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
final PingResponse pingResponse = searchEngineClient.ping(); writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE, "\"data\":" + pingResponse.getMessage()); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to process a ping request.", e); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1) -
docs/ko/docs/deployment/versions.md
지금 바로 **FastAPI**로 프로덕션 애플리케이션을 만들 수 있습니다(그리고 아마도 한동안 그렇게 해오셨을 것입니다). 다만 나머지 코드와 함께 올바르게 동작하는 버전을 사용하고 있는지 확인하기만 하면 됩니다. ## `fastapi` 버전을 고정하기 { #pin-your-fastapi-version } 가장 먼저 해야 할 일은 여러분의 애플리케이션에서 올바르게 동작하는 것으로 알고 있는 **FastAPI**의 최신 구체 버전에 맞춰 사용 중인 버전을 "고정(pin)"하는 것입니다. 예를 들어, 앱에서 `0.112.0` 버전을 사용하고 있다고 가정해 보겠습니다. `requirements.txt` 파일을 사용한다면 다음과 같이 버전을 지정할 수 있습니다: ```txt fastapi[standard]==0.112.0 ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.2K bytes - Click Count (0) -
.github/workflows/tests.yml
MYSQL_USER: gorm MYSQL_PASSWORD: gorm MYSQL_RANDOM_ROOT_PASSWORD: "yes" ports: - 9910:3306 options: >- --health-cmd "mysqladmin ping -ugorm -pgorm" --health-interval 10s --health-start-period 10s --health-timeout 5s --health-retries 10 steps: - name: Set up Go 1.x uses: actions/setup-go@v5Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 23 10:05:06 GMT 2026 - 9K bytes - Click Count (0) -
ci/official/requirements_updater/requirements.in
auditwheel >= 6.1.0 # Install tensorboard, and keras # Note that here we want the latest version that matches TF major.minor version # Note that we must use nightly here as these are used in nightly jobs # For release jobs, we will pin these on the release branch keras-nightly ~= 3.12.0.dev tb-nightly ~= 2.20.0.a # For new protobuf, if V.x.y is gencode version, then runtime version U must be # V <= U <= V+1
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 10 13:31:27 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/versions.md
這就是為什麼目前版本仍為 `0.x.x`,這表示每個版本都可能包含破壞性變更。這遵循 [語意化版本(Semantic Versioning)](https://semver.org/) 的慣例。 你現在就可以用 **FastAPI** 建置生產環境的應用(而且你可能已經這麼做一段時間了),只要確保你使用的版本能與其餘程式碼正確相容。 ## 鎖定你的 `fastapi` 版本 { #pin-your-fastapi-version } 首先,你應該將你使用的 **FastAPI** 版本「鎖定(pin)」到你知道對你的應用可正常運作的最新特定版本。 例如,假設你的應用使用 `0.112.0` 版本。 如果你使用 `requirements.txt` 檔案,可以這樣指定版本: ```txt fastapi[standard]==0.112.0 ``` 這表示你會使用完全相同的 `0.112.0` 版本。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.1K bytes - Click Count (0)