Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Esc (0.1 sec)

  1. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (t <esc:0x1> <type 28>) UnmarshalBinary (data <esc:0x1> <type 29 [] <type -20>>) <type -19>;
     func (t <esc:0x1> <type 12>) Month () <type 25>;
     func (t <esc:0x1> <type 12>) YearDay () <type -11>;
     func (t <esc:0x12> <type 12>) Location () <type 14>;
     func (t <esc:0x32> <type 12>) Zone () (name <type -16>, offset <type -11>);
     func (t <esc:0x12> <type 12>) Local () <type 12>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/issue50182_test.go

    	foo()
    }
    type P struct {
    	p *int
    	q int
    }
    
    var esc []*int
    
    func (p P) foo() {
    	esc = append(esc, p.p) // foo escapes the pointer from inside of p
    }
    func f[T fooer](t T) {
    	t.foo()
    }
    func TestGenericEscape(t *testing.T) {
    	for i := 0; i < 4; i++ {
    		var x int = 77 + i
    		var p P = P{p: &x}
    		f(p)
    	}
    	for i, p := range esc {
    		if got, want := *p, 77+i; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 23:35:37 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue5056.go

    package main
    
    type Foo int16
    
    func (f Foo) Esc() *int{
    	x := int(f)
    	return &x
    }
    
    type iface interface {
    	Esc() *int
    }
    
    var bar, foobar *int
    
    func main() {
    	var quux iface
    	var x Foo
    	
    	quux = x
    	bar = quux.Esc()
    	foobar = quux.Esc()
    	if bar == foobar {
    		panic("bar == foobar")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 517 bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/nointerface.gox

    v3;
    package nointerface
    pkgpath nointerface
    types 3 2 133 17
    type 1 "I" <type -11>
     func /*nointerface*/ (p <esc:0x1> <type 2>) Get () <type -11>
     func (p <esc:0x1> <type 2>) Set (v <type -11>)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 04 15:52:48 UTC 2018
    - 211 bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/aliases.gox

    v2;
    package aliases;
    prefix go;
    package aliases go.aliases go.aliases;
    type <type 1 "A0" = <type 2 "T0" <type 3 [10 ] <type -11>>
     func (? <esc:0x1> <type 2>) .go.aliases.m1 ();
     func (? <esc:0x1> <type 1>) .go.aliases.m2 ();
     func (? <esc:0x1> <type 4 "V1" = <type 5 "V2" = <type 6 "V3" = <type 2>>>>) .go.aliases.n ();
    >>;
    type <type 7 "A1" = <type 8 "T1" <type 9 [] <type -20>>>>;
    type <type 10 "A10" = <type 11 [10 ] <type -11>>>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/mini.go

    func (n *miniNode) Op() Op            { return n.op }
    func (n *miniNode) Pos() src.XPos     { return n.pos }
    func (n *miniNode) SetPos(x src.XPos) { n.pos = x }
    func (n *miniNode) Esc() uint16       { return n.esc }
    func (n *miniNode) SetEsc(x uint16)   { n.esc = x }
    
    const (
    	miniTypecheckShift = 0
    	miniWalked         = 1 << 2 // to prevent/catch re-walking
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/closure.go

    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(clo.Esc())
    	clos.List = append([]ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, clofn.Nname)}, closureArgs(clo)...)
    	for i, value := range clos.List {
    		clos.List[i] = ir.NewStructKeyExpr(base.Pos, typ.Field(i), value)
    	}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(clo.Esc())
    
    	// Force type conversion from *struct to the func type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. internal/logger/utils.go

    	"runtime"
    
    	"github.com/minio/minio/internal/color"
    )
    
    var ansiRE = regexp.MustCompile("(\x1b[^m]*m)")
    
    // Print ANSI Control escape
    func ansiEscape(format string, args ...interface{}) {
    	Esc := "\x1b"
    	fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...))
    }
    
    func ansiMoveRight(n int) {
    	if runtime.GOOS == "windows" {
    		return
    	}
    	if color.IsTerminal() {
    		ansiEscape("[%dC", n)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 04 23:10:08 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/testdata/escapeinfo.gox

    package escapeinfo;
    prefix go;
    package escapeinfo go.escapeinfo go.escapeinfo;
    func NewT (data <type 1 [] <type -20>>) <type 2 *<type 3 "T" <type 4 struct { .go.escapeinfo.data <type 5 [] <type -20>>; }>
     func (? <type 6 *<type 3>>) Read (p <esc:0x1> <type 7 [] <type -20>>);
    >>;
    type <type 3>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 350 bytes
    - Viewed (0)
  10. test/fixedbugs/bug387.go

    // license that can be found in the LICENSE file.
    
    // Issue 2549
    
    /*  Used to die with
    missing typecheck: [7f5bf07b4438]
    
    .   AS l(45)
    .   .   NAME-main.autotmp_0017 u(1) a(1) l(45) x(0+0) class(PAUTO)
    esc(N) tc(1) used(1) ARRAY-[2]string
    internal compiler error: missing typecheck 
    */
    package main
    
    import (
            "fmt"
            "path/filepath"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 625 bytes
    - Viewed (0)
Back to top