- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 395 for Cond (0.04 sec)
-
src/sync/cond.go
// a call to [Cond.Broadcast] or [Cond.Signal] “synchronizes before” any Wait call // that it unblocks. // // For many simple use cases, users will be better off using channels than a // Cond (Broadcast corresponds to closing a channel, and Signal corresponds to // sending on a channel). // // For more on replacements for [sync.Cond], see [Roberto Clapis's series on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4.1K bytes - Viewed (0) -
pilot/pkg/xds/pushqueue.go
func (p *PushQueue) Pending() int { p.cond.L.Lock() defer p.cond.L.Unlock() return len(p.queue) } // ShutDown will cause queue to ignore all new items added to it. As soon as the // worker goroutines have drained the existing items in the queue, they will be // instructed to exit. func (p *PushQueue) ShutDown() { p.cond.L.Lock() defer p.cond.L.Unlock() p.shuttingDown = true p.cond.Broadcast()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 16 01:37:15 UTC 2021 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/optimize_tf_control_flow_side_effect.mlir
func.func @set_stateless(%arg: tensor<i32>, %cond: tensor<i1>) -> (tensor<i32>, tensor<i32>) { // CHECK: tf.While // CHECK-SAME: is_stateless = true %0 = "tf.While"(%arg) { cond = @no_side_effect_cond, body = @no_side_effect_body, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) // CHECK: tf.If // CHECK-SAME: is_stateless = true
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 01:15:55 UTC 2023 - 10.2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/break.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 14 10:53:11 UTC 2024 - 316 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go
return nil } // check old condition cond := calculateCondition(inCustomResourceDefinition) old := apiextensionshelpers.FindCRDCondition(inCustomResourceDefinition, apiextensionsv1.NonStructuralSchema) if cond == nil && old == nil { return nil } if cond != nil && old != nil && old.Status == cond.Status && old.Reason == cond.Reason && old.Message == cond.Message { return nil } // update condition
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/control_flow_v1.pbtxt
} } } node { name: "cond/Switch" op: "Switch" input: "Placeholder_1" input: "Placeholder_1" attr { key: "T" value { type: DT_BOOL } } } node { name: "cond/switch_t" op: "Identity" input: "cond/Switch:1" attr { key: "T" value { type: DT_BOOL } } } node { name: "cond/switch_f" op: "Identity"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 23 21:23:31 UTC 2020 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-while-ops.pbtxt
type: DT_FLOAT } } } attr { key: "body" value { func { name: "body" } } } attr { key: "cond" value { func { name: "cond" } } } experimental_debug_info { } } node { name: "StatelessWhile" op: "StatelessWhile" input: "iter" input: "val" attr { key: "T"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 15 19:42:47 UTC 2021 - 5.5K bytes - Viewed (0) -
pkg/queue/instance.go
initialSync: atomic.NewBool(false), cond: sync.NewCond(&sync.Mutex{}), id: name, metrics: newQueueMetrics(name), } } func (q *queueImpl) Push(item Task) { q.cond.L.Lock() defer q.cond.L.Unlock() if !q.closing { q.tasks = append(q.tasks, &queueTask{task: item, enqueueTime: time.Now()}) q.metrics.depth.RecordInt(int64(len(q.tasks))) } q.cond.Signal() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/merge_tf_if_ops.mlir
} func.func @nested_if_op_then_0(%cond: tensor<i1>, %x: tensor<i32>, %y: tensor<i32>) -> (tensor<i32>, tensor<i32>) { %0 = "tf.AddV2"(%x, %y) : (tensor<i32>, tensor<i32>) -> tensor<i32> func.return %0, %0 : tensor<i32>, tensor<i32> } func.func @nested_if_op_else_0(%cond: tensor<i1>, %x: tensor<i32>, %y: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 01:01:31 UTC 2024 - 2.3K bytes - Viewed (0)