Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,769 for Booleans (0.26 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			expectCost: map[string]int64{
    				"self.val1 == self.val2":   5,
    				"self.val1 == b'AB'":       3,
    				"type(self.val1) == bytes": 4,
    				"size(self.val1) == 2":     4,
    			},
    		},
    		{name: "booleans",
    			obj:    objs(true, true, false, false),
    			schema: schemas(booleanType, booleanType, booleanType, booleanType),
    			expectCost: map[string]int64{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    // unary ops
    (Neg(64|32|16|8) ...) => (NEGV ...)
    (Neg(32|64)F ...) => (NEG(F|D) ...)
    
    (Com(64|32|16|8) x) => (NOR (MOVVconst [0]) x)
    
    (Sqrt ...) => (SQRTD ...)
    (Sqrt32 ...) => (SQRTF ...)
    
    // boolean ops -- booleans are represented with 0=false, 1=true
    (AndB ...) => (AND ...)
    (OrB ...) => (OR ...)
    (EqB x y) => (XOR (MOVVconst [1]) (XOR <typ.Bool> x y))
    (NeqB ...) => (XOR ...)
    (Not x) => (XORconst [1] x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    // 32 - CLZ(x&-x - 1)
    (Ctz32 <t> x) => (SUB (MOVWconst [32]) (CLZ <t> (SUBconst <t> [1] (AND <t> x (NEG <t> x)))))
    
    // bit length
    (BitLen32 <t> x) => (SUB (MOVWconst [32]) (CLZ <t> x))
    
    // boolean ops -- booleans are represented with 0=false, 1=true
    (AndB ...) => (AND ...)
    (OrB ...) => (OR ...)
    (EqB x y) => (XORconst [1] (XOR <typ.Bool> x y))
    (NeqB ...) => (XOR ...)
    (Not x) => (XORconst [1] x)
    
    // constants
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/helpers.go

    		p2Disk.Sub(p2Request)
    		// prioritize evicting the pod which has the larger consumption of disk
    		return p2Disk.Cmp(p1Disk)
    	}
    }
    
    // cmpBool compares booleans, placing true before false
    func cmpBool(a, b bool) int {
    	if a == b {
    		return 0
    	}
    	if !b {
    		return -1
    	}
    	return 1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	logger.V(5).Info("FindPodVolumes", "pod", klog.KObj(pod), "node", klog.KObj(node))
    
    	// Initialize to true for pods that don't have volumes. These
    	// booleans get translated into reason strings when the function
    	// returns without an error.
    	unboundVolumesSatisfied := true
    	boundVolumesSatisfied := true
    	sufficientStorage := true
    	boundPVsFound := true
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller.go

    	case statusErr != nil:
    		return statusErr
    	}
    
    	return nil
    }
    
    // NodeShouldRunDaemonPod checks a set of preconditions against a (node,daemonset) and returns a
    // summary. Returned booleans are:
    //   - shouldRun:
    //     Returns true when a daemonset should run on the node if a daemonset pod is not already
    //     running on that node.
    //   - shouldContinueRunning:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    // unary ops
    (Neg(64|32|16|8) ...) => (NEGV ...)
    (Neg(32|64)F ...) => (NEG(F|D) ...)
    
    (Com(64|32|16|8) x) => (NOR (MOVVconst [0]) x)
    
    (Sqrt ...) => (SQRTD ...)
    (Sqrt32 ...) => (SQRTF ...)
    
    // boolean ops -- booleans are represented with 0=false, 1=true
    (AndB ...) => (AND ...)
    (OrB ...) => (OR ...)
    (EqB x y) => (XOR (MOVVconst [1]) (XOR <typ.Bool> x y))
    (NeqB ...) => (XOR ...)
    (Not x) => (XORconst [1] x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  8. src/encoding/gob/decode.go

    	}
    	inProgress[fr] = fw
    	ut := userType(fr)
    	wire, ok := dec.wireType[fw]
    	// If wire was encoded with an encoding method, fr must have that method.
    	// And if not, it must not.
    	// At most one of the booleans in ut is set.
    	// We could possibly relax this constraint in the future in order to
    	// choose the decoding method using the data in the wireType.
    	// The parentheses look odd but are correct.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/prove.go

    // representation can mean something else.
    type domain uint
    
    const (
    	signed domain = 1 << iota
    	unsigned
    	pointer
    	boolean
    )
    
    var domainStrings = [...]string{
    	"signed", "unsigned", "pointer", "boolean",
    }
    
    func (d domain) String() string {
    	s := ""
    	for i, ds := range domainStrings {
    		if d&(1<<uint(i)) != 0 {
    			if len(s) != 0 {
    				s += "|"
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    }
    
    var map_TableRow = map[string]string{
    	"":           "TableRow is an individual row in a table.",
    	"cells":      "cells will be as wide as the column definitions array and may contain strings, numbers (float64 or int64), booleans, simple maps, lists, or null. See the type field of the column definition for a more detailed description.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
Back to top