Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,120 for Booleans (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/html/template/exec_test.go

    	// Booleans
    	{"not", "{{not true}} {{not false}}", "false true", nil, true},
    	{"and", "{{and false 0}} {{and 1 0}} {{and 0 true}} {{and 1 1}}", "false 0 0 1", nil, true},
    	{"or", "{{or 0 0}} {{or 1 0}} {{or 0 true}} {{or 1 1}}", "0 1 true 1", nil, true},
    	{"boolean if", "{{if and true 1 `hi`}}TRUE{{else}}FALSE{{end}}", "TRUE", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/text/template/exec_test.go

    	{"and undef", "{{and 1 .Unknown}}", "<no value>", nil, true},
    	{"or undef", "{{or 0 .Unknown}}", "<no value>", nil, true},
    	{"boolean if", "{{if and true 1 `hi`}}TRUE{{else}}FALSE{{end}}", "TRUE", tVal, true},
    	{"boolean if not", "{{if and true 1 `hi` | not}}TRUE{{else}}FALSE{{end}}", "FALSE", nil, true},
    	{"boolean if pipe", "{{if true | not | and 1}}TRUE{{else}}FALSE{{end}}", "FALSE", nil, true},
    
    	// Indexing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    //   For example, neither the C99 nor the C++11 standard force a byte
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    		uncountedStatus.Failed = newUncounted
    	}
    	return updated
    }
    
    // removeTrackingFinalizerFromPods removes tracking finalizers from Pods and
    // returns an array of booleans where the i-th value is true if the finalizer
    // of the i-th Pod was successfully removed (if the pod was deleted when this
    // function was called, it's considered as the finalizer was removed successfully).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top