Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 183 for iface (0.06 sec)

  1. src/reflect/all_test.go

    			if _, ok := rv.Interface().(Iface); ok != table.impl {
    				if table.impl {
    					t.Errorf("test-%d-%d: type=%v fails to implement Iface.\n", i, j, table.typ)
    				} else {
    					t.Errorf("test-%d-%d: type=%v should NOT implement Iface\n", i, j, table.typ)
    				}
    				continue
    			}
    
    			if !table.impl {
    				continue
    			}
    
    			v := rv.Interface().(Iface).Get()
    			if v != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    	embedded := NewInterfaceType(embeddedMethods, nil)
    	iface := NewInterfaceType(methods, []Type{embedded})
    	iface.Complete()
    }
    
    func TestNewAlias_Issue65455(t *testing.T) {
    	obj := NewTypeName(nopos, nil, "A", nil)
    	alias := NewAlias(obj, Typ[Int])
    	alias.Underlying() // must not panic
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    	embedded := NewInterfaceType(embeddedMethods, nil)
    	iface := NewInterfaceType(methods, []Type{embedded})
    	iface.NumMethods() // unlike go/types, there is no Complete() method, so we complete implicitly
    }
    
    func TestNewAlias_Issue65455(t *testing.T) {
    	obj := NewTypeName(nopos, nil, "A", nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. test/typeparam/eface.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. test/codegen/ifaces.go

    Keith Randall <******@****.***> 1695069109 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 621 bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    		tmap:     make(map[string]loader.Sym),
    		tdmap:    make(map[loader.Sym]loader.Sym),
    		rtmap:    make(map[loader.Sym]loader.Sym),
    	}
    	d.typeRuntimeEface = d.lookupOrDiag("type:runtime.eface")
    	d.typeRuntimeIface = d.lookupOrDiag("type:runtime.iface")
    
    	if ctxt.HeadType == objabi.Haix {
    		// Initial map used to store package size for each DWARF section.
    		dwsectCUSize = make(map[string]uint64)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. src/runtime/error.go

    	case abi.Int16:
    		print(typestring, "(", *(*int16)(eface.data), ")")
    	case abi.Int32:
    		print(typestring, "(", *(*int32)(eface.data), ")")
    	case abi.Int64:
    		print(typestring, "(", *(*int64)(eface.data), ")")
    	case abi.Uint:
    		print(typestring, "(", *(*uint)(eface.data), ")")
    	case abi.Uint8:
    		print(typestring, "(", *(*uint8)(eface.data), ")")
    	case abi.Uint16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. docs/assets/css/app.css

    @font-face {
        font-family: cash-market;
        src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Regular.woff2") format("woff2");
        font-weight: 400;
        font-style: normal
    }
    
    @font-face {
        font-family: cash-market;
        src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Medium.woff2") format("woff2");
        font-weight: 500;
        font-style: normal
    }
    
    @font-face {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Feb 08 07:57:03 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue52612.go

    import (
    	"sync/atomic"
    	"unsafe"
    )
    
    var one interface{} = 1
    
    type eface struct {
    	typ  unsafe.Pointer
    	data unsafe.Pointer
    }
    
    func f(c chan struct{}) {
    	var x atomic.Value
    
    	go func() {
    		x.Swap(one) // writing using the old marker
    	}()
    	for i := 0; i < 100000; i++ {
    		v := x.Load() // reading using the new marker
    
    		p := (*eface)(unsafe.Pointer(&v)).typ
    		if uintptr(p) == ^uintptr(0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 20:42:52 UTC 2022
    - 881 bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https04.drawio

                        <mxGeometry x="450" y="-50" width="820" height="970" as="geometry"/>
                    </mxCell>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 14K bytes
    - Viewed (0)
Back to top