Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for minimizing (0.15 sec)

  1. src/cmd/go/testdata/script/test_fuzz_minimize.txt

    ! stdout '^ok'
    ! stdout 'minimizing'
    stdout 'there was an Error'
    stdout FAIL
    
    # Test that fuzzminimizetime can be zero times, and minimization is disabled
    ! go test -fuzz=FuzzMinimizeZeroLimitSet -run=FuzzMinimizeZeroLimitSet -fuzztime=10000x -fuzzminimizetime=0x .
    ! stdout '^ok'
    ! stdout 'minimizing'
    stdout -count=1 'there was an Error'
    stdout FAIL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    # Test that a nonrecoverable error that occurs while minimizing an interesting
    # input is reported correctly.
    ! exec ./fuzz.test$GOEXE -test.fuzzcachedir=$GOCACHE/fuzz -test.fuzz=FuzzMinimizerNonrecoverableCrashInMinimization -test.run=^$ -test.fuzztime=10000x -test.parallel=1
    ! stdout '^ok'
    stdout -count=1 'fuzzing process hung or terminated unexpectedly while minimizing'
    stdout -count=1 'EOF'
    stdout FAIL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/internal/fuzz/fuzz.go

    	// 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
    	// made while minimizing after finding a crash. If zero, there will be no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/internal/fuzz/minimize_test.go

    			}
    			if !reflect.DeepEqual(vals, tc.expected) {
    				t.Errorf("unexpected results: got %v, want %v", vals, tc.expected)
    			}
    		})
    	}
    }
    
    // TestMinimizeFlaky checks that if we're minimizing an interesting
    // input and a flaky failure occurs, that minimization was not indicated
    // to be successful, and the error isn't returned (since it's flaky).
    func TestMinimizeFlaky(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. pilot/pkg/status/manager.go

    	ctx := NewIstioContext(stop)
    	m.workers.Run(ctx)
    }
    
    // CreateGenericController provides an interface for a status update function to be
    // called in series with other controllers, minimizing the number of actual
    // api server writes sent from various status controllers.  The UpdateFunc
    // must take the target resource status and arbitrary context information as
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/internal/fuzz/worker.go

    	}
    }
    
    // minimize tells a worker process to attempt to find a smaller value that
    // either causes an error (if we started minimizing because we found an input
    // that causes an error) or preserves new coverage (if we started minimizing
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    mkdir count
    go test -fuzz=FuzzTestCount -fuzztime=1000x -fuzzminimizetime=1x
    go run check_file_count.go count 1000
    
    # When we use fuzzminimizetime with an "x" suffix, it runs a specific number of
    # times while minimizing. This fuzz function creates a file with a unique name
    # ($pid.$count) on each run once the first crash has been found. That means that
    # there should be one file for each execution of the fuzz function during
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/en/docs/benchmarks.md

        * If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers.
    * **Starlette**:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/go/doc/comment/text.go

    			out.WriteString(string(t))
    		case *Link:
    			p.oneLongLine(out, t.Text)
    		case *DocLink:
    			p.oneLongLine(out, t.Text)
    		}
    	}
    }
    
    // wrap wraps words into lines of at most max runes,
    // minimizing the sum of the squares of the leftover lengths
    // at the end of each line (except the last, of course),
    // with a preference for ending lines at punctuation (.,:;).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/layout.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // layout orders basic blocks in f with the goal of minimizing control flow instructions.
    // After this phase returns, the order of f.Blocks matters and is the order
    // in which those blocks will appear in the assembly output.
    func layout(f *Func) {
    	f.Blocks = layoutOrder(f)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 5K bytes
    - Viewed (0)
Back to top