Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Test7 (0.36 sec)

  1. test/ken/embed.go

    package main
    
    
    type I interface {
    	test1() int
    	test2() int
    	test3() int
    	test4() int
    	test5() int
    	test6() int
    	test7() int
    }
    
    /******
     ******
     ******/
    
    type SubpSubp struct {
    	a7 int
    	a  int
    }
    
    func (p *SubpSubp) test7() int {
    	if p.a != p.a7 {
    		println("SubpSubp", p, p.a7)
    		panic("fail")
    	}
    	return p.a
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  2. test/recover2.go

    // TODO(rsc):
    //	null pointer accesses
    
    package main
    
    import "strings"
    
    var x = make([]byte, 10)
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func mustRecover(s string) {
    	v := recover()
    	if v == nil {
    		panic("expected panic")
    	}
    	if e := v.(error).Error(); strings.Index(e, s) < 0 {
    		panic("want: " + s + "; have: " + e)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  3. test/recover1.go

    // Test of recover during recursive panics.
    // Here be dragons.
    
    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func die() {
    	runtime.Breakpoint()	// can't depend on panic
    }
    
    func mustRecover(x interface{}) {
    	mustNotRecover()	// because it's not a defer call
    	v := recover()
    	if v == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue5755.dir/main.go

    package main
    
    import "./a"
    
    func main() {
    	a.Test1("frumious")
    	a.Test2("frumious")
    	a.Test3("frumious")
    	a.Test4("frumious")
    
    	a.Test5(nil)
    	a.Test6(nil)
    	a.Test7(nil)
    	a.Test8(nil)
    	a.Test9(0)
    
    	a.TestBar()
    	a.IsBaz(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 385 bytes
    - Viewed (0)
  5. test/fixedbugs/issue5755.dir/a.go

    func Test2(s string) I  { return foo2(s) }
    func Test3(s string) I  { return foo3(s) }
    func Test4(s string) I  { return foo4(s) }
    func Test5(s []byte) I  { return foo5(s) }
    func Test6(s []rune) I  { return foo6(s) }
    func Test7(s []uint8) I { return foo7(s) }
    func Test8(s []int32) I { return foo8(s) }
    func Test9(s int) I     { return foo9(s) }
    
    type bar map[int]int
    
    func (b bar) F() { return }
    
    func TestBar() I { return bar{1: 2} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  6. test/recover.go

    	interp := os.Getenv("GOSSAINTERP") != ""
    
    	test1()
    	test1WithClosures()
    	test2()
    	test3()
    	if !interp {
    		test4()
    	}
    	test5()
    	test6()
    	test6WithClosures()
    	test7()
    	test8()
    	test9()
    	if !interp {
    		test9reflect1()
    		test9reflect2()
    	}
    	test10()
    	if !interp {
    		test10reflect1()
    		test10reflect2()
    	}
    	test11()
    	if !interp {
    		test11reflect1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesIntegrationTest.groovy

            def m5 = mavenRepo.module('test', 'test5', '1.0').publish()
            def m6 = mavenRepo.module('test', 'test6', '1.0').publish()
            def m7 = mavenRepo.module('test', 'test7', '1.0')
                .dependsOn(m1, scope: 'compile')
                .dependsOn(m2, scope: 'runtime')
                .dependsOn(notRequired, scope: 'test')
                .dependsOn(notRequired, scope: 'provided')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    			Resp:            &http.Response{StatusCode: http.StatusOK, Header: header(), Body: objBody(&metav1.Status{Status: metav1.StatusSuccess})},
    			Req:             expectPut,
    		},
    		{
    			Name:            "test7 - with status subresource",
    			Namespace:       "bar",
    			NamespaceScoped: true,
    			Subresource:     "status",
    			Object: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/events_test.go

    					APIVersion: "batch/v1",
    					Kind:       "Job",
    					Namespace:  "foo",
    				},
    			},
    			false,
    		}, {
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test7",
    					Namespace: metav1.NamespaceDefault,
    				},
    				InvolvedObject: core.ObjectReference{
    					APIVersion: "batch/v1",
    					Kind:       "Job",
    					Namespace:  metav1.NamespaceDefault,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    			service: api.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: "test7"},
    				Spec: api.ServiceSpec{
    					Type:         api.ServiceTypeExternalName,
    					ExternalName: "my.database.example.com",
    				},
    			},
    			options: printers.GenerateOptions{},
    			// Columns: Name, Type, Cluster-IP, External-IP, Port(s), Age
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top