Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for ITab (0.53 sec)

  1. src/runtime/lockrank.go

    	lockRankSudog:           "sudog",
    	lockRankTimers:          "timers",
    	lockRankTimer:           "timer",
    	lockRankNetpollInit:     "netpollInit",
    	lockRankRoot:            "root",
    	lockRankItab:            "itab",
    	lockRankReflectOffs:     "reflectOffs",
    	lockRankUserArenaState:  "userArenaState",
    	lockRankTraceBuf:        "traceBuf",
    	lockRankTraceStrings:    "traceStrings",
    	lockRankFin:             "fin",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/reloctype.go

    	R_USETYPE
    	// R_USEIFACE marks a type is converted to an interface in the function this
    	// relocation is applied to. The target is a type descriptor or an itab
    	// (in the latter case it refers to the concrete type contained in the itab).
    	// This is a marker relocation (0-sized), for the linker's reachabililty
    	// analysis.
    	R_USEIFACE
    	// R_USEIFACEMETHOD marks an interface method that is used in the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/runtime/mklockrank.go

    # Channels
    NONE < notifyList;
    hchan, notifyList < sudog;
    
    hchan, pollDesc, wakeableSleep < timers;
    timers, timerSend < timer < netpollInit;
    
    # Semaphores
    NONE < root;
    
    # Itabs
    NONE
    < itab
    < reflectOffs;
    
    # User arena state
    NONE < userArenaState;
    
    # Tracing without a P uses a global trace buffer.
    scavenge
    # Above TRACEGLOBAL can emit a trace event without a P.
    < TRACEGLOBAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func panicnildottype(want *byte)
    func typeAssert(s *byte, typ *byte) *byte
    
    // interface switches
    func interfaceSwitch(s *byte, t *byte) (int, *byte)
    
    // interface equality. Type/itab pointers are already known to be equal, so
    // we only need to pass one.
    func ifaceeq(tab *uintptr, x, y unsafe.Pointer) (ret bool)
    func efaceeq(typ *uintptr, x, y unsafe.Pointer) (ret bool)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/plugin_test.go

    	goCmd(t, "build", "-buildmode=plugin", "./iface_b")
    	goCmd(t, "build", "-o", "iface.exe", "./iface")
    	run(t, "./iface.exe")
    }
    
    func TestIssue18676(t *testing.T) {
    	// make sure we don't add the same itab twice.
    	// The buggy code hangs forever, so use a timeout to check for that.
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "plugin.so", "./issue18676/plugin.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/shared_test.go

    	run(t, "running executable linked against library that contains same package as it", "../../bin/implicitcmd")
    }
    
    // Tests to make sure that the type fields of empty interfaces and itab
    // fields of nonempty interfaces are unique even across modules,
    // so that interface equality works correctly.
    func TestInterface(t *testing.T) {
    	globalSkip(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    // slice and interface comparisons
    // The frontend ensures that we can only compare against nil,
    // so we need only compare the first word (interface type or slice ptr).
    (EqInter x y)  => (EqPtr  (ITab x) (ITab y))
    (NeqInter x y) => (NeqPtr (ITab x) (ITab y))
    (EqSlice x y)  => (EqPtr  (SlicePtr x) (SlicePtr y))
    (NeqSlice x y) => (NeqPtr (SlicePtr x) (SlicePtr y))
    
    // Load of store of same address, with compatibly typed value and same size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	ones      uint32  // set to ^0 to distinguish from _func
    	entry     uintptr // entry of the real (the "outermost") frame
    	name      string
    	file      string
    	line      int32
    	startLine int32
    }
    
    type itab = abi.ITab
    
    // Lock-free stack node.
    // Also known to export_test.go.
    type lfnode struct {
    	next    uint64
    	pushcnt uintptr
    }
    
    type forcegcstate struct {
    	lock mutex
    	g    *g
    	idle atomic.Bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. src/runtime/alg.go

    		// Maps and funcs are not comparable, so they can't reach here.
    		// Ptrs, chans, and single-element items can be compared directly using ==.
    		return x == y
    	}
    	return eq(x, y)
    }
    func ifaceeq(tab *itab, x, y unsafe.Pointer) bool {
    	if tab == nil {
    		return true
    	}
    	t := tab.Type
    	eq := t.Equal
    	if eq == nil {
    		panic(errorString("comparing uncomparable type " + toRType(t).string()))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/runtime/heapdump.go

    			}
    		}
    	}
    	dumpint(uint64(arenaStart))
    	dumpint(uint64(arenaEnd))
    	dumpstr(goarch.GOARCH)
    	dumpstr(buildVersion)
    	dumpint(uint64(ncpu))
    }
    
    func itab_callback(tab *itab) {
    	t := tab.Type
    	dumptype(t)
    	dumpint(tagItab)
    	dumpint(uint64(uintptr(unsafe.Pointer(tab))))
    	dumpint(uint64(uintptr(unsafe.Pointer(t))))
    }
    
    func dumpitabs() {
    	iterate_itabs(itab_callback)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top