Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MinimizeTimeout (0.1 sec)

  1. src/testing/internal/testdeps/deps.go

    	defer cancel()
    	err = fuzz.CoordinateFuzzing(ctx, fuzz.CoordinateFuzzingOpts{
    		Log:             os.Stderr,
    		Timeout:         timeout,
    		Limit:           limit,
    		MinimizeTimeout: minimizeTimeout,
    		MinimizeLimit:   minimizeLimit,
    		Parallel:        parallel,
    		Seed:            seed,
    		Types:           types,
    		CorpusDir:       corpusDir,
    		CacheDir:        cacheDir,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/internal/fuzz/fuzz.go

    	// there will be no limit on the number of generated values.
    	Limit int64
    
    	// MinimizeTimeout is the amount of wall clock time to spend minimizing
    	// after discovering a crasher. If zero, there will be no time limit. If
    	// MinimizeTimeout and MinimizeLimit are both zero, then minimization will
    	// be disabled.
    	MinimizeTimeout time.Duration
    
    	// MinimizeLimit is the maximum number of calls to the fuzz function to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/internal/fuzz/worker.go

    // because we found an input that expands coverage).
    func (w *worker) minimize(ctx context.Context, input fuzzMinimizeInput) (min fuzzResult, err error) {
    	if w.coordinator.opts.MinimizeTimeout != 0 {
    		var cancel func()
    		ctx, cancel = context.WithTimeout(ctx, w.coordinator.opts.MinimizeTimeout)
    		defer cancel()
    	}
    
    	args := minimizeArgs{
    		Limit:        input.limit,
    		Timeout:      input.timeout,
    		KeepCoverage: input.keepCoverage,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top