Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for BatchSize (0.08 sec)

  1. internal/logger/config.go

    			return cfg, err
    		}
    		if queueSize <= 0 {
    			return cfg, errInvalidQueueSize
    		}
    		batchSizeCfgVal := getCfgVal(EnvLoggerWebhookBatchSize, k, kv.Get(BatchSize))
    		batchSize, err := strconv.Atoi(batchSizeCfgVal)
    		if err != nil {
    			return cfg, err
    		}
    		if batchSize <= 0 {
    			return cfg, errInvalidBatchSize
    		}
    		maxRetryCfgVal := getCfgVal(EnvLoggerWebhookMaxRetry, k, kv.Get(MaxRetry))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. finisher_api.go

    		} else if result.Error != nil {
    			tx.AddError(result.Error)
    		}
    
    		if tx.Error != nil || int(result.RowsAffected) < batchSize {
    			break
    		}
    
    		if totalSize > 0 {
    			if totalSize <= int(rowsAffected) {
    				break
    			}
    			if totalSize/batchSize == batch {
    				batchSize = totalSize % batchSize
    			}
    		}
    
    		// Optimize for-break
    		resultsValue := reflect.Indirect(reflect.ValueOf(dest))
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    func New(config Config) (*Target, error) {
    	maxWorkers := maxWorkers
    	if config.BatchSize > 100 {
    		maxWorkers = maxWorkersWithBatchEvents
    	} else if config.BatchSize <= 0 {
    		config.BatchSize = 1
    	}
    
    	h := &Target{
    		logCh:       make(chan any, config.QueueSize),
    		config:      config,
    		batchSize:   config.BatchSize,
    		maxWorkers:  int64(maxWorkers),
    		httpTimeout: config.HTTPTimeout,
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

         * @param batchCount the number of entries to return
         * @param batchSize the maximum size of the response buffer
         */
        public Trans2FindNext2(final Configuration config, final int sid, final int resumeKey, final String filename, final int batchCount,
                final int batchSize) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_NEXT2);
            this.sid = sid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

         * @param batchCount the number of entries to return
         * @param batchSize the maximum size of the response buffer
         */
        public Trans2FindFirst2(final Configuration config, final String filename, final String wildcard, final int searchAttributes,
                final int batchCount, final int batchSize) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            String[] botNames;
            if (StringUtil.isBlank(value)) {
                botNames = StringUtil.EMPTY_STRINGS;
            } else {
                botNames = value.split(",");
            }
    
            final int batchSize = fessConfig.getSearchlogProcessBatchSizeAsInteger();
    
            final List<SearchLog> searchLogList = new ArrayList<>();
            final Map<String, UserInfo> userInfoMap = new HashMap<>();
            while (!queue.isEmpty()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. generics.go

    }
    
    func (c createG[T]) Create(ctx context.Context, r *T) error {
    	return c.g.apply(ctx).Create(r).Error
    }
    
    func (c createG[T]) CreateInBatches(ctx context.Context, r *[]T, batchSize int) error {
    	return c.g.apply(ctx).CreateInBatches(r, batchSize).Error
    }
    
    type chainG[T any] struct {
    	execG[T]
    }
    
    func (c chainG[T]) getInstance() *DB {
    	var r T
    	return c.g.apply(context.Background()).Model(r).getInstance()
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        void testConstructorWithVariousParameters(int sid, int resumeKey, String filename, int batchCount, int batchSize) {
            // Test constructor with various parameter combinations
            trans2FindNext2 = new Trans2FindNext2(config, sid, resumeKey, filename, batchCount, batchSize);
    
            assertNotNull(trans2FindNext2);
    
            // Verify parameters are written correctly
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    	const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
    	var (
    		metadata = make([]map[string]string, 0, BatchSize)
    		buckets  = make([]string, 0, BatchSize)
    		names    = make([]string, 0, BatchSize)
    	)
    	for len(objects) > 0 {
    		N := min(len(objects), BatchSize)
    		batch := objects[:N]
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 38K bytes
    - Viewed (0)
  10. internal/config/notify/parse.go

    			QueueDir:           env.Get(queueDirEnv, kv.Get(target.KafkaQueueDir)),
    			QueueLimit:         queueLimit,
    			Version:            env.Get(versionEnv, kv.Get(target.KafkaVersion)),
    			BatchSize:          uint32(batchSize),
    			BatchCommitTimeout: batchCommitTimeout,
    		}
    
    		tlsEnableEnv := target.EnvKafkaTLS
    		if k != config.Default {
    			tlsEnableEnv = tlsEnableEnv + config.Default + k
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.5K bytes
    - Viewed (0)
Back to top