- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 2,683 for batch (0.03 seconds)
-
internal/event/target/kafka.go
return err } } if k.BatchSize > 1 { if k.QueueDir == "" { return errors.New("batch should be enabled only if queue dir is enabled") } } if k.BatchCommitTimeout > 0 { if k.QueueDir == "" || k.BatchSize <= 1 { return errors.New("batch commit timeout should be set only if queue dir is enabled and batch size > 1") } } return nil } // KafkaTarget - Kafka target.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
try { return ps.execute(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Executes a batch update. * * @param ps * {@link PreparedStatement}. Must not be {@literal null}. * @return An array of the number of rows affected by each command in the batch. * @throws SQLRuntimeExceptionCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.9K bytes - Click Count (0) -
tests/query_test.go
results = append(results, sub...) lastBatch = batch return nil }); result.Error != nil || result.RowsAffected != 5 { t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected) } if lastBatch != 3 { t.Fatalf("incorrect last batch, expected: %v, got: %v", 3, lastBatch) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
tests/generics_test.go
func TestGenericsCreateInBatches(t *testing.T) { batch := []User{ {Name: "GenericsCreateInBatches1"}, {Name: "GenericsCreateInBatches2"}, {Name: "GenericsCreateInBatches3"}, } ctx := context.Background() if err := gorm.G[User](DB).CreateInBatches(ctx, &batch, 2); err != nil { t.Fatalf("CreateInBatches failed: %v", err) } for _, u := range batch { if u.ID == 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
for (int i = 0; i < events.size(); i += BATCH_SIZE) { final List<LogNotificationEvent> batch = events.subList(i, Math.min(i + BATCH_SIZE, events.size())); final BulkRequestBuilder bulkRequest = client.prepareBulk(); for (final LogNotificationEvent event : batch) { final Map<String, Object> source = new HashMap<>(); source.put("hostname", hostname);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
protected CrawlerClientFactory crawlerClientFactory; /** * List of URLs to be deleted, cached for batch processing. * All access is synchronized via indexUpdateCallback lock. */ protected List<String> deleteUrlList = new ArrayList<>(); /** Maximum size of the delete URL cache before batch deletion is triggered. */ protected int maxDeleteDocumentCacheSize;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
* 4 = SMB_COM_DELETE_DIRECTORY * 5 = SMB_COM_OPEN_ANDX * 6 = SMB_COM_RENAME * 7 = SMB_COM_TRANSACTION * 8 = SMB_COM_QUERY_INFORMATION */ /* All batch limits are single batch only until further notice */ private static byte[] batchLimits = { 1, 1, 1, 1, 1, 1, 1, 1, 0 }; static {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.6K bytes - Click Count (0) -
cmd/encryption-v1.go
if len(SSES3SinglePartObjects) == 0 { for i := range batch { size, err := batch[i].GetActualSize() if err != nil { return err } batch[i].Size = size if _, ok := crypto.IsEncrypted(batch[i].UserDefined); ok { ETag, err := etag.Parse(batch[i].ETag) if err != nil { return err } batch[i].ETag = ETag.Format().String() } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 38K bytes - Click Count (0) -
maven-tests/mvnw.cmd
try { Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null } catch { if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) { Write-Error "fail to move MAVEN_HOME" } } finally { try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/batchjobmetric_string.go
// Code generated by "stringer -type=batchJobMetric -trimprefix=batchJobMetric batch-handlers.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[batchJobMetricReplication-0] _ = x[batchJobMetricKeyRotation-1] _ = x[batchJobMetricExpire-2] }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 02 10:51:33 GMT 2023 - 797 bytes - Click Count (0)