Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Boolean (0.8 sec)

  1. src/cmd/dist/build.go

    	flag.BoolVar(&force, "force", force, "build even if the port is marked as broken")
    	flag.BoolVar(&noBanner, "no-banner", noBanner, "do not print banner")
    	flag.BoolVar(&noClean, "no-clean", noClean, "print deprecation warning")
    
    	xflagparse(0)
    
    	if noClean {
    		xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n")
    	}
    
    	// Don't build broken ports by default.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// the type of a CondSelect is the same as the type of its first
    	// two arguments, which should be register-width scalars; the third
    	// argument should be a boolean
    	{name: "CondSelect", argLength: 3}, // arg2 ? arg0 : arg1
    
    	// boolean ops
    	{name: "AndB", argLength: 2, commutative: true, typ: "Bool"}, // arg0 && arg1 (not shortcircuited)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    // the same data.
    //
    // loadPackageData returns a non-nil package even if err is non-nil unless
    // the package path is malformed (for example, the path contains "mod/" or "@").
    //
    // loadPackageData returns a boolean, loaded, which is true if this is the
    // first time the package was loaded. Callers may preload imports in this case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    )
    
    // Notes:
    //  - Boolean types occupy the entire register. 0=false, 1=true.
    
    // Suffixes encode the bit width of various instructions:
    //
    // D (double word) = 64 bit int
    // W (word)        = 32 bit int
    // H (half word)   = 16 bit int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    			n.Lhs[i] = tmp
    			as.Lhs = append(as.Lhs, nl)
    			if i == 1 {
    				// The "ok" result is an untyped boolean according to the Go
    				// spec. We need to explicitly convert it to the LHS type in
    				// case the latter is a defined boolean type (#8475).
    				tmp = typecheck.Conv(tmp, nl.Type())
    			}
    			as.Rhs = append(as.Rhs, tmp)
    		}
    	}
    
    	do(0, n.Rhs[0].Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/goflags.go

    			if hasValue {
    				if err := flags.Set(f.Name, value); err != nil {
    					fmt.Fprintf(flags.Output(), "go: invalid boolean value %q for flag %s (from %s): %v\n", value, name, where, err)
    					flags.Usage()
    				}
    			} else {
    				if err := flags.Set(f.Name, "true"); err != nil {
    					fmt.Fprintf(flags.Output(), "go: invalid boolean flag %s (from %s): %v\n", name, where, err)
    					flags.Usage()
    				}
    			}
    		} else {
    			if !hasValue {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug.go

    	splitOffset int64
    }
    
    // lookup looks up a LocalSlot in the slot canonicalizer "sc", returning
    // a canonical index for the slot, and adding it to the table if need
    // be. Return value is the canonical slot index, and a boolean indicating
    // whether the slot was found in the table already (TRUE => found).
    func (sc *slotCanonicalizer) lookup(ls LocalSlot) (SlKeyIdx, bool) {
    	split := noSlot
    	if ls.SplitOf != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/cmd/doc/pkg.go

    		}
    	}
    	return path
    }
    
    // trim trims the directory prefix from the path, paying attention
    // to the path separator. If they are the same string or the prefix
    // is not present the original is returned. The boolean reports whether
    // the prefix is present. That path and prefix have slashes for separators.
    func trim(path, prefix string) (string, bool) {
    	if !strings.HasPrefix(path, prefix) {
    		return path, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stmt.go

    		defer check.closeScope()
    
    		check.simpleStmt(s.Init)
    		var x operand
    		check.expr(nil, &x, s.Cond)
    		if x.mode != invalid && !allBoolean(x.typ) {
    			check.error(s.Cond, InvalidCond, "non-boolean condition in if statement")
    		}
    		check.stmt(inner, s.Then)
    		// The parser produces a correct AST but if it was modified
    		// elsewhere the else branch may be invalid. Check again.
    		switch s.Else.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    	}
    
    	type ColumnStruct2 struct {
    		gorm.Model
    		Name         string
    		StringBool   bool // change existing boolean column from string to boolean
    		SmallintBool bool // change existing boolean column from smallint or other to boolean
    	}
    
    	DB.Migrator().DropTable(&ColumnStruct{})
    
    	if err := DB.AutoMigrate(&ColumnStruct{}); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top