Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 667 for initializers (0.13 sec)

  1. cmd/erasure_test.go

    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    	blockSize    int64
    	diskPaths    []string
    	disks        []StorageAPI
    }
    
    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    	diskPaths := make([]string, dataBlocks+parityBlocks)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            // Act
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. logger/logger.go

    	RecorderParamsFilter = func(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) {
    		return sql, params
    	}
    )
    
    // New initialize logger
    func New(writer Writer, config Config) Interface {
    	var (
    		infoStr      = "%s\n[info] "
    		warnStr      = "%s\n[warn] "
    		errStr       = "%s\n[error] "
    		traceStr     = "%s\n[%.3fms] [rows:%v] %s"
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:19:28 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. cmd/lock-rest-server.go

    )
    
    // lockMaintenance loops over all locks and discards locks
    // that have not been refreshed for some time.
    func lockMaintenance(ctx context.Context) {
    	if !globalIsDistErasure {
    		return
    	}
    
    	// Initialize a new ticker with 1 minute between each ticks.
    	lkTimer := time.NewTimer(lockMaintenanceInterval)
    	// Stop the timer upon returning.
    	defer lkTimer.Stop()
    
    	for {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

        protected int timeout = -1; // sec
    
        /** Flag indicating whether the process has timed out */
        protected boolean processTimeout = false;
    
        /**
         * Default constructor for ExecJob.
         * Initializes default values for job configuration.
         */
        protected ExecJob() {
            // Default constructor
        }
    
        /**
         * Executes the job and returns the result as a string.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Hexdump.java

     */
    
    public class Hexdump {
    
        /**
         * Default constructor.
         */
        public Hexdump() {
            // Utility class - no instance variables to initialize
        }
    
        /**
         * Array of hexadecimal digit characters used for converting binary data to hex representation.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. cmd/ftp-server.go

    		ExplicitFTPS:   tls,
    		Logger:         &minioLogger{},
    		PassivePorts:   portRange,
    		PublicIP:       publicIP,
    		ForceTLS:       forceTLS,
    	})
    	if err != nil {
    		logger.Fatal(err, "unable to initialize FTP server")
    	}
    
    	logger.Info(fmt.Sprintf("%s listening on %s", name, net.JoinHostPort(publicIP, strconv.Itoa(port))))
    
    	if err = ftpServer.ListenAndServe(); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. ci/devinfra/docker/windows/Dockerfile

        [Environment]::SetEnvironmentVariable('PATH', $env:PATH, 'Machine');
    
    # Disable signature checking on pacman because we cannot initialize the keyring.
    RUN Add-Content -Path C:\tools\msys64\etc\pacman.d\mirrorlist.mingw32 -Value 'SigLevel = Never'
    RUN Add-Content -Path C:\tools\msys64\etc\pacman.d\mirrorlist.mingw64 -Value 'SigLevel = Never'
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:35:57 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            runner.ensureYellow();
            client = runner.client();
    
            // Create test index with analyzers
            createTestIndex();
    
            // Initialize suggest settings
            initializeSuggestSettings();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            public static void shutdownAll() {
                throw new RuntimeException("Simulated exception during shutdown");
            }
        }
    
        // Test to verify the logger field is properly initialized
        public void test_loggerFieldInitialization() throws Exception {
            // Use reflection to access the private logger field
            Field loggerField = FessCurtainFinallyHook.class.getDeclaredField("logger");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top