Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewResponse (0.05 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. 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 configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
Back to top