Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for cond_a (0.17 sec)

  1. 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)
  2. src/cmd/go/scriptconds_test.go

    	"strings"
    	"sync"
    )
    
    func scriptConditions() map[string]script.Cond {
    	conds := scripttest.DefaultConds()
    
    	add := func(name string, cond script.Cond) {
    		if _, ok := conds[name]; ok {
    			panic(fmt.Sprintf("condition %q is already registered", name))
    		}
    		conds[name] = cond
    	}
    
    	lazyBool := func(summary string, f func() bool) script.Cond {
    		return script.OnceCondition(summary, func() (bool, error) { return f(), nil })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h

          func::FuncOp cond = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(
              while_op, while_op.getCondAttr());
          func::FuncOp body = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(
              while_op, while_op.getBodyAttr());
          for (auto &arg : while_op->getOpOperands()) {
            BlockArgument cond_arg = cond.getArgument(arg.getOperandNumber());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-headers.md

    Si declaraste un `response_model`, este se continuará usando para filtrar y convertir el objeto que devolviste.
    
    **FastAPI** usará ese response *temporal* para extraer los headers (al igual que las cookies y el status code), además las pondrá en el response final que contendrá el valor retornado y filtrado por algún `response_model`.
    
    También puedes declarar el parámetro `Response` en dependencias, así como configurar los headers (y las cookies) en ellas.
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 12:51:12 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/while_gradients.cc

      //   i = 0
      //   while forward loop predicate is true:
      //     ++i
    
      Output zero = ops::Const(scope, 0, {});
    
      // Condition function that returns condition output from original while loop.
      CondGraphBuilderFn cond_fn = [while_ctx](const Scope& scope,
                                               const std::vector<Output>& inputs,
                                               Output* output) {
        *output = ToOutput(while_ctx->cond_output());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EnumsTest.java

    @J2ktIncompatible
    public class EnumsTest extends TestCase {
    
      private enum TestEnum {
        CHEETO,
        HONDA,
        POODLE,
      }
    
      public void testGetIfPresent() {
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).hasValue(TestEnum.HONDA);
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

      return %y: tensor<i1>
    }
    
    // CHECK-LABEL: func @while_cond_if
    // CHECK: [[cond:%.*]] = tf_mlrt.predicate
    // CHECK: [[z:%.*]] = mlrt.cond [[cond]] @then @else
    // CHECK: return [[z]]
    func.func @while_cond_if(%cond: tensor<i1>, %x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> (tensor<i1>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteAMD64latelower.go

    	v_0 := v.Args[0]
    	// match: (MOVBQZX x)
    	// cond: zeroUpper56Bits(x,3)
    	// result: x
    	for {
    		x := v_0
    		if !(zeroUpper56Bits(x, 3)) {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	return false
    }
    func rewriteValueAMD64latelower_OpAMD64MOVLQZX(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (MOVLQZX x)
    	// cond: zeroUpper32Bits(x,3)
    	// result: x
    	for {
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.kt

    fun test() {
        var x = 0
        <expr>consume(x)
        while (cond()) {
            consume(++x)
        }</expr>
    }
    
    fun cond(): Boolean = true
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 156 bytes
    - Viewed (0)
  10. docs/es/docs/advanced/response-change-status-code.md

    Y si declaraste un `response_model`, aún se usará para filtrar y convertir el objeto que retornaste.
    
    **FastAPI** usará esa respuesta *temporal* para extraer el código de estado (también cookies y headers), y los pondrá en la respuesta final que contiene el valor que retornaste, filtrado por cualquier `response_model`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Feb 06 19:56:23 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top