Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for COUNT (1.76 sec)

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

    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    # 2 of them have -pgoprofile (therefore one without).
    stderr -count=3 'compile.*dep(/|\\\\)dep.go'
    stderr -count=2 'compile.*-pgoprofile=.*dep(/|\\\\)dep\.go'
    
    stderr -count=3 'compile.*dep2(/|\\\\)dep2.go'
    stderr -count=2 'compile.*-pgoprofile=.*dep2(/|\\\\)dep2\.go'
    
    stderr -count=3 'compile.*dep3(/|\\\\)dep3.go'
    stderr -count=2 'compile.*-pgoprofile=.*dep3(/|\\\\)dep3\.go'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    # run. We count the files to find the number of runs.
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

        override fun getLine() = line
    
        override fun getColumn() = column
    }
    
    
    internal
    fun File.readLinesRange() =
        countLines().let { count ->
            if (count == 0L) 0..0L
            else 1..count
        }
    
    
    private
    fun File.countLines(): Long =
        inputStream().buffered().use { input ->
            input.countLines()
        }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_flags.txt

    # with the 'test.' prefix in the GOFLAGS entry...
    env GOFLAGS='-test.timeout=24h0m0s -count=1'
    go test -v -x ./x
    stdout 'timeout: 24h0m0s$'
    stderr '-test.count=1'
    
    # ...or without.
    env GOFLAGS='-timeout=24h0m0s -count=1'
    go test -v -x ./x
    stdout 'timeout: 24h0m0s$'
    stderr '-test.count=1'
    
    # Arguments from the command line should override GOFLAGS...
    go test -v -x -timeout=25h0m0s ./x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_download_exec_toolchain.txt

    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    ! stderr '\(running'
    stdout -count=1 '"Path": "rsc.io/needgo121",'
    stdout -count=1 '"Path": "rsc.io/needgo122",'
    stdout -count=1 '"Path": "rsc.io/needgo123",'
    stdout -count=1 '"Path": "rsc.io/needall",'
    
    # GOTOOLCHAIN=go1.21 should write the errors in the JSON Error fields, not to stderr.
    env GOTOOLCHAIN=go1.21
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_odd_tags.txt

    [short] skip
    [!git] skip
    
    env GOPROXY=direct
    
    go list -m vcs-test.golang.org/git/odd-tags.git@latest
    stdout -count=1 '^.'
    stdout '^vcs-test.golang.org/git/odd-tags.git v0.1.1-0.20220223184835-9d863d525bbf$'
    
    go list -m -versions vcs-test.golang.org/git/odd-tags.git
    stdout -count=1 '^.'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 392 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/list_gofile_in_goroot.txt

    # importable package, since that directory has no valid import path.
    env GO111MODULE=on
    go list ...
    stdout -count=1 '^.+$'
    stdout '^fmt$'
    ! stdout foo
    
    go list ./...
    stdout -count=1 '^.+$'
    stdout '^fmt$'
    ! stdout foo
    
    go list std
    stdout -count=1 '^.+$'
    stdout '^fmt$'
    
    ! go list .
    stderr '^GOROOT/src is not an importable package$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    module M
    
    go 1.21
    -- it/it.go --
    package it
    
    type Ctr interface {
    	Count() int
    }
    
    type Conc struct {
    	X int
    }
    
    func (c *Conc) Count() int {
    	return c.X
    }
    
    func DoCall(c *Conc) {
    	c2 := Callee(c)
    	println(c2.Count())
    }
    
    func Callee(ii Ctr) Ctr {
    	q := ii.Count()
    	return &Conc{X: q}
    }
    -- main/main.go --
    package main
    
    import (
    	"M/a"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/toolexec.txt

    go test -toolexec=$PWD/mytool
    
    stderr -count=2 '^# test/main\.test$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main\.test"$'
    stderr -count=1 '^link'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main\.test"$'
    
    stderr -count=1 '^# test/main \[test/main\.test\]$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main \[test/main\.test\]"$'
    
    stderr -count=1 '^# test/main_test \[test/main\.test\]$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top