- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for IsItab (0.17 sec)
-
src/cmd/link/internal/ld/typelink.go
if !ldr.AttrReachable(s) { continue } if ldr.IsTypelink(s) { typelinks = append(typelinks, typelinkSortKey{decodetypeStr(ldr, ctxt.Arch, s), s}) } else if ldr.IsItab(s) { itabs = append(itabs, s) } } sort.Sort(typelinks) tl := ldr.CreateSymForUpdate("runtime.typelink", 0) tl.SetType(sym.STYPELINK) ldr.SetAttrLocal(tl.Sym(), true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 03 21:13:25 UTC 2020 - 1.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
convertWeakToStrong := false // When build with "-linkshared", we can't tell if the // interface method in itab will be used or not. // Ignore the weak attribute. if d.ctxt.linkShared && d.ldr.IsItab(symIdx) { convertWeakToStrong = true } // If the program uses plugins, we can no longer treat // relocs from pkg init functions to outlined map init
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
func (s *Sym) IsGoType() bool { return s.Flag()&SymFlagGoType != 0 } func (s *Sym) UsedInIface() bool { return s.Flag2()&SymFlagUsedInIface != 0 } func (s *Sym) IsItab() bool { return s.Flag2()&SymFlagItab != 0 } func (s *Sym) IsDict() bool { return s.Flag2()&SymFlagDict != 0 } func (s *Sym) IsPkgInit() bool { return s.Flag2()&SymFlagPkgInit != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
return l.SymAttr(i)&goobj.SymFlagTypelink != 0 } // Returns whether this symbol is an itab symbol. func (l *Loader) IsItab(i Sym) bool { if l.IsExternal(i) { return false } r, li := l.toLocal(i) return r.Sym(li).IsItab() } // Returns whether this symbol is a dictionary symbol. func (l *Loader) IsDict(i Sym) bool { if l.IsExternal(i) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/net/internal/socktest/switch_windows.go
sw.smu.RLock() defer sw.smu.RUnlock() so, ok := sw.sotab[s] if !ok { return nil } return &so } // addLocked returns a new Status without locking. // sw.smu must be held before call. func (sw *Switch) addLocked(s syscall.Handle, family, sotype, proto int) *Status { sw.once.Do(sw.init) so := Status{Cookie: cookie(family, sotype, proto)} sw.sotab[s] = so return &so
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 13 21:38:34 UTC 2015 - 730 bytes - Viewed (0) -
src/net/internal/socktest/switch_unix.go
sw.smu.RLock() defer sw.smu.RUnlock() so, ok := sw.sotab[s] if !ok { return nil } return &so } // addLocked returns a new Status without locking. // sw.smu must be held before call. func (sw *Switch) addLocked(s, family, sotype, proto int) *Status { sw.once.Do(sw.init) so := Status{Cookie: cookie(family, sotype, proto)} sw.sotab[s] = so return &so
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:10 UTC 2023 - 718 bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
if resultNameTab != nil { csa.rescoreBasedOnCallResultUses(fn, resultNameTab, cstab) } disableDebugTrace() if ic != nil && callSiteTab != nil { // Integrate the calls from this cstab into the table for the caller. if err := callSiteTab.merge(cstab); err != nil { base.FatalfAt(ic.Pos(), "%v", err) } } else { callSiteTab = cstab } } // ScoreCallsCleanup resets the state of the callsite cache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
src/net/internal/socktest/switch.go
// calls. type Switch struct { once sync.Once fmu sync.RWMutex fltab map[FilterType]Filter smu sync.RWMutex sotab Sockets stats stats } func (sw *Switch) init() { sw.fltab = make(map[FilterType]Filter) sw.sotab = make(Sockets) sw.stats = make(stats) } // Stats returns a list of per-cookie socket statistics. func (sw *Switch) Stats() []Stat { var st []Stat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
func (cfw *CoverageDataWriter) AppendSegment(args map[string]string, visitor CounterVisitor) error { cfw.stab = &stringtab.Writer{} cfw.stab.InitWriter() cfw.stab.Lookup("") var err error for k, v := range args { cfw.stab.Lookup(k) cfw.stab.Lookup(v) } ws := &slicewriter.WriteSeeker{} if err = cfw.writeSegmentPreamble(args, ws); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
return nil, fmt.Errorf("invalid empty package path") } x := &CoverageMetaDataBuilder{ tmp: make([]byte, 0, 256), h: md5.New(), } x.stab.InitWriter() x.stab.Lookup("") x.pkgpath = x.stab.Lookup(pkgpath) x.pkgname = x.stab.Lookup(pkgname) x.modpath = x.stab.Lookup(modulepath) io.WriteString(x.h, pkgpath) io.WriteString(x.h, pkgname) io.WriteString(x.h, modulepath) return x, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0)