Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for COUNT (0.08 sec)

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

    # Run chatty tests. Assert on CONT lines.
    ! go test chatty_test.go -v
    
    # Sanity check that output occurs.
    stdout -count=2 'this is sub-0'
    stdout -count=2 'this is sub-1'
    stdout -count=2 'this is sub-2'
    stdout -count=1 'error from sub-0'
    stdout -count=1 'error from sub-1'
    stdout -count=1 'error from sub-2'
    
    # Non-parallel tests should not print CONT.
    ! stdout CONT
    
    -- chatty_test.go --
    package chatty_test
    
    import (
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 21 18:28:05 UTC 2020
    - 719 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/link/internal/ld/testdata/issue25459/a/a.go

    package a
    
    const Always = true
    
    var Count int
    
    type FuncReturningInt func() int
    
    var PointerToConstIf FuncReturningInt
    
    func ConstIf() int {
    	if Always {
    		return 1
    	}
    	var imdead [4]int
    	imdead[Count] = 1
    	return imdead[0]
    }
    
    func CallConstIf() int {
    	Count += 3
    	return ConstIf()
    }
    
    func Another() {
    	defer func() { PointerToConstIf = ConstIf; Count += 1 }()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:11 UTC 2019
    - 363 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_chatty_parallel_success.txt

    go test -parallel 3 chatty_parallel_test.go -v
    stdout -count=2 '^=== (CONT|NAME)  TestChattyParallel/sub-0\n    chatty_parallel_test.go:32: this is sub-0$'
    stdout -count=2 '^=== (CONT|NAME)  TestChattyParallel/sub-1\n    chatty_parallel_test.go:32: this is sub-1$'
    stdout -count=2 '^=== (CONT|NAME)  TestChattyParallel/sub-2\n    chatty_parallel_test.go:32: this is sub-2$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    func decodeShift(x uint32) (Shift, uint8) {
    	count := (x >> 7) & (1<<5 - 1)
    	typ := Shift((x >> 5) & (1<<2 - 1))
    	switch typ {
    	case ShiftRight, ShiftRightSigned:
    		if count == 0 {
    			count = 32
    		}
    	case RotateRight:
    		if count == 0 {
    			typ = RotateRightExt
    			count = 1
    		}
    	}
    	return typ, uint8(count)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/schedule.go

    			}
    			storeNumber[w.ID] = n
    			count[n]++
    			stack = stack[:len(stack)-1]
    		}
    	}
    
    	// convert count to prefix sum of counts: count'[i] = sum_{j<=i} count[i]
    	for i := range count {
    		if i == 0 {
    			continue
    		}
    		count[i] += count[i-1]
    	}
    	if count[len(count)-1] != int32(len(values)) {
    		f.Fatalf("storeOrder: value is missing, total count = %d, values = %v", count[len(count)-1], values)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_chatty_parallel_fail.txt

    ! go test -parallel 3 chatty_parallel_test.go -v
    
    stdout -count=1 '^=== CONT  TestChattyParallel/sub-0'
    stdout -count=1 '^=== CONT  TestChattyParallel/sub-1'
    stdout -count=1 '^=== CONT  TestChattyParallel/sub-2'
    
    stdout -count=1 '^=== (CONT|NAME)  TestChattyParallel/sub-0\n    chatty_parallel_test.go:38: error from sub-0$'
    stdout -count=1 '^=== (CONT|NAME)  TestChattyParallel/sub-1\n    chatty_parallel_test.go:38: error from sub-1$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    // to names, and the new names slice.
    func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
    	origlen := len(buf)
    	count = 0
    	for max != 0 && len(buf) > 0 {
    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    		buf = buf[reclen:]
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top