- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for Boolean (1.93 sec)
-
src/cmd/compile/internal/ssa/nilcheck.go
for _, v := range b.Values { switch v.Op { case OpIsNonNil: ptr := v.Args[0] if nonNilValues[ptr.ID] != nil { if v.Pos.IsStmt() == src.PosIsStmt { // Boolean true is a terrible statement boundary. pendingLines.add(v.Pos) v.Pos = v.Pos.WithNotStmt() } // This is a redundant explicit nil check. v.reset(OpConstBool) v.AuxInt = 1 // true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
if f.abs == "" { return base.Cwd() } return f.abs } // vetFlag implements the special parsing logic for the -vet flag: // a comma-separated list, with distinguished values "all" and // "off", plus a boolean tracking whether it was set explicitly. // // "all" is encoded as vetFlag{true, false, nil}, since it will // pass no flags to the vet binary, and by default, it runs all // analyzers. type vetFlag struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/doc/main.go
// the path (or "" if it's the current package) and the symbol // (possibly with a .method) within that package. // parseSymbol is used to analyze the symbol itself. // The boolean final argument reports whether it is possible that // there may be more directories worth looking at. It will only // be true if the package path is a partial match for some directory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/check.go
f.Fatalf("bad arg 2 type to %s: want mem, have %s", v.Op, v.Args[2].Type.String()) } case OpCondSelect: if !v.Args[2].Type.IsBoolean() { f.Fatalf("bad arg 2 type to %s: want boolean, have %s", v.Op, v.Args[2].Type.String()) } case OpAddPtr: if !v.Args[0].Type.IsPtrShaped() && v.Args[0].Type != c.Types.Uintptr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/go/internal/cmdflag/flag.go
if hasValue { if err := fs.Set(name, value); err != nil { return failf("invalid boolean value %q for -%s: %v", value, name, err) } } else { if err := fs.Set(name, "true"); err != nil { return failf("invalid boolean flag %s: %v", name, err) } } } else { // It must have a value, which might be the next argument. if !hasValue && len(args) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/MIPSOps.go
// license that can be found in the LICENSE file. package main import "strings" // Notes: // - Integer types live in the low portion of registers. Upper portions are junk. // - Boolean types use the low-order byte of a register. 0=false, 1=true. // Upper bytes are junk. // - Unused portions of AuxInt are filled by sign-extending the used portion.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 24K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
z := reflectdata.ZeroAddr(w) call = mkcall1(fn, fn.Type().ResultsTuple(), init, reflectdata.IndexMapRType(base.Pos, r), r.X, key, z) } // mapaccess2* returns a typed bool, but due to spec changes, // the boolean result of i.(T) is now untyped so we make it the // same type as the variable on the lhs. if ok := n.Lhs[1]; !ir.IsBlank(ok) && ok.Type().IsBoolean() { call.Type().Field(1).Type = ok.Type() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} } // symRefAttrs parses an optional function symbol attribute clause for // the function symbol 'name', logging an error for a malformed // attribute clause if 'issueError' is true. The return value is a // (boolean, ABI) pair indicating that the named symbol is either // static or a particular ABI specification. // // The expected form of the attribute clause is: // // empty, yielding (false, obj.ABI0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// Temporary variables (i.e., ONAMEs) used by type switch dispatch logic: srcName ir.Node // value being type-switched on hashName ir.Node // type hash of the value being type-switched on okName ir.Node // boolean used for comma-ok type assertions itabName ir.Node // itab value to use for first word of non-empty interface } type typeClause struct { hash uint32 body ir.Nodes }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
goSum.mu.Lock() goSum.m = nil goSum.w = nil goSum.status = nil goSum.overwrite = false goSum.enabled = false goSum.mu.Unlock() } // initGoSum initializes the go.sum data. // The boolean it returns reports whether the // use of go.sum is now enabled. // The goSum lock must be held. func initGoSum() (bool, error) { if GoSumFile == "" { return false, nil } if goSum.m != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0)