Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for batchSize (0.04 sec)

  1. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. docs/smb3-features/06-witness-protocol-design.md

        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  9. tests/query_test.go

    	}
    
    	targetUsers := users[3:8]
    	for i := 0; i < len(targetUsers); i++ {
    		AssertEqual(t, results[i], targetUsers[i])
    	}
    
    	var sub1 []User
    	// limit < batchSize
    	if result := DB.Limit(5).Where("name = ?", users[0].Name).FindInBatches(&sub1, 10, func(tx *gorm.DB, batch int) error {
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(differencer.Compare(node_in, node_out));
    }
    
    TEST(CAPI, TestTensorNonScalarBytesAllocateDelete) {
      const int batch_size = 4;
      const int num_dims = 2;
      int64_t* dims = new int64_t[num_dims];
      int64_t num_elements = 1;
      dims[0] = batch_size;
      dims[1] = 1;
      for (int64_t i = 0; i < num_dims; ++i) {
        num_elements *= dims[i];
      }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top