- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,943 for Responses (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().securityMode = 1; response.getServerData().encryptedPasswords = true; response.getServerData().smaxMpxCount = 50; response.getServerData().maxNumberVcs = 1; response.getServerData().maxBufferSize = 16384; response.getServerData().maxRawSize = 4096; response.getServerData().sessKey = 0x12345678; response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
@DisplayName("Test initResponse returns initialized response") void testInitResponse() { // Given when(request.initResponse(context)).thenReturn(response); // When CommonServerMessageBlockResponse result = request.initResponse(context); // Then assertNotNull(result); assertEquals(response, result); verify(request, times(1)).initResponse(context); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
tests/test_skip_defaults.py
client = TestClient(app) def test_return_defaults(): response = client.get("/") assert response.json() == {"sub": {}} def test_return_exclude_unset(): response = client.get("/exclude_unset") assert response.json() == {"x": None, "y": "y"} def test_return_exclude_defaults(): response = client.get("/exclude_defaults") assert response.json() == {} def test_return_exclude_none():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/JobLogTests.java
searchBody.put("size", 100); String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs"); logger.info("Job logs: {}", logs); assertTrue(logs.size() > 0, "Should have at least one job log"); // Verify response structure
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
return null; } /** * Gets the output data decoded as the specified response type. * * @param <T> the type of the decoded response data * @param responseType the class of the expected response type * @return decoded data * @throws SmbException if decoding fails or the response type is incompatible */ @SuppressWarnings("unchecked")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
tests/test_response_change_status_code.py
from fastapi import Depends, FastAPI, Response from fastapi.testclient import TestClient app = FastAPI() async def response_status_setter(response: Response): response.status_code = 201 async def parent_dep(result=Depends(response_status_setter)): return result @app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 589 bytes - Click Count (0) -
tests/test_dependency_cache.py
assert response.json() == {"counter": 1, "subcounter": 1} response = client.get("/sub-counter/") assert response.status_code == 200, response.text assert response.json() == {"counter": 2, "subcounter": 2} def test_sub_counter_no_cache(): counter_holder["counter"] = 0 response = client.get("/sub-counter-no-cache/") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Aug 23 13:30:24 GMT 2022 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
list.setTook(response.getTook().getMillis()); list.setTotalShards(response.getTotalShards()); list.setSuccessfulShards(response.getSuccessfulShards()); list.setFailedShards(response.getFailedShards()); list.setTotalHits(searchHits.getTotalHits()); list.setAggregation(response.getAggregations()); // #pending othersCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
tests/test_stream_bare_type.py
def test_stream_bare_async_iterable(): response = client.get("/items/stream-bare-async") assert response.status_code == 200 assert response.headers["content-type"] == "application/jsonl" lines = [json.loads(line) for line in response.text.strip().splitlines()] assert lines == [{"name": "foo"}] def test_stream_bare_sync_iterable(): response = client.get("/items/stream-bare-sync")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
// The constructor is called in setUp(), so we just verify the result. assertNotNull(response, "The response object should not be null."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; int result = response.writeSetupWireFormat(dst, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0)