Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 212 for cond_a (0.09 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			}
    			if cond.Status != apiextensionsv1.ConditionTrue {
    				t.Errorf("expected reason True, got: %v", cond.Status)
    			}
    
    			// check that we got all violations
    			t.Logf("Got violations: %q", cond.Message)
    			for _, v := range tst.expectedViolations {
    				if strings.Index(cond.Message, v) == -1 {
    					t.Errorf("expected violation %q, but didn't get it", v)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  2. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    		operations:                []operation{},
    		exponentialBackOffOnError: exponentialBackOffOnError,
    	}
    	g.cond = sync.NewCond(&g.lock)
    	return g
    }
    
    type nestedPendingOperations struct {
    	operations                []operation
    	exponentialBackOffOnError bool
    	cond                      *sync.Cond
    	lock                      sync.RWMutex
    }
    
    type operation struct {
    	key              operationKey
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

        func.return %1 : tensor<2xf32>
      }
    }
    
    // -----
    
    // Test for immutable case on while loop.
    module {
      // CHECK-LABEL: @cond(%arg0: tensor<0xf32>) -> tensor<i1>
      func.func private @cond(%arg0:tensor<0xf32>, %arg1:tensor<*x!tf_type.resource>) -> tensor<i1> {
        %val = "tf.ReadVariableOp"(%arg1) : (tensor<*x!tf_type.resource>) -> (tensor<0xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-defs.pbtxt

    }
    node {
      name: "Identity"
      op: "Identity"
      input: "cond"
      device: "/device:TPU_REPLICATED_CORE:0"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "_tpu_replicate"
        value {
          s: "cluster"
        }
      }
    }
    node {
      name: "Identity_1"
      op: "Identity"
      input: "cond:1"
      device: "/device:TPU_REPLICATED_CORE:0"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  5. src/runtime/defer_test.go

    func TestDeferForFuncWithNoExit(t *testing.T) {
    	cond := 1
    	defer func() {
    		if cond != 2 {
    			t.Fatalf("cond: wanted 2, got %v", cond)
    		}
    		if recover() != "Test panic" {
    			t.Fatal("Didn't find expected panic")
    		}
    	}()
    	x := 0
    	// Force a stack copy, to make sure that the &cond pointer passed to defer
    	// function is properly updated.
    	growStackIter(&x, 1000)
    	cond = 2
    	doPanic()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/analysis/analysis_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			// replacing the condition
    			for i, cond := range we.Status.Conditions {
    				if cond.Type == "Health" {
    					we.Status.Conditions[i] = &v1alpha1.IstioCondition{
    						Type:   "Health",
    						Reason: "LooksLikeIHavebeenReplaced",
    						Status: "False",
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tests/integration/ambient/waypoint_test.go

    				}
    				cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted))
    				if cond.Status != metav1.ConditionTrue {
    					return fmt.Errorf("failed to find accepted condition: %+v", cond)
    				}
    				if cond.ObservedGeneration != gwc.Generation {
    					return fmt.Errorf("stale GWC generation: %+v", cond)
    				}
    				return nil
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/regexp/exec.go

    		t = m.add(q, i.Out, pos, cap, cond, t)
    		pc = i.Arg
    		goto Again
    	case syntax.InstEmptyWidth:
    		if cond.match(syntax.EmptyOp(i.Arg)) {
    			pc = i.Out
    			goto Again
    		}
    	case syntax.InstNop:
    		pc = i.Out
    		goto Again
    	case syntax.InstCapture:
    		if int(i.Arg) < len(cap) {
    			opos := cap[i.Arg]
    			cap[i.Arg] = pos
    			m.add(q, i.Out, pos, cap, cond, nil)
    			cap[i.Arg] = opos
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

    limitations under the License.
    ==============================================================================*/
    
    // Converts TF While to TFL While with single call in body and cond.
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

            /*only_one_return_value=*/false);
      }
    
      // Look through ToBool operations for the condition.
      Value cond = if_region.getCond();
      auto to_bool = dyn_cast_or_null<ToBoolOp>(cond.getDefiningOp());
      if (to_bool) cond = to_bool.getOperand();
    
      // Once we have the `then` and `else` functions ready (either outlined or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top