Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for TESTB (0.04 sec)

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

    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    -- b/b.go --
    package b
    
    func B() {
    }
    -- b/b_test.go --
    package b
    
    import "example.com/q"
    
    func TestB() {
    	q.PrintVersion()
    }
    -- p/go.mod --
    module example.com/p
    
    go 1.18
    
    require example.com/q v1.0.0
    
    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 14:30:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_vendor_prune.txt

    }
    -- b/go.mod --
    module example.com/b
    
    go 1.18
    
    require example.com/q v1.1.0
    -- b/b.go --
    package b
    
    func B() {
    }
    -- b/b_test.go --
    package b
    
    import "example.com/q"
    
    func TestB() {
    	q.PrintVersion()
    }
    -- p/go.mod --
    module example.com/p
    
    go 1.18
    
    require example.com/q v1.0.0
    
    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- f/f.go --
    package f
    
    func Id() int {
         return 42
    }
    -- main/main.go --
    package main
    
    import (
    	"M/a"
    	"M/b"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- deadstuff/deadstuff.go --
    package deadstuff
    
    func downStreamOfPanic(x int) {
    	panic("bad")
    	if x < 10 {
    		println("foo")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    	}
    }
    -- b/b.go --
    package b
    
    import (
    	"M/a"
    	"M/d"
    )
    
    func BFunc() int {
    	return -d.FortyTwo + a.AFunc()
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() == 1010101 {
    		t.Fatalf("bad!")
    	}
    }
    -- c/c.go --
    package c
    
    var G int
    
    func CFunc(x, y int) int {
    	G += x
    	G -= y
    	return x + y
    }
    -- c/c_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Fold boolean tests into blocks
    (NE (TESTB (SETL  cmp) (SETL  cmp)) yes no) => (LT  cmp yes no)
    (NE (TESTB (SETLE cmp) (SETLE cmp)) yes no) => (LE  cmp yes no)
    (NE (TESTB (SETG  cmp) (SETG  cmp)) yes no) => (GT  cmp yes no)
    (NE (TESTB (SETGE cmp) (SETGE cmp)) yes no) => (GE  cmp yes no)
    (NE (TESTB (SETEQ cmp) (SETEQ cmp)) yes no) => (EQ  cmp yes no)
    (NE (TESTB (SETNE cmp) (SETNE cmp)) yes no) => (NE  cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    func TestA(*testing.T) {}
    -- a/default.pgo --
    -- b/b.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- b/b_test.go --
    package main
    import "testing"
    import _ "test/testdep"
    func TestB(*testing.T) {}
    -- b/default.pgo --
    -- nopgo/nopgo.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- nopgo/nopgo_test.go --
    package main
    import "testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fail_fast.txt

    import "testing"
    
    func TestA(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestFailingA(t *testing.T) {
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestB(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerIntegrationTest.groovy

        }
    
        void "can version listing can use module identifier to return the version list"() {
            withLister([testA: [1, 2, 3], testB: [1, 2]])
            given:
            repository {
                'org:testA:1'()
                'org:testA:2'()
                'org:testA:3'()
                'org:testB:1'()
                'org:testB:2'()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. test/codegen/shift.go

    func lshSigned(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:"TESTB"
    	_ = x << v8
    	// amd64:"TESTW"
    	_ = x << v16
    	// amd64:"TESTL"
    	_ = x << v32
    	// amd64:"TESTQ"
    	_ = x << v64
    }
    
    // We want to avoid generating a test + panicshift for these cases.
    func lshSignedMasked(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:-"TESTB"
    	_ = x << (v8 & 7)
    	// amd64:-"TESTW"
    	_ = x << (v16 & 15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top