- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for boolp (0.1 sec)
-
pkg/printers/internalversion/printers_test.go
for i := range rows { rows[i].Object.Object = nil } if !reflect.DeepEqual(test.expected, rows) { t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows)) } } } func boolP(b bool) *bool { return &b } func TestPrintConfigMap(t *testing.T) { tests := []struct { configMap api.ConfigMap expected []metav1.TableRow }{ // Basic config map with no data. {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/cmpConst_test.go
func gt_1_uint32(x uint32) bool { return x > 1 } func ge_1_uint32(x uint32) bool { return x >= 1 } func eq_1_uint32(x uint32) bool { return x == 1 } func ne_1_uint32(x uint32) bool { return x != 1 } func lt_126_uint32(x uint32) bool { return x < 126 } func le_126_uint32(x uint32) bool { return x <= 126 } func gt_126_uint32(x uint32) bool { return x > 126 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 103.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteWasm.go
} func rewriteValueWasm_OpIsNonNil(v *Value) bool { v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (IsNonNil p) // result: (I64Eqz (I64Eqz p)) for { p := v_0 v.reset(OpWasmI64Eqz) v0 := b.NewValue0(v.Pos, OpWasmI64Eqz, typ.Bool) v0.AddArg(p) v.AddArg(v0) return true } } func rewriteValueWasm_OpLeq16(v *Value) bool { v_1 := v.Args[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 03:56:57 UTC 2023 - 108.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
s = s[:max] } return s } // The printState type holds information needed to print an AST. type printState struct { tparams bool // whether to print template parameters enclosingParams bool // whether to print enclosing parameters llvmStyle bool max int // maximum output length // The scopes field is used to avoid unnecessary parentheses
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// the called function and propagating the return type. bool InferShapeForCall(CallOpInterface call_op); bool InferShapeForCast(Operation* op); bool InferShapeForRestore(Operation* op); // Infers the shape IfOp outputs based on the shapes of the then and else // function result types. bool InferShapeForIf(IfOp op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
return false } func rewriteValueLOONG64_OpAddr(v *Value) bool { v_0 := v.Args[0] // match: (Addr {sym} base) // result: (MOVVaddr {sym} base) for { sym := auxToSym(v.Aux) base := v_0 v.reset(OpLOONG64MOVVaddr) v.Aux = symToAux(sym) v.AddArg(base) return true } } func rewriteValueLOONG64_OpAtomicCompareAndSwap32(v *Value) bool { v_3 := v.Args[3] v_2 := v.Args[2] v_1 := v.Args[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:26:25 UTC 2023 - 195.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
} return false } func rewriteValueMIPS64_OpAddr(v *Value) bool { v_0 := v.Args[0] // match: (Addr {sym} base) // result: (MOVVaddr {sym} base) for { sym := auxToSym(v.Aux) base := v_0 v.reset(OpMIPS64MOVVaddr) v.Aux = symToAux(sym) v.AddArg(base) return true } } func rewriteValueMIPS64_OpAtomicAnd8(v *Value) bool { v_2 := v.Args[2] v_1 := v.Args[1] v_0 := v.Args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 211.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
} } func rewriteValueMIPS_OpEqB(v *Value) bool { v_1 := v.Args[1] v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (EqB x y) // result: (XORconst [1] (XOR <typ.Bool> x y)) for { x := v_0 y := v_1 v.reset(OpMIPSXORconst) v.AuxInt = int32ToAuxInt(1) v0 := b.NewValue0(v.Pos, OpMIPSXOR, typ.Bool) v0.AddArg2(x, y) v.AddArg(v0) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0) -
src/database/sql/sql.go
} // NullBool represents a bool that may be null. // NullBool implements the [Scanner] interface so // it can be used as a scan destination, similar to [NullString]. type NullBool struct { Bool bool Valid bool // Valid is true if Bool is not NULL } // Scan implements the [Scanner] interface. func (n *NullBool) Scan(value any) error { if value == nil { n.Bool, n.Valid = false, false return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteRISCV64.go
return true } } func rewriteValueRISCV64_OpEqB(v *Value) bool { v_1 := v.Args[1] v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (EqB x y) // result: (SEQZ (SUB <typ.Bool> x y)) for { x := v_0 y := v_1 v.reset(OpRISCV64SEQZ) v0 := b.NewValue0(v.Pos, OpRISCV64SUB, typ.Bool) v0.AddArg2(x, y) v.AddArg(v0) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 205.1K bytes - Viewed (0)