- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 378 for initialize (0.05 sec)
-
cmd/config-migrate.go
configFiles := []string{ getConfigFile(), getConfigFile() + ".deprecated", configFile, } newServerCfg := func() (config.Config, error) { // Initialize server config. srvCfg := newServerConfig() return srvCfg, saveServerConfig(ctx, objAPI, srvCfg) } var data []byte var err error cfg := &serverConfigV33{} for _, cfgFile := range configFiles {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should initialize with SMB_QUERY_FILE_BASIC_INFO level") void testConstructorWithBasicInfo() throws Exception { Trans2QueryPathInformationResponse resp =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter(); // Test request without Authorization header should challenge client when(request.getHeader("Authorization")).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData(); serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key // Configure the mock transport with the server data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
class NdrHyperTest { @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testConstructorAndGetValue() { // Test that the constructor correctly initializes the value long expectedValue = 123456789012345L; NdrHyper ndrHyper = new NdrHyper(expectedValue);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
private Trans2SetFileInformationResponse response; @BeforeEach void setUp() { // Initialize a new response object before each test response = new Trans2SetFileInformationResponse(); } /** * Test for the constructor of {@link Trans2SetFileInformationResponse}. * It should initialize the subCommand correctly. */ @Test void testConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
cmd/typed-errors.go
var errInvalidRangeSource = errors.New("Range specified exceeds source object size") // error returned by disks which are to be initialized are waiting for the // first server to initialize them in distributed set to initialize them. var errNotFirstDisk = errors.New("Not first drive") // error returned by first disk waiting to initialize other servers. var errFirstDiskWait = errors.New("Waiting on other drives") // error returned for a negative actual size.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (1) -
src/test/java/jcifs/context/SingletonContextTest.java
@Test void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized SingletonContext.init(null); CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null)); assertEquals("Singleton context is already initialized", e.getMessage()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/peer-s3-server.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
cmd/routers.go
func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handler, error) { // Initialize router. `SkipClean(true)` stops minio/mux from // normalizing URL path minio/minio#3256 router := mux.NewRouter().SkipClean(true).UseEncodedPath() // Initialize distributed NS lock. if globalIsDistErasure { registerDistErasureRouters(router, endpointServerPools) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0)