- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,338 for responder (0.12 seconds)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(expectedTime, response.getLastWriteTime()); assertEquals(expectedTime, response.getChangeTime()); assertEquals(0, response.getAllocationSize()); assertEquals(0, response.getEndOfFile()); assertEquals(0, response.getFileAttributes()); } @Test @DisplayName("Should handle maximum values correctly")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
// Set some test values setStatus(response, 0); setConverter(response, 100); setNumEntries(response, 2); setTotalAvailableEntries(response, 5); // Set lastName through reflection Field lastNameField = response.getClass().getDeclaredField("lastName"); lastNameField.setAccessible(true); lastNameField.set(response, "LASTSERVER");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
SuggestResponse response = new SuggestResponse("test-index", 100, words, 10, items); assertNotNull(response); assertEquals("test-index", response.getIndex()); assertEquals(100, response.getTookMs()); assertEquals(2, response.getNum()); assertEquals(10, response.getTotal()); assertEquals(2, response.getWords().size());Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
// Decode int bytesDecoded = response.decode(buffer, 0, 16); // Verify assertEquals(1, response.getNamedPipeState()); assertEquals(2, response.getReadDataAvailable()); assertEquals(3, response.getNumberOfMessages()); assertEquals(4, response.getMessageLength()); assertEquals(0, response.getData().length); assertEquals(16, bytesDecoded); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
internal/grid/muxserver.go
select { case <-m.ctx.Done(): return case handlerIn <- in: m.send(message{Op: OpUnblockClMux, MuxID: m.ID, Flags: c.baseFlags}) } } } } // sendResponses will send responses to the client. func (m *muxServer) sendResponses(ctx context.Context, toSend <-chan []byte, c *Connection, handlerErr *atomic.Pointer[RemoteErr], outBlock <-chan struct{}) { for { // Process outgoing message.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(24, bytesDecoded, "Should decode exactly 24 bytes"); assertEquals(0, response.getCapabilities(), "Capabilities should be zero"); assertArrayEquals(new byte[16], response.getServerGuid(), "Server GUID should be all zeros"); assertEquals(0, response.getSecurityMode(), "Security mode should be zero"); assertEquals(0, response.getDialect(), "Dialect should be zero"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_list.py
client = TestClient(app) response = client.get(path) assert response.status_code == 200, response.text assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str(path: str): client = TestClient(app) response = client.get(path, headers=[("p", "hello"), ("p", "world")])
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_response_model_include_exclude.py
response = client.get("/simple_exclude_dict") assert response.status_code == 200, response.text assert response.json() == { "baz": "simple_exclude_dict model2 baz", "ref": {"foo": "simple_exclude_dict model foo"}, } def test_nested_include_mixed(): response = client.get("/mixed") assert response.status_code == 200, response.text assert response.json() == {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jul 19 19:14:58 GMT 2021 - 4K bytes - Click Count (0) -
tests/test_request_params/test_cookie/test_optional_str.py
client = TestClient(app) response = client.get(path) assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str(path: str): client = TestClient(app) client.cookies.set("p", "hello") response = client.get(path) assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.4K bytes - Click Count (0) -
tests/test_required_noneable.py
def test_required_nonable_query_invalid(): response = client.get("/query") assert response.status_code == 422 def test_required_noneable_query_value(): response = client.get("/query", params={"q": "foo"}) assert response.status_code == 200 assert response.json() == "foo" def test_required_nonable_explicit_query_invalid(): response = client.get("/explicit-query")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 19:08:31 GMT 2022 - 1.5K bytes - Click Count (0)