- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 439 for resp (0.24 seconds)
-
cmd/peer-rest-client.go
resp, err := getLocksRPC.Call(ctx, client.gridConn(), grid.NewMSS()) if err != nil || resp == nil { return nil, err } return *resp, nil } // LocalStorageInfo - fetch server information for a remote node. func (client *peerRESTClient) LocalStorageInfo(ctx context.Context, metrics bool) (info StorageInfo, err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
Trans2FindFirst2Response resp = inv.getArgument(1); // First response content FE[] res = java.util.Arrays.stream(batches.get(0)).map(FE::new).toArray(FE[]::new); setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res); setField(resp, Trans2FindFirst2Response.class, "sid", 42); setField(resp, Trans2FindFirst2Response.class, "resumeKey", 100);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
Trans2QueryPathInformationResponse resp = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO); // Create a buffer with sample data byte[] buffer = new byte[100]; int result = resp.readDataWireFormat(buffer, 0, 24); assertNotNull(resp.info);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/storage-rest-client.go
}) if err != nil { return cache, toStorageErr(err) } var final *dataUsageCache err = st.Results(func(resp *nsScannerResp) error { if resp.Update != nil { select { case <-ctx.Done(): case updates <- *resp.Update: } } if resp.Final != nil { final = resp.Final } // We can't reuse the response since it is sent upstream. return nil }) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> info = new ArrayList<>(); NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
tests/test_response_dependency.py
@app.get("/") def endpoint(response: Annotated[Response, Depends(modify_response)]): return {"status": "ok"} client = TestClient(app) resp = client.get("/") assert resp.status_code == 200 assert resp.json() == {"status": "ok"} assert resp.headers.get("X-Custom") == "modified" def test_response_with_depends_default(): """Response type hint should work with Response = Depends(...)."""
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
Smb2IoctlResponse resp = new Smb2IoctlResponse(config); resp.decode(packet, 0); assertEquals(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, resp.getCtlCode()); assertEquals(0x1234, resp.getIoctlFlags()); assertNotNull(resp.getFileId()); assertEquals(16, resp.getFileId().length); assertEquals(12, resp.getOutputLength());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)