Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 647 for test9 (0.19 sec)

  1. test/fixedbugs/issue5755.dir/main.go

    // license that can be found in the LICENSE file.
    
    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)
  2. test/fixedbugs/issue5755.dir/a.go

    func (f foo9) F() { return }
    
    func Test1(s string) I  { return foo1(s) }
    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) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  3. test/recover.go

    // license that can be found in the LICENSE file.
    
    // Test of basic recover functionality.
    
    package main
    
    import (
    	"os"
    	"reflect"
    	"runtime"
    )
    
    func main() {
    	// go.tools/ssa/interp still has:
    	// - some lesser bugs in recover()
    	// - incomplete support for reflection
    	interp := os.Getenv("GOSSAINTERP") != ""
    
    	test1()
    	test1WithClosures()
    	test2()
    	test3()
    	if !interp {
    		test4()
    	}
    	test5()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesIntegrationTest.groovy

            def notRequired = mavenRepo.module('test', 'dont-include-me', '1.0')
            def m1 = mavenRepo.module('test', 'test1', '1.0').publish()
            def m2 = mavenRepo.module('test', 'test2', '1.0').publish()
            def m3 = mavenRepo.module('test', 'test3', '1.0').publish()
            def m4 = mavenRepo.module('test', 'test4', '1.0').publish()
            def m5 = mavenRepo.module('test', 'test5', '1.0')
                .dependsOn(m1, scope: 'compile')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/events_test.go

    		valid bool
    	}{
    		{
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test1",
    					Namespace: "foo",
    				},
    				InvolvedObject: core.ObjectReference{
    					Namespace: "bar",
    					Kind:      "Pod",
    				},
    			},
    			false,
    		}, {
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test2",
    					Namespace: "aoeu-_-aoeu",
    				},
    				InvolvedObject: core.ObjectReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  6. test/ken/embed.go

    	if s.test5() != s.a5 {
    		println("t4", 5)
    		panic("fail")
    	}
    	if s.test6() != s.a6 {
    		println("t4", 6)
    		panic("fail")
    	}
    	if s.test7() != s.a7 {
    		println("t4", 7)
    		panic("fail")
    	}
    
    	// call interface
    	if i.test1() != s.test1() {
    		println("t5", 1)
    		panic("fail")
    	}
    	if i.test2() != s.test2() {
    		println("t5", 2)
    		panic("fail")
    	}
    	if i.test3() != s.test3() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		},
    	}
    
    	for i, test := range tests {
    		rows, err := printEvent(&test.event, test.options)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. test/recover1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // 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{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  9. test/recover2.go

    // license that can be found in the LICENSE file.
    
    // Test of recover for run-time errors.
    
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. test/ken/chan.go

    	test5(c)
    	wait()
    
    	test6(c)
    	wait()
    }
    
    // run all test with 4 buffser sizes
    func main() {
    
    	tests(0)
    	tests(1)
    	tests(10)
    	tests(100)
    
    	t := 4 * // buffer sizes
    		(4*4 + // tests 1,2,3,4 channels
    			8 + // test 5 channels
    			12) * // test 6 channels
    		76 // sends/recvs on a channel
    
    	if tots != t || totr != t {
    		print("tots=", tots, " totr=", totr, " sb=", t, "\n")
    		os.Exit(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
Back to top