Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 323 for coverage2 (0.25 sec)

  1. internal/dsync/.gitignore

    dsync.test
    coverage.txt
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 29 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_cgo_extra_test.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code. This test case has an external
    # test that tests the code and an in-package test file with
    # no test cases.
    
    go test -short -cover cgocover3
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover3
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 584 bytes
    - Viewed (0)
  3. src/cmd/cover/doc.go

    basic block information by studying the source. It is thus more
    portable than binary-rewriting coverage tools, but also a little less
    capable. For instance, it does not probe inside && and || expressions,
    and can be mildly confused by single statements with multiple function
    literals.
    
    When computing coverage of a package that uses cgo, the cover tool
    must be applied to the output of cgo preprocessing, not the input,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_cgo.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code.
    
    go test -short -cover cgocover
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 423 bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/cover.go

    // license that can be found in the LICENSE file.
    
    // Action graph execution methods related to coverage.
    
    package work
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/str"
    	"cmd/internal/cov/covcmd"
    	"context"
    	"encoding/json"
    	"fmt"
    	"internal/coverage"
    	"io"
    	"os"
    	"path/filepath"
    )
    
    // CovData invokes "go tool covdata" with the specified arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. src/internal/coverage/calloc/batchcounteralloc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package calloc
    
    // This package contains a simple "batch" allocator for allocating
    // coverage counters (slices of uint32 basically), for working with
    // coverage data files. Collections of counter arrays tend to all be
    // live/dead over the same time period, so a good fit for batch
    // allocation.
    
    type BatchCounterAlloc struct {
    	pool []uint32
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 754 bytes
    - Viewed (0)
  7. src/runtime/covercounter.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/coverage/rtcov"
    	"unsafe"
    )
    
    //go:linkname coverage_getCovCounterList internal/coverage/cfile.getCovCounterList
    func coverage_getCovCounterList() []rtcov.CovCounterBlob {
    	res := []rtcov.CovCounterBlob{}
    	u32sz := unsafe.Sizeof(uint32(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 740 bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/emitdata_test.go

    		testEmitWithCounterClearNonAtomic(t, nonAtomicHarnessPath, nonAtomicMode, dir)
    	})
    }
    
    // upmergeCoverData helps improve coverage data for this package
    // itself. If this test itself is being invoked with "-cover", then
    // what we'd like is for package coverage data (that is, coverage for
    // routines in "runtime/coverage") to be incorporated into the test
    // run from the "harness.exe" runs we've just done. We can accomplish
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_modes.txt

    env GO111MODULE=off
    
    # Coverage analysis should use 'set' mode by default,
    # and should merge coverage profiles correctly.
    
    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    go test -short -cover encoding/binary errors -coverprofile=$WORK/cover.out
    ! stderr '[^0-9]0\.0%'
    ! stdout '[^0-9]0\.0%'
    
    grep -count=1 '^mode: set$' $WORK/cover.out
    grep 'errors\.go' $WORK/cover.out
    grep 'binary\.go' $WORK/cover.out
    
    [!race] stop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 678 bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

        }
    
        def "jacoco test report is skipped if no coverage data available"() {
            when:
            def executionResult = succeeds('jacocoTestReport')
            then:
            executionResult.assertTaskSkipped(':jacocoTestReport')
        }
    
        def "can use coverage data from previous run for coverage report"() {
            when:
            succeeds('jacocoTestReport')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top