- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 234 for resp (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
// Arrange TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); // Act & Assert - no exceptions should be thrown assertDoesNotThrow(() -> resp.writeSetupWireFormat(null, 0)); assertDoesNotThrow(() -> resp.writeParametersWireFormat(null, 0)); assertDoesNotThrow(() -> resp.writeDataWireFormat(null, 0)); assertDoesNotThrow(() -> resp.readSetupWireFormat(null, 0, 0));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_query_cookie_header_model_extra_params.py
client = TestClient(app) resp = client.get( "/query", params={ "param": "123", "param2": "456", }, ) assert resp.status_code == 200 assert resp.json() == { "param": "123", "param2": "456", } def test_header_pass_extra_list(): client = TestClient(app) resp = client.get( "/header",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
private SmbComWriteResponse resp; private Configuration cfgMock; @BeforeEach public void setUp() { // create a mock configuration that satisfies constructor requirements. cfgMock = mock(Configuration.class); resp = new SmbComWriteResponse(cfgMock); } @Test public void testInitialCountIsZero() { assertEquals(0, resp.getCount(), "Initial count should be zero");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmSsp.java
} } else { resp.setHeader("WWW-Authenticate", "NTLM"); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); resp.setContentLength(0); resp.flushBuffer(); return null; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
} } } func fwdStatusToAPIError(statusCode int, resp *http.Response) *APIError { if statusCode < http.StatusBadRequest { return nil } desc := resp.Header.Get(xhttp.AmzFwdErrorMessage) if strings.TrimSpace(desc) == "" { apiErr := errorCodes.ToAPIErr(ErrInvalidRequest) return &apiErr } code := resp.Header.Get(xhttp.AmzFwdErrorCode) if strings.TrimSpace(code) == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
int decoded = resp.decode(buf, headerStart); assertTrue(decoded > 0, "Decode should return positive length"); assertEquals(NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, resp.getStatus()); assertArrayEquals(blob, resp.getBlob(), "Security blob should match"); assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
void constructor_happyPath() { // Arrange Configuration cfg = Mockito.mock(Configuration.class); // Act Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg); // Assert assertNotNull(resp, "Response instance should be created"); } @Nested @DisplayName("writeBytesWireFormat") class WriteBytesWireFormat { @ParameterizedTest
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
docs/iam/identity-manager-plugin.go
json.NewEncoder(w).Encode(map[string]string{ "reason": fmt.Sprintf("%v", err), }) } type Resp struct { User string `json:"user"` MaxValiditySeconds int `json:"maxValiditySeconds"` Claims map[string]interface{} `json:"claims"` } var tokens map[string]Resp = map[string]Resp{ "aaa": { User: "Alice", MaxValiditySeconds: 3600,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/config/policy/opa/config.go
if o.args.AuthToken != "" { req.Header.Set("Authorization", o.args.AuthToken) } resp, err := o.client.Do(req) if err != nil { return false, err } defer o.args.CloseRespFn(resp.Body) // Read the body to be saved later. opaRespBytes, err := io.ReadAll(resp.Body) if err != nil { return false, err } // Handle large OPA responses when OPA URL is ofCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} if (!resp.isReceived()) { throw new CIFSException("Did not receive response"); } if (resp.getErrorCode() == 0x10B) { this.handle.markClosed(); } if (resp.getErrorCode() == 0x10C) { resp.getNotifyInformation().clear(); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0)