Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 826 for initialize (0.11 sec)

  1. internal/logger/target/kafka/kafka.go

    	return types.TargetStats{
    		TotalMessages:  atomic.LoadInt64(&h.totalMessages),
    		FailedMessages: atomic.LoadInt64(&h.failedMessages),
    		QueueLength:    queueLength,
    	}
    }
    
    // Init initialize kafka target
    func (h *Target) Init(ctx context.Context) error {
    	if !h.kconfig.Enabled {
    		return nil
    	}
    	if err := h.validate(); err != nil {
    		return err
    	}
    	if h.kconfig.QueueDir != "" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. internal/cachevalue/cache.go

    	ttl time.Duration
    
    	opts Opts
    
    	// Once can be used to initialize values for lazy initialization.
    	// Should be set before calling Get().
    	Once sync.Once
    
    	// Managed values.
    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creation.
         * Sets the CRUD mode to CREATE and populates created by and created time fields
         * with current user and timestamp information.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlog/EditForm.java

        /**
         * Default constructor for EditForm.
         */
        public EditForm() {
            // Default constructor
        }
    
        /**
         * Initializes the form by resetting all fields to their default values.
         */
        public void initialize() {
            id = null;
            logType = null;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/CreateForm.java

        /** Timestamp when this configuration was created */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creating a new boost document configuration.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. .github/workflows/codeql-analysis.yml

        steps:
        - name: Checkout repository
          uses: actions/checkout@v4
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
          uses: github/codeql-action/init@v3
          with:
            languages: ${{ matrix.language }}
            # If you wish to specify custom queries, you can do so here or in a config file.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java

        /**
         * The timestamp when this related content was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creating new related content.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/Handler.java

                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        } catch (final Exception ex) {
                            log.debug("Failed to initialize handler " + className, ex);
                        }
                    }
                }
                if (handler == null) {
                    for (final String element : JVM_VENDOR_DEFAULT_PKGS) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

     *
     */
    public class LastaCrawlerContainer implements CrawlerContainer {
    
        /**
         * Creates a new instance of LastaCrawlerContainer.
         */
        public LastaCrawlerContainer() {
            initialize();
        }
    
        @Override
        public <T> T getComponent(final String name) {
            return SingletonLaContainerFactory.getContainer().getComponent(name);
        }
    
        @Override
        public boolean available() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/CreateForm.java

        public String inputs;
    
        /** Output term that input terms will be mapped to */
        @Size(min = 1, max = 1000)
        public String output;
    
        /**
         * Initializes the form with default values for creating a new mapping dictionary entry.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top