Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 7,769 for Booleans (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/gradle/boolean-attributes.module

    Tom Tresansky <******@****.***> 1696954098 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 260 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    }
    
    // TableRow is an individual row in a table.
    // +protobuf=false
    type TableRow struct {
    	// 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.
    	// +listType=atomic
    	Cells []interface{} `json:"cells"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    	return mustReplicateOptions{
    		meta:               meta,
    		status:             status,
    		opType:             op,
    		replicationRequest: opts.ReplicationRequest,
    	}
    }
    
    // mustReplicate returns 2 booleans - true if object meets replication criteria and true if replication is to be done in
    // a synchronous manner.
    func mustReplicate(ctx context.Context, bucket, object string, mopts mustReplicateOptions) (dsc ReplicateDecision) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM.rules

    	(XOR <t>
    		(SRLconst <t> (BICconst <t> (XOR <t> x (SRRconst <t> [16] x)) [0xff0000]) [8])
    		(SRRconst <t> x [8]))
    
    // byte swap for ARMv6 and above
    (Bswap32 x) && buildcfg.GOARM.Version>=6 => (REV 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)
    
    // shifts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Select1 (Sub64borrow x y bo)) => (NEG <typ.UInt64> (NGCzerocarry <typ.UInt64> (Select1 <types.TypeFlags> (SBCSflags x y (Select1 <types.TypeFlags> (NEGSflags bo))))))
    
    // boolean ops -- booleans are represented with 0=false, 1=true
    (AndB ...) => (AND ...)
    (OrB  ...) => (OR ...)
    (EqB  x y) => (XOR (MOVDconst [1]) (XOR <typ.Bool> x y))
    (NeqB ...) => (XOR ...)
    (Not    x) => (XOR (MOVDconst [1]) x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.val1 == self.val2",
    				"self.val1 == b'AB'",
    				"self.val1 == bytes('AB')",
    				"self.val1 == b'\\x41\\x42'",
    				"type(self.val1) == bytes",
    				"size(self.val1) == 2",
    			},
    		},
    		{name: "booleans",
    			obj:    objs(true, true, false, false),
    			schema: schemas(booleanType, booleanType, booleanType, booleanType),
    			valid: []string{
    				ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", "true"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top