Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Esc (0.04 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. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    	if event == model.EventDelete {
    		esc.deleteEndpointSlice(ep)
    	} else {
    		esc.updateEndpointSlice(ep)
    	}
    	hostnames := esc.c.hostNamesForNamespacedName(namespacedName)
    	// Trigger EDS push for all hostnames.
    	esc.pushEDS(hostnames, namespacedName.Namespace)
    
    	name := serviceNameForEndpointSlice(esLabels)
    	namespace := ep.GetNamespace()
    	svc := esc.c.services.Get(name, namespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. 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)
  5. src/html/template/js_test.go

    		{"foo\xed\xa0\x80bar", "foo\xed\xa0\x80bar"},
    	}
    
    	for _, test := range tests {
    		esc := jsStrEscaper(test.x)
    		if esc != test.esc {
    			t.Errorf("%q: want %q got %q", test.x, test.esc, esc)
    		}
    	}
    }
    
    func TestJSRegexpEscaper(t *testing.T) {
    	tests := []struct {
    		x   any
    		esc string
    	}{
    		{"", `(?:)`},
    		{"foo", `foo`},
    		{"\u0000", `\u0000`},
    		{"\t", `\t`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/text/tabwriter/tabwriter_test.go

    		8, 0, 1, '.', Debug,
    		"",
    		"",
    	},
    
    	{
    		"1b esc stripped",
    		8, 0, 1, '.', StripEscape,
    		"\xff\xff",
    		"",
    	},
    
    	{
    		"1b esc",
    		8, 0, 1, '.', 0,
    		"\xff\xff",
    		"\xff\xff",
    	},
    
    	{
    		"1c esc stripped",
    		8, 0, 1, '.', StripEscape,
    		"\xff\t\xff",
    		"\t",
    	},
    
    	{
    		"1c esc",
    		8, 0, 1, '.', 0,
    		"\xff\t\xff",
    		"\xff\t\xff",
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top