Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,966 for vfunc (0.03 sec)

  1. test/fixedbugs/issue33866.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    type (
    	ABuilder = a.Builder
    )
    
    func Bfunc() ABuilder {
    	return ABuilder{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 06 12:11:17 UTC 2019
    - 262 bytes
    - Viewed (0)
  2. test/fixedbugs/issue10407.go

    // license that can be found in the LICENSE file.
    
    // Issue 10407: gccgo failed to remove carriage returns
    // from raw string literals.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("package main\nfunc main() { if `a\rb\r\nc` != \"ab\\nc\" { panic(42) }}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 392 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/universe.go

    	SimType[TCHAN] = TPTR
    	SimType[TFUNC] = TPTR
    	SimType[TUNSAFEPTR] = TPTR
    
    	for et := TINT8; et <= TUINT64; et++ {
    		IsInt[et] = true
    	}
    	IsInt[TINT] = true
    	IsInt[TUINT] = true
    	IsInt[TUINTPTR] = true
    
    	IsFloat[TFLOAT32] = true
    	IsFloat[TFLOAT64] = true
    
    	IsComplex[TCOMPLEX64] = true
    	IsComplex[TCOMPLEX128] = true
    }
    
    func makeErrorInterface() *Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/tokens.go

    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv_test.go

    	if err := os.WriteFile(mainGo, []byte("package main\nfunc main() {}\n"), 0644); err != nil {
    		t.Fatal(err)
    	}
    	cmd := testenv.Command(t, "go", "build", "-o", os.DevNull, mainGo)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, out)
    	}
    }
    
    func TestMustHaveExec(t *testing.T) {
    	hasExec := false
    	t.Run("MustHaveExec", func(t *testing.T) {
    		testenv.MustHaveExec(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typebits/typebits.go

    // on future calls with the same type t.
    func Set(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, false)
    }
    
    // SetNoCheck is like Set, but do not check for alignment.
    func SetNoCheck(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, true)
    }
    
    func set(t *types.Type, off int64, bv bitvec.BitVec, skip bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. test/nilptr2.go

    	{"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
    	{"(*slicep)[i]", func() { println((*slicep)[i]) }},
    	{"&(*slicep)[i]", func() { println(&(*slicep)[i]) }},
    	{"*a10p", func() { use(*a10p) }},
    	{"&*a10p", func() { println(&*a10p) }},
    	{"a10p[0]", func() { println(a10p[0]) }},
    	{"&a10p[0]", func() { println(&a10p[0]) }},
    	{"a10p[i]", func() { println(a10p[i]) }},
    	{"&a10p[i]", func() { println(&a10p[i]) }},
    	{"*structp", func() { use(*structp) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 03:02:33 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprog/deadlock.go

    func one() {
    	two()
    }
    
    //go:noinline
    func two() {
    	defer func() {
    	}()
    
    	three()
    }
    
    //go:noinline
    func three() {
    	defer func() {
    	}()
    
    	defer func() {
    		fmt.Println(recover())
    	}()
    
    	defer func() {
    		fmt.Println(recover())
    		panic("second panic")
    	}()
    
    	panic("first panic")
    }
    
    func GoexitExit() {
    	println("t1")
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 27 20:44:24 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue59956.go

    package p
    
    func f1(func(int))
    func f2(func(int), func(string))
    func f3(func(int), func(string), func(float32))
    
    func g1[P any](P) {}
    
    func _() {
    	f1(g1)
    	f2(g1, g1)
    	f3(g1, g1, g1)
    }
    
    // More complex examples
    
    func g2[P any](P, P)                                         {}
    func h3[P any](func(P), func(P), func() P)                   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:35:44 UTC 2023
    - 873 bytes
    - Viewed (0)
  10. src/runtime/signal_aix_ppc64.go

    func (c *sigctxt) r6() uint64  { return c.regs().gpr[6] }
    func (c *sigctxt) r7() uint64  { return c.regs().gpr[7] }
    func (c *sigctxt) r8() uint64  { return c.regs().gpr[8] }
    func (c *sigctxt) r9() uint64  { return c.regs().gpr[9] }
    func (c *sigctxt) r10() uint64 { return c.regs().gpr[10] }
    func (c *sigctxt) r11() uint64 { return c.regs().gpr[11] }
    func (c *sigctxt) r12() uint64 { return c.regs().gpr[12] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top