- Sort Score
- Num 10 results
- Language All
Results 1421 - 1430 of 1,765 for header (0.13 seconds)
-
internal/lsync/lrwmutex_test.go
func HammerRWMutex(gomaxprocs, numReaders, numIterations int) { runtime.GOMAXPROCS(gomaxprocs) // Number of active readers + 10000 * number of active writers. var activity int32 rwm := NewLRWMutex() cdone := make(chan bool) go writer(rwm, numIterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(rwm, numIterations, &activity, cdone) } go writer(rwm, numIterations, &activity, cdone)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final Client mockNewClient = mock(Client.class); final Map<String, String> headers = new HashMap<>(); headers.put("Authorization", "Bearer token"); when(mockClient.filterWithHeader(headers)).thenReturn(mockNewClient); final Client result = fesenClient.filterWithHeader(headers); assertTrue(fesenClient == result); // Should return this
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
tests/test_no_swagger_ui_redirect.py
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 assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text print(client.base_url) assert "oauth2RedirectUrl" not in response.text def test_swagger_ui_no_oauth2_redirect():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 786 bytes - Click Count (0) -
ci/official/containers/ml_build/cuda13.0_cudnn9.15.packages.txt
libcusparse-dev-13-0 libcublas-13-0 libcublas-dev-13-0 libnccl-dev=2.27.7-1+cuda13.0 libnccl2=2.27.7-1+cuda13.0 # CuDNN: https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#ubuntu-network-installation libcudnn9-headers-cuda-13=9.15.1.9-1 libcudnn9-static-cuda-13=9.15.1.9-1 libcudnn9-dev-cuda-13=9.15.1.9-1
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Nov 17 21:35:00 GMT 2025 - 607 bytes - Click Count (0) -
docs/zh/docs/deployment/https.md
更新证书的过程中同时保持提供服务。 ## 代理转发请求头 { #proxy-forwarded-headers } 当使用代理来处理 HTTPS 时,你的**应用服务器**(例如通过 FastAPI CLI 运行的 Uvicorn)对 HTTPS 过程并不了解,它只通过纯 HTTP 与 **TLS 终止代理**通信。 这个**代理**通常会在将请求转发给**应用服务器**之前,临时设置一些 HTTP 请求头,以便让应用服务器知道该请求是由代理**转发**过来的。 /// note | 技术细节 这些代理请求头包括: * [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.5K bytes - Click Count (0) -
tests/test_security_api_key_query.py
def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "APIKey" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2K bytes - Click Count (0) -
CLAUDE.md
### Service - Inject behaviors (Bhv) for data access - Use `OptionalEntity<T>` for nullable returns - Plain classes (no extends/implements) ### Helper - Stateless utility classes - Access via `ComponentUtil.getXyzHelper()` - Named with "Helper" suffix ### DBFlute Generated Code ``` opensearch/{index}/ ├── bsentity/, bsbhv/ # Base classes (DO NOT EDIT)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 09:48:10 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/pt/docs/deployment/https.md
Os cabeçalhos do proxy são: * [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For) * [X-Forwarded-Proto](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Proto) * [X-Forwarded-Host](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host) ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 14.6K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
} override fun onRetryChange(timeMs: Long) { callbacks.add(timeMs) } } val buffer = Buffer().writeUtf8(source) val reader = ServerSentEventReader(buffer, callback) while (reader.processNextEvent()) { } assertThat(buffer.size, "Unconsumed buffer: ${buffer.readUtf8()}") .isEqualTo(0) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
src/bufio/scan_test.go
} err := s.Err() if err != nil { t.Errorf("#%d: %v", n, err) } } } // slowReader is a reader that returns only a few bytes at a time, to test the incremental // reads in Scanner.Scan. type slowReader struct { max int buf io.Reader } func (sr *slowReader) Read(p []byte) (n int, err error) { if len(p) > sr.max { p = p[0:sr.max] } return sr.buf.Read(p)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0)