Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 300 for yield4x (0.38 sec)

  1. tests/test_dependency_normal_exceptions.py

    initial_state = {"except": False, "finally": False}
    
    state = initial_state.copy()
    
    app = FastAPI()
    
    
    async def get_database():
        temp_database = fake_database.copy()
        try:
            yield temp_database
            fake_database.update(temp_database)
        except HTTPException:
            state["except"] = True
            raise
        finally:
            state["finally"] = True
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/go/ast/walk.go

    //
    // For greater control over the traversal of each subtree, use [Inspect].
    func Preorder(root Node) iter.Seq[Node] {
    	return func(yield func(Node) bool) {
    		ok := true
    		Inspect(root, func(n Node) bool {
    			if n != nil {
    				// yield must not be called once ok is false.
    				ok = ok && yield(n)
    			}
    			return ok
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

        "tfl.yield"(%test) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg2: tensor<i32>, %arg3: tensor<f32>):
        %cst = arith.constant dense<22.0> : tensor<f32>
        %stride = arith.constant dense<1> : tensor<i32>
        %inc = tfl.add %arg2, %stride {fused_activation_function = "NONE"} : tensor<i32>
        "tfl.yield"(%inc, %cst) : (tensor<i32>, tensor<f32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationListenerRegistrar.java

    /**
     * Mechanism by which the scan plugin registers for notifications.
     * <p>
     * One instance of this exists per build tree.
     * Only one listener may register.
     * Subsequent attempts yield exceptions.
     *
     * @since 4.0
     */
    @UsedByScanPlugin("obtained from the root build's root project's service registry")
    @ServiceScope(Scope.CrossBuildSession.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Splitter.java

     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
     * <pre>{@code
     * Splitter.on(',').split(" foo,,,  bar ,")
     * }</pre>
     *
     * ... yields the substrings {@code [" foo", "", "", " bar ", ""]}. If this is not the desired
     * behavior, use configuration methods to obtain a <i>new</i> splitter instance with modified
     * behavior:
     *
     * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  while (!shutdown.get()) {
                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/speedtest.go

    				}
    
    				// if the default concurrency yields zero results, throw an error.
    				if throughputHighestResults[i].Downloads == 0 && opts.concurrencyStart == concurrency {
    					errStr = fmt.Sprintf("no results for downloads upon first attempt, concurrency %d and duration %s",
    						opts.concurrencyStart, opts.duration)
    				}
    
    				// if the default concurrency yields zero results, throw an error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      builder.create<mlir::TF::YieldOp>(if_region.getLoc(),
                                        /*operands=*/ArrayRef<Value>{});
    
      // Create empty else branch region.
      auto& else_branch = host_side_if.getElseBranch();
      else_branch.push_back(new Block);
      builder.setInsertionPointToEnd(&else_branch.front());
      builder.create<mlir::TF::YieldOp>(if_region.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

              decomposed_partitioned_call_callees)))
        return failure();
    
      auto output_buffer_to_size = AddTensorListSizesToTerminator<TF::YieldOp>(
          then_branch.front(), *buffer_to_size);
      AddTensorListSizesToTerminator<TF::YieldOp>(else_branch.front(),
                                                  *buffer_to_size);
    
      if (output_buffer_to_size.empty()) return success();
    
      // Recreate the op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

            sequence {
                analysisSession.useSitePackageProvider.getSubPackageFqNames(fqName, analysisSession.targetPlatform, nameFilter).forEach {
                    yield(analysisSession.firSymbolBuilder.createPackageSymbol(fqName.child(it)))
                }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top