Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,959 for boop (0.17 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. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      Env* env_;
      OptimizerOptions::GlobalJitLevel global_jit_level_;
      bool cpu_global_jit_;
      const std::string cluster_name_prefix_;
      absl::flat_hash_map<const Cluster*, bool> should_compile_cluster_cache_;
      jit::DeviceInfoCache device_info_cache_;
    
      bool initialized_ = false;
      bool edges_contracted_ = false;
      bool clusters_created_ = false;
    
      std::vector<std::unique_ptr<Cluster>> cluster_storage_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. doc/next/2-language.md

    The "range" clause in a "for-range" loop now accepts iterator functions of the following types
    
    	func(func() bool)
    	func(func(K) bool)
    	func(func(K, V) bool)
    
    as range expressions.
    Calls of the iterator argument function produce the iteration values for the "for-range" loop.
    For details see the [language spec](/ref/spec#For_statements).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadstore_test.go

    	// make sure we don't get into an infinite loop with phi values.
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("start", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("v", OpConstBool, c.config.Types.Bool, 1, nil),
    			Valu("addr", OpAddr, ptrType, 0, nil, "sb"),
    			Goto("loop")),
    		Bloc("loop",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/bytealg/equal_loong64.s

    #include "textflag.h"
    
    #define	REGCTXT	R29
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	BEQ	R4, R5, eq
    	ADDV	R4, R6, R7
    	PCALIGN	$16
    loop:
    	BNE	R4, R7, test
    	MOVV	$1, R4
    	RET
    test:
    	MOVBU	(R4), R9
    	ADDV	$1, R4
    	MOVBU	(R5), R10
    	ADDV	$1, R5
    	BEQ	R9, R10, loop
    
    	MOVB    R0, R4
    	RET
    eq:
    	MOVV	$1, R4
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 875 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/return.go

    		}
    	}
    
    	return false
    }
    
    func hasBreakList(list []syntax.Stmt, label string, implicit bool) bool {
    	for _, s := range list {
    		if hasBreak(s, label, implicit) {
    			return true
    		}
    	}
    	return false
    }
    
    func hasBreakCaseList(list []*syntax.CaseClause, label string, implicit bool) bool {
    	for _, s := range list {
    		if hasBreakList(s.Body, label, implicit) {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top