Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,472 for batches (1.64 sec)

  1. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates = splitIntoBuckets(
                LinkedList(subProjectTestClassTimes),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/runtime/tracebuf.go

    	lastTime traceTime // when we wrote the last event
    	pos      int       // next write offset in arr
    	lenPos   int       // position of batch length value
    }
    
    // traceBuf is per-M tracing buffer.
    //
    // TODO(mknyszek): Rename traceBuf to traceBatch, since they map 1:1 with event batches.
    type traceBuf struct {
    	_ sys.NotInHeap
    	traceBufHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            failures.empty
        }
    
        def "executes tasks in a single batch in name order"() {
            Task a = task("a")
            Task b = task("b")
            Task c = task("c")
    
            when:
            populateAndExecute([b, c, a])
    
            then:
            executedTasks == [a, b, c]
            failures.empty
        }
    
        def "executes batches in order added"() {
            Task a = task("a")
            Task b = task("b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. src/internal/trace/oldtrace.go

    // usage, and minimal GC pressure. It allocates events in batches so that even
    // though we have to load the entire trace into memory, the conversion process
    // shouldn't result in a doubling of memory usage, even if all converted events
    // are kept alive, as we free batches once we're done with them.
    //
    // The conversion process is lossless.
    
    package trace
    
    import (
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    		o.BatchConfig.MaxBatchSize, "The maximum size of a batch. Only used in batch mode.")
    	fs.DurationVar(&o.BatchConfig.MaxBatchWait, fmt.Sprintf("audit-%s-batch-max-wait", pluginName),
    		o.BatchConfig.MaxBatchWait, "The amount of time to wait before force writing the "+
    			"batch that hadn't reached the max size. Only used in batch mode.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  6. finisher_api.go

    }
    
    // FindInBatches finds all records in batches of batchSize
    func (db *DB) FindInBatches(dest interface{}, batchSize int, fc func(tx *DB, batch int) error) *DB {
    	var (
    		tx = db.Order(clause.OrderByColumn{
    			Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    		}).Session(&Session{})
    		queryDB      = tx
    		rowsAffected int64
    		batch        int
    	)
    
    	// user specified offset or limit
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. test/rangegen.go

    //	go run x.go
    //
    // but a longer version can be run using
    //
    //	go run rangegen.go long
    //
    // In that second form, rangegen takes care of compiling
    // and running the code it generates, in batches.
    // That form takes 10-20 minutes to run.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"math/bits"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    const verbose = false
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/git_test.go

    	w := newTestWriter(t)
    	return cfg.WithBuildXWriter(context.Background(), w)
    }
    
    // A testWriter is an io.Writer that writes to a test's log.
    //
    // The writer batches written data until the last byte of a write is a newline
    // character, then flushes the batched data as a single call to Logf.
    // Any remaining unflushed data is logged during Cleanup.
    type testWriter struct {
    	t testing.TB
    
    	mu  sync.Mutex
    	buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. src/internal/trace/event.go

    // a placeholder for a differently encoded event that's actually present in the experimental data.
    type ExperimentalData struct {
    	// Batches contain the actual experimental data, along with metadata about each batch.
    	Batches []ExperimentalBatch
    }
    
    // ExperimentalBatch represents a packet of unparsed data along with metadata about that packet.
    type ExperimentalBatch struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/calloptions.go

    	}
    
    	// NOTE: last option wins, so order in the list is important!
    
    	// Start by getting the defaults.
    	retryOpts := DefaultCallRetryOptions()
    
    	// Don't use converge unless we need it. When sending large batches of requests (for example,
    	// when we attempt to reach all clusters), converging will result in sending at least
    	// `converge * count` requests. When running multiple requests in parallel, this can contribute
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top