Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,002 for batches (0.19 sec)

  1. src/internal/trace/generation.go

    		},
    		batches: make(map[ThreadID][]batch),
    	}
    	// Process the spilled batch.
    	if spill != nil {
    		g.gen = spill.gen
    		if err := processBatch(g, *spill.batch); err != nil {
    			return nil, nil, err
    		}
    		spill = nil
    	}
    	// Read batches one at a time until we either hit EOF or
    	// the next generation.
    	var spillErr error
    	for {
    		b, gen, err := readBatch(r)
    		if err == io.EOF {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/manager.go

    				}
    				pluginName := resourceHandle.DriverName
    				batches[pluginName] = append(batches[pluginName], claim)
    			}
    
    			return nil
    		})
    		if err != nil {
    			return fmt.Errorf("locked cache operation: %w", err)
    		}
    	}
    
    	// Call NodePrepareResources for all claims in each batch.
    	// If there is any error, processing gets aborted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    			p.batchOffsets[raw.batchPid] = append(p.batchOffsets[raw.batchPid], bo)
    			curP = raw.batchPid
    		}
    
    		batches := p.batchOffsets[curP]
    		if len(batches) == 0 {
    			return fmt.Errorf("read event %d with current P of %d, but P has no batches yet",
    				raw.typ, curP)
    		}
    		batches[len(batches)-1].numEvents++
    
    		if raw.typ == EvCPUSample {
    			e := Event{Type: raw.typ}
    
    			argOffset := 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/resolve/scenarios/VersionRangeResolveTestScenarios.groovy

            @Override
            String toString() {
                return "reject " + version
            }
        }
    
        static class StrictPermutationsProvider implements Iterable<Candidate> {
            private final List<Batch> batches = []
            private int batchCount
    
            static StrictPermutationsProvider check(Map config) {
                new StrictPermutationsProvider().and(config)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top