- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for Tab (0.02 sec)
-
src/cmd/internal/src/xpos_test.go
} xpos = xposWith } } if len(tab.baseList) != 1+len(tab.indexMap) { // indexMap omits nil t.Errorf("table length discrepancy: %d != 1+%d", len(tab.baseList), len(tab.indexMap)) } const wantLen = 4 if len(tab.baseList) != wantLen { t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen) } if got := tab.XPos(NoPos); got != NoXPos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
} else { if len(scoreCallsCache.tab) != 0 { panic("missing call to ScoreCallsCleanup") } if scoreCallsCache.tab == nil { scoreCallsCache.tab = make(CallSiteTab) } if debugTrace&debugTraceScoring != 0 { fmt.Fprintf(os.Stderr, "=-= building cstab for non-inl func %s\n", ir.FuncName(fn)) } cstab = computeCallSiteTable(fn, fn.Body, scoreCallsCache.tab, nil, 0, nameFinder) }
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/cmd/compile/internal/walk/closure.go
// Trigger panic for method on nil interface now. // Otherwise it happens in the wrapper and is confusing. n.X = cheapExpr(n.X, init) n.X = walkExpr(n.X, nil) tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, n.X) check := ir.NewUnaryExpr(base.Pos, ir.OCHECKNIL, tab) init.Append(typecheck.Stmt(check)) } typ := typecheck.MethodValueType(n) clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/gover/toolchain.go
) // FromToolchain returns the Go version for the named toolchain, // derived from the name itself (not by running the toolchain). // A toolchain is named "goVERSION". // A suffix after the VERSION introduced by a -, space, or tab is removed. // Examples: // // FromToolchain("go1.2.3") == "1.2.3" // FromToolchain("go1.2.3-bigcorp") == "1.2.3" // FromToolchain("invalid") == "" func FromToolchain(name string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/internal/objfile/goobj.go
} return "", 0, nil } // pcValue looks up the given PC in a pc value table. target is the // offset of the pc from the entry point. func pcValue(tab []byte, target uint64, arch *sys.Arch) int32 { val := int32(-1) var pc uint64 for step(&tab, &pc, &val, pc == 0, arch) { if target < pc { return val } } return -1 } // step advances to the next pc, value pair in the encoded table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/internal/objabi/flag.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 23:08:09 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
// Subsequent calls to addf provide additional information in the form of additional lines // in the error message (types2) or continuation errors identified by a tab-indented error // message (go/types). func (err *error_) addf(at poser, format string, args ...interface{}) { err.desc = append(err.desc, errorDesc{atPos(at), err.check.sprintf(format, args...)}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
// 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) // panic for various rangefunc iterator errors func panicrangestate(state int) // defer in range over func
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typebits/typebits.go
if off&int64(types.PtrSize-1) != 0 { base.Fatalf("typebits.Set: invalid alignment, %v", t) } bv.Set(int32(off / int64(types.PtrSize))) //pointer in first slot case types.TINTER: // struct { Itab *tab; void *data; } // or, when isnilinter(t)==true: // struct { Type *type; void *data; } if off&int64(types.PtrSize-1) != 0 { base.Fatalf("typebits.Set: invalid alignment, %v", t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go
// Wait for a second so that the visualizer has a chance to // open the input file. This needs to be done even if we're // waiting for the visualizer as it can be just a wrapper that // spawns a browser tab and returns right away. defer func(t <-chan time.Time) { <-t }(time.After(time.Second)) // On interactive mode, let the visualizer run in the background // so other commands can be issued.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 18.5K bytes - Viewed (0)