- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 323 for coverage2 (0.26 sec)
-
src/cmd/go/testdata/script/test_fuzz_test_race.txt
# Test that when both race detection and coverage instrumentation are enabled, # and seed values are being executed, the race detector isn't mistakenly # triggered. [short] skip [!fuzz] skip [!race] skip env GOCACHE=$WORK/cache # Test with coverage instrumentation enabled (-fuzz) and race instrumentation # but without actually fuzzing the target (by using a non-matching pattern) go test -fuzz=xxx -race -v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 966 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/flags_test.go
} } if len(coverage) != 7 { // TODO: can we cover all outputs? t.Errorf("coverage too small, got %d want 7", len(coverage)) } } func TestAndFlagsNative(t *testing.T) { var numbers = []int64{ 1, 0, -1, 2, -2, 1<<63 - 1, -1 << 63, } coverage := map[flagConstant]bool{} for _, x := range numbers { for _, y := range numbers { a := logicFlags64(x & y)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:36:17 UTC 2022 - 2.5K bytes - Viewed (0) -
.github/workflows/smokeshow.yml
- uses: actions/download-artifact@v4 with: name: coverage-html path: htmlcov github-token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }} run-id: ${{ github.event.workflow_run.id }} - run: smokeshow upload htmlcov env: SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 10 01:06:31 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_compat.py
@needs_pydanticv2 def test_model_field_default_required(): # For coverage field_info = FieldInfo(annotation=str) field = ModelField(name="foo", field_info=field_info) assert field.default is Undefined @needs_pydanticv1 def test_upload_file_dummy_with_info_plain_validator_function(): # For coverage assert UploadFile.__get_pydantic_core_schema__(str, lambda x: None) == {}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 2.8K bytes - Viewed (0) -
src/internal/fuzz/counters_supported.go
package fuzz import ( "unsafe" ) // coverage returns a []byte containing unique 8-bit counters for each edge of // the instrumented source code. This coverage data will only be generated if // `-d=libfuzzer` is set at build time. This can be used to understand the code // coverage of a test execution. func coverage() []byte { addr := unsafe.Pointer(&_counters)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 21:16:39 UTC 2022 - 710 bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
// This package contains APIs and helpers for encoding the meta-data // "blob" for a single Go package, created when coverage // instrumentation is turned on. import ( "bytes" "crypto/md5" "encoding/binary" "fmt" "hash" "internal/coverage" "internal/coverage/stringtab" "internal/coverage/uleb128" "io" "os" ) type CoverageMetaDataBuilder struct { stab stringtab.Writer funcs []funcDesc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
scripts/test-cov-html.sh
#!/usr/bin/env bash set -e set -x bash scripts/test.sh ${@} coverage combine coverage report --show-missing
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Nov 03 20:00:29 UTC 2022 - 124 bytes - Viewed (0) -
pkg/util/coverage/coverage_disabled.go
limitations under the License. */ package coverage // InitCoverage is illegal when not running with coverage. func InitCoverage(name string) { panic("Called InitCoverage when not built with coverage instrumentation.") } // FlushCoverage is a no-op when not running with coverage. func FlushCoverage() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 888 bytes - Viewed (0) -
src/internal/coverage/cfile/testsupport.go
// license that can be found in the LICENSE file. package cfile import ( "encoding/json" "fmt" "internal/coverage" "internal/coverage/calloc" "internal/coverage/cformat" "internal/coverage/cmerge" "internal/coverage/decodecounter" "internal/coverage/decodemeta" "internal/coverage/pods" "internal/coverage/rtcov" "internal/runtime/atomic" "io" "os" "path/filepath" "strings" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
writeStressTest("emit-meta", func(f *failingWriter) error { return coverage.WriteMeta(f) }) writeStressTest("emit-counter", func(f *failingWriter) error { return coverage.WriteCounters(f) }) } func emitWithCounterClear() { log.SetPrefix("emitWitCounterClear: ") preClear() if err := coverage.ClearCounters(); err != nil { log.Fatalf("clear failed: %v", err) } postClear()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0)