- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Weigher (0.34 sec)
-
src/cmd/compile/internal/types/sym.go
func (sym *Sym) SetFunc(b bool) { sym.flags.set(symFunc, b) } func (sym *Sym) IsBlank() bool { return sym != nil && sym.Name == "_" } // Deprecated: This method should not be used directly. Instead, use a // higher-level abstraction that directly returns the linker symbol // for a named object. For example, reflectdata.TypeLinksym(t) instead // of reflectdata.TypeSym(t).Linksym(). func (sym *Sym) Linksym() *obj.LSym { abi := obj.ABI0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:56 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sparsetree.go
// // (x-dom-y) x dominates y => entry(x) < entry(y) < exit(y) < exit(x) // (y-dom-x) y dominates x => entry(y) < entry(x) < exit(x) < exit(y) // (x-then-y) neither x nor y dominates the other and x walked before y => entry(x) < exit(x) < entry(y) < exit(y) // (y-then-x) neither x nor y dominates the other and y walked before y => entry(y) < exit(y) < entry(x) < exit(x) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 8.1K bytes - Viewed (0) -
src/archive/tar/strconv.go
// that the first byte can only be either 0x80 or 0xff. Thus, the first byte is // equivalent to the sign bit in two's complement form. func fitsInBase256(n int, x int64) bool { binBits := uint(n-1) * 8 return n >= 9 || (x >= -1<<binBits && x < 1<<binBits) } // parseNumeric parses the input as being encoded in either base-256 or octal. // This function may return negative numbers.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// type TypeParam struct { // Tag byte // 'P' // Pos Pos // Implicit bool // Constraint typeOff // } // // typeOff means a uvarint that either indicates a predeclared type, // or an offset into the Data section. If the uvarint is less than // predeclReserved, then it indicates the index into the predeclared
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
"go/parser" "go/token" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) // runGenTest runs a test-generator, then runs the generated test. // Generated test can either fail in compilation or execution. // The environment variable parameter(s) is passed to the run // of the generated test. func runGenTest(t *testing.T, filename, tmpname string, ev ...string) { testenv.MustHaveGoRun(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/closure.go
} // closureArgs returns a slice of expressions that can be used to // initialize the given closure's free variables. These correspond // one-to-one with the variables in clo.Func.ClosureVars, and will be // either an ONAME node (if the variable is captured by value) or an // OADDR-of-ONAME node (if not). func closureArgs(clo *ir.ClosureExpr) []ir.Node { fn := clo.Func args := make([]ir.Node, len(fn.ClosureVars))
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/vcweb/script.go
cmds["unquote"] = scriptUnquote() return &script.Engine{ Cmds: cmds, Conds: conds, } } // loadScript interprets the given script content using the vcweb script engine. // loadScript always returns either a non-nil handler or a non-nil error. // // The script content must be a txtar archive with a comment containing a script // with exactly one "handle" command and zero or more VCS commands to prepare
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 08 19:37:03 UTC 2022 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/types/alg.go
ASPECIAL // Type needs special comparison/hashing functions. ) // Most kinds are priority 0. Higher numbers are higher priority, in that // the higher priority kinds override lower priority kinds. var algPriority = [ASPECIAL + 1]int8{ASPECIAL: 1, ANOEQ: 2, ANOALG: 3, AMEM: -1} // setAlg sets the algorithm type of t to a, if it is of higher // priority to the current algorithm type. func (t *Type) setAlg(a AlgKind) { if t.alg == AUNK {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 15:30:00 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/mvs.go
"golang.org/x/mod/module" ) // cmpVersion implements the comparison for versions in the module loader. // // It is consistent with gover.ModCompare except that as a special case, // the version "" is considered higher than all other versions. // The main module (also known as the target) has no version and must be chosen // over other versions of the same module in the module dependency graph. func cmpVersion(p string, v1, v2 string) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:01:38 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fuse_branchredirect.go
ft := newFactsTable(f) ft.checkpoint() changed := false for i := len(f.Blocks) - 1; i >= 0; i-- { b := f.Blocks[i] if b.Kind != BlockIf { continue } // b is either empty or only contains the control value. // TODO: if b contains only OpCopy or OpNot related to b.Controls, // such as Copy(Not(Copy(Less64(v1, v2)))), perhaps it can be optimized. bCtl := b.Controls[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 21:40:11 UTC 2023 - 3.2K bytes - Viewed (0)