- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for fltab (0.06 sec)
-
src/net/internal/socktest/sys_unix.go
// Socket wraps [syscall.Socket]. func (sw *Switch) Socket(family, sotype, proto int) (s int, err error) { sw.once.Do(sw.init) so := &Status{Cookie: cookie(family, sotype, proto)} sw.fmu.RLock() f := sw.fltab[FilterSocket] sw.fmu.RUnlock() af, err := f.apply(so) if err != nil { return -1, err } s, so.Err = syscall.Socket(family, sotype, proto) if err = af.apply(so); err != nil { if so.Err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4K bytes - Viewed (0) -
src/net/internal/socktest/sys_windows.go
sw.once.Do(sw.init) so := &Status{Cookie: cookie(int(family), int(sotype), int(proto))} sw.fmu.RLock() f, _ := sw.fltab[FilterSocket] sw.fmu.RUnlock() af, err := f.apply(so) if err != nil { return syscall.InvalidHandle, err } s, so.Err = windows.WSASocket(family, sotype, proto, protinfo, group, flags)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.3K bytes - Viewed (0) -
src/net/internal/socktest/switch.go
) // A Switch represents a callpath point switch for socket system // 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.
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/net/internal/socktest/sys_cloexec.go
// Accept4 wraps syscall.Accept4. func (sw *Switch) Accept4(s, flags int) (ns int, sa syscall.Sockaddr, err error) { so := sw.sockso(s) if so == nil { return syscall.Accept4(s, flags) } sw.fmu.RLock() f := sw.fltab[FilterAccept] sw.fmu.RUnlock() af, err := f.apply(so) if err != nil { return -1, nil, err } ns, sa, so.Err = syscall.Accept4(s, flags) if err = af.apply(so); err != nil { if so.Err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 14:38:32 UTC 2022 - 1K bytes - Viewed (0) -
src/runtime/plugin.go
} func pluginftabverify(md *moduledata) { badtable := false for i := 0; i < len(md.ftab); i++ { entry := md.textAddr(md.ftab[i].entryoff) if md.minpc <= entry && entry <= md.maxpc { continue } f := funcInfo{(*_func)(unsafe.Pointer(&md.pclntable[md.ftab[i].funcoff])), md} name := funcname(f) // A common bug is f.entry has a relocation to a duplicate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
src/runtime/symtab.go
throw("invalid function symbol table") } // ftab is lookup table for function by program counter. nftab := len(datap.ftab) - 1 for i := 0; i < nftab; i++ { // NOTE: ftab[nftab].entry is legal; it is the address beyond the final function. if datap.ftab[i].entryoff > datap.ftab[i+1].entryoff { f1 := funcInfo{(*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i].funcoff])), datap}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
// the function and look it up in the package ftab to see if we've // encountered it before. If we haven't, then register it with the // meta-data builder. fnhash := encodemeta.HashFuncDesc(fd) gfidx, ok := mm.p.ftab[fnhash] if !ok { // We haven't seen this function before, need to add it to // the meta data. gfidx = uint32(mm.p.cmdb.AddFunc(*fd)) mm.p.ftab[fnhash] = gfidx if *verbflag >= 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
subprojects/core/src/main/resources/org/gradle/reporting/report.js
this.headers[i].removeChild(this.headers[i].firstChild); } var a = document.createElement("A"); a.setAttribute("id", "ltab" + i); a.setAttribute("href", "#tab" + i); a.onclick = switchTab; a.appendChild(document.createTextNode(this.titles[i])); this.headers[i].appendChild(a); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 24 16:08:08 UTC 2014 - 5.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
package mountinfo import ( "bufio" "fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" ) const ( // Number of fields per line in /proc/mounts as per the fstab man page. expectedNumFieldsPerLine = 6 // Location of the mount file to use procMountsPath = "/proc/mounts" ) // IsLikelyMountPoint determines if a directory is a mountpoint.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
// The filetab slice sliceSym(pcln.filetab) // The pctab slice sliceSym(pcln.pctab) // The pclntab slice slice(pcln.pclntab, uint64(ldr.SymSize(pcln.pclntab))) // The ftab slice slice(pcln.pclntab, uint64(pcln.nfunc+1)) // findfunctab moduledata.AddAddr(ctxt.Arch, pcln.findfunctab) // minpc, maxpc moduledata.AddAddr(ctxt.Arch, pcln.firstFunc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0)