Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,135 for boop (0.18 sec)

  1. src/html/template/js_test.go

    	}
    }
    
    type jsonErrType struct{}
    
    func (e *jsonErrType) MarshalJSON() ([]byte, error) {
    	return nil, errors.New("beep */ boop </script blip <!--")
    }
    
    func TestJSValEscaper(t *testing.T) {
    	tests := []struct {
    		x        any
    		js       string
    		skipNest bool
    	}{
    		{int(42), " 42 ", false},
    		{uint(42), " 42 ", false},
    		{int16(42), " 42 ", false},
    		{uint16(42), " 42 ", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          }
        }
      });
    }
    
    // tf.NoOp islands are used to combine multiple control dependencies into one.
    // These islands have a single tf.NoOp inside them and consume multiple control
    // outputs to generate a single control output.
    //
    // For example,
    // ```
    // %merged_control = "tf_executor.island"(%control_a, %control_b) ({
    //   "tf.NoOp"() : () -> ()
    //   "tf_executor.yield"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    // A forLoop describes a single range-over-func loop being processed.
    type forLoop struct {
    	nfor         *syntax.ForStmt // actual syntax
    	stateVar     *types2.Var     // #state variable for this loop
    	stateVarDecl *syntax.VarDecl
    	depth        int // outermost loop has depth 1, otherwise depth = depth(parent)+1
    
    	checkRet      bool     // add check for "return" after loop
    	checkBreak    bool     // add check for "break" after loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. src/iter/pull_test.go

    func panicSeq() Seq[int] {
    	return func(yield func(int) bool) {
    		panic("boom")
    	}
    }
    
    func panicCleanupSeq() Seq[int] {
    	return func(yield func(int) bool) {
    		for {
    			if !yield(55) {
    				panic("boom")
    			}
    		}
    	}
    }
    
    func TestPull2Panic(t *testing.T) {
    	t.Run("next", func(t *testing.T) {
    		next, stop := Pull2(panicSeq2())
    		if !panicsWith("boom", func() { next() }) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/likelyadjust.go

    package ssa
    
    import (
    	"fmt"
    )
    
    type loop struct {
    	header *Block // The header node of this (reducible) loop
    	outer  *loop  // loop containing this loop
    
    	// By default, children, exits, and depth are not initialized.
    	children []*loop  // loops nested directly within this loop. Initialized by assembleChildren().
    	exits    []*Block // exits records blocks reached by exits from this loop. Initialized by findExits().
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util.cc

      // detection graph, disconnecting each loop from the enclosing graph.
      // Specifically, we:
      // * add a new "frame" node for each loop.
      // * replace edges to "Enter" nodes, and edges from "Exit" nodes with edges
      //   to/from the corresponding frame node. In essence, we collapse the loop
      //   into a single node for the purpose of cycle detection in the enclosing
      //   graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. test/inline.go

    // Issue #14768 - make sure we can inline for loops.
    func for1(fn func() bool) { // ERROR "can inline for1" "fn does not escape"
    	for {
    		if fn() {
    			break
    		} else {
    			continue
    		}
    	}
    }
    
    func for2(fn func() bool) { // ERROR "can inline for2" "fn does not escape"
    Loop:
    	for {
    		if fn() {
    			break Loop
    		} else {
    			continue Loop
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/certificates.go

    	// if only one is specified, it will error later during construction
    	return len(config.KubeletServingSignerConfiguration.CertFile) > 0 || len(config.KubeletServingSignerConfiguration.KeyFile) > 0
    }
    func areKubeletClientSignerFilesSpecified(config csrsigningconfig.CSRSigningControllerConfiguration) bool {
    	// if only one is specified, it will error later during construction
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    		(*ast.File)(nil),
    		(*ast.RangeStmt)(nil),
    		(*ast.ForStmt)(nil),
    	}
    	inspect.Nodes(nodeFilter, func(n ast.Node, push bool) bool {
    		if !push {
    			// inspect.Nodes is slightly suboptimal as we only use push=true.
    			return true
    		}
    		// Find the variables updated by the loop statement.
    		var vars []types.Object
    		addVar := func(expr ast.Expr) {
    			if id, _ := expr.(*ast.Ident); id != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients.cc

      // from outputs_. Keyed by node id.
      std::vector<bool> GetReachableNodes();
    
      // Creates the gradient subgraph for a while loop (or just stores
      // `summed_grads` if not all incoming gradients are available yet). All exit
      // nodes (which are the first nodes of a loop encountered in the backwards
      // pass) are passed to this function rather than processed normally.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top