- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 8,280 for booln (0.12 sec)
-
src/cmd/go/internal/script/conds.go
func OnceCondition(summary string, eval func() (bool, error)) Cond { return &onceCond{eval: eval, usage: CondUsage{Summary: summary}} } type onceCond struct { once sync.Once v bool err error eval func() (bool, error) usage CondUsage } func (l *onceCond) Usage() *CondUsage { return &l.usage } func (l *onceCond) Eval(s *State, suffix string) (bool, error) { if suffix != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 5K bytes - Viewed (0) -
pkg/apis/batch/v1/defaults_test.go
CompletionMode: completionModePtr(batchv1.NonIndexedCompletion), Suspend: pointer.Bool(false), ManualSelector: pointer.Bool(false), }, }, expectLabels: true, }, "suspend set, everything else is defaulted": { original: &batchv1.Job{ Spec: batchv1.JobSpec{ Suspend: pointer.Bool(true), Template: v1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Labels: defaultLabels},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/validators.h
// and writes X, Y as 32-bit integer attribute to `x`, `y`. bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x, IntegerAttr *y); // Returns true if the attribute is an integer list of the form [1, X, Y, 1]. bool TFIntListIs1XY1(Attribute attr); // Returns true if the attribute is an integer list of the form [1, 1, X, Y]. bool TFIntListIs11XY(Attribute attr); // Returns true if the given `op`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.7K bytes - Viewed (0) -
src/runtime/race/testdata/comp_test.go
} func TestNoRaceComp(t *testing.T) { c := make(chan bool, 1) var s S go func() { s.s2.x = 1 c <- true }() s.s2.y = 2 <-c } func TestNoRaceComp2(t *testing.T) { c := make(chan bool, 1) var s S go func() { s.s1.x = 1 c <- true }() s.s1.y = 2 <-c } func TestRaceComp(t *testing.T) { c := make(chan bool, 1) var s S go func() { s.s2.y = 1 c <- true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.3K bytes - Viewed (0) -
src/runtime/race/testdata/mop_test.go
func TestNoRaceForInit(t *testing.T) { done := make(chan bool) c := make(chan bool) x := 0 go func() { for { _, ok := <-c if !ok { done <- true return } x++ } }() i := 0 for x = 42; i < 10; i++ { c <- true } close(c) <-done } func TestRaceForTest(t *testing.T) { done := make(chan bool) c := make(chan bool) stop := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 23 16:46:25 UTC 2023 - 28.9K bytes - Viewed (0) -
test/append.go
result, expected interface{} }{ {"bool a", append([]bool{}), []bool{}}, {"bool b", append([]bool{}, true), []bool{true}}, {"bool c", append([]bool{}, true, false, true, true), []bool{true, false, true, true}}, {"bool d", append([]bool{true, false, true}), []bool{true, false, true}}, {"bool e", append([]bool{true, false, true}, false), []bool{true, false, true, false}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 06 04:28:23 UTC 2018 - 9.1K bytes - Viewed (0) -
pkg/securitycontext/accessors.go
) // PodSecurityContextAccessor allows reading the values of a PodSecurityContext object type PodSecurityContextAccessor interface { HostNetwork() bool HostPID() bool HostIPC() bool SELinuxOptions() *api.SELinuxOptions RunAsUser() *int64 RunAsGroup() *int64 RunAsNonRoot() *bool SeccompProfile() *api.SeccompProfile SupplementalGroups() []int64 FSGroup() *int64 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_translate.cc
using llvm::cl::opt; // These command line flags enable control of the translation implementation. bool emit_builtin_tflite_ops; bool emit_custom_ops; bool emit_select_tf_ops; bool lower_tensor_list_ops; bool strip_debug_info; bool use_buffer_offset; bool emit_stablehlo_ops; bool disable_vhlo_to_stablehlo; // NOLINTNEXTLINE static opt<bool, true> emit_builtin_tflite_ops_flag( "emit-builtin-tflite-ops", llvm::cl::desc(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
TFE_CallDLManagedTensorDeleter(dlmt_vptr); } // Checks whether the stride array matches the layout of compact, row-majored // data. bool IsValidStrideCompactRowMajorData(int64_t* shape_arr, int64_t* stride_arr, int ndim) { bool valid = true; int64_t expected_stride = 1; for (int i = ndim - 1; i >= 0; --i) { // Empty tensors are always compact regardless of strides.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
test/typeparam/issue48645b.go
return Stream[T]{it: it} } func (s Stream[T]) DropWhile(fn func(T) bool) Stream[T] { return Pipe[T, T](s, func(t T) (T, bool) { return t, true }) } func Pipe[T, R any](s Stream[T], op func(d T) (R, bool)) Stream[R] { it := func(fn func(R) bool) { // XXX Not getting the closure right when converting to interface. // s.it.Iterate(func(t T) bool { // r, ok := op(t) // if !ok { // return true // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.4K bytes - Viewed (0)