- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NewResponse (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// But creating a new instance should have the correct subcommand Trans2SetFileInformationResponse newResponse = new Trans2SetFileInformationResponse(config); assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, newResponse.getSubCommand()); } @Test @DisplayName("Test multiple sequential calls to read/write methods") void testMultipleSequentialCalls() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
internal/grid/handlers.go
h.sharedResp = true return h } // NewResponse creates a new response. // Handlers can use this to create a reusable response. // The response may be reused, so caller should clear any fields. func (h *SingleHandler[Req, Resp]) NewResponse() Resp { return h.newResp() } // NewRequest creates a new request.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Given - create a mock configuration Configuration testConfig = mock(Configuration.class); // When Smb2FlushResponse newResponse = new Smb2FlushResponse(testConfig); // Then assertNotNull(newResponse); // Verify the response was created successfully with the configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
internal/grid/grid_test.go
}, func() *testResponse { return &testResponse{} }) // Handles incoming requests, returns a response handler1 := func(req *testRequest) (resp *testResponse, err *RemoteErr) { resp = h1.NewResponse() *resp = testResponse{ OrgNum: req.Num, OrgString: req.String, Embedded: *req, } return resp, nil } // Return error
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.1K bytes - Viewed (0) -
cmd/storage-rest-server.go
for update := range updates { resp := storageNSScannerRPC.NewResponse() resp.Update = &update out <- resp } }() ui, err := s.getStorage().NSScanner(ctx, *params.Cache, updates, madmin.HealScanMode(params.ScanMode), nil) wg.Wait() if err != nil { return grid.NewRemoteErr(err) } // Send final response. resp := storageNSScannerRPC.NewResponse() resp.Final = &ui out <- resp return nil }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0)