Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for switch3 (0.21 sec)

  1. tensorflow/compiler/jit/deadness_analysis_test.cc

    }
    
    TEST(DeadnessAnalysisTest, AndOfOr) {
      Scope root = Scope::NewRootScope().ExitOnError();
    
      ops::Switch sw_0 = CreateSwitch(root, "0");
      ops::Switch sw_1 = CreateSwitch(root, "1");
      ops::Switch sw_2 = CreateSwitch(root, "2");
      ops::Switch sw_3 = CreateSwitch(root, "3");
    
      ops::Merge m0(root.WithOpName("m0"), {sw_0.output_false, sw_1.output_false});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    		}
    		return p.simpleStmt(lhs, 0)
    	}
    
    	switch p.tok {
    	case _Var:
    		return p.declStmt(p.varDecl)
    
    	case _Const:
    		return p.declStmt(p.constDecl)
    
    	case _Type:
    		return p.declStmt(p.typeDecl)
    	}
    
    	p.clearPragma()
    
    	switch p.tok {
    	case _Lbrace:
    		return p.blockStmt("")
    
    	case _Operator, _Star:
    		switch p.op {
    		case Add, Sub, Mul, And, Xor, Not:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    		fmt.Fprintf(os.Stderr, "go: %v\n", err)
    	} else if ld.Switcher != nil {
    		ld.Switcher.Error(err)
    	} else {
    		base.Error(err)
    	}
    }
    
    // switchIfErrors switches toolchains if a switch is needed.
    func (ld *loader) switchIfErrors(ctx context.Context) {
    	if ld.Switcher != nil {
    		ld.Switcher.Switch(ctx)
    	}
    }
    
    // exitIfErrors switches toolchains if a switch is needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      ops::Switch switch_a(root.WithOpName("switch_a"), value, cond_a);
      ops::Switch switch_b(root.WithOpName("switch_b"), value, cond_b);
    
      Output add_a = ops::Add(root.WithOpName("add_a"), switch_a.output_true,
                              switch_b.output_true);
      Output add_b = ops::Add(root.WithOpName("add_b"), switch_a.output_true,
                              switch_b.output_true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/prove.go

    					old.umax = old.umin
    					if int64(old.umin) >= 0 {
    						old.min, old.max = int64(old.umin), int64(old.umin)
    					}
    				}
    			}
    		}
    		lim := noLimit
    		switch d {
    		case signed:
    			c := w.AuxInt
    			switch r {
    			case lt:
    				lim.max = c - 1
    			case lt | eq:
    				lim.max = c
    			case gt | eq:
    				lim.min = c
    			case gt:
    				lim.min = c + 1
    			case lt | gt:
    				lim = old
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    		}},
    		{`package p9; func _() { switch x := 0; x {} }`, []string{
    			"file:", "func:", "switch:x",
    		}},
    		{`package p10; func _() { switch x := 0; x { case 1: y := x; _ = y; default: }}`, []string{
    			"file:", "func:", "switch:x", "case:y", "case:",
    		}},
    		{`package p11; func _(t interface{}) { switch t.(type) {} }`, []string{
    			"file:", "func:t", "switch:",
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. cmd/bucket-stats_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    				return
    			}
    		case "ReplicaSize":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    		goto Error
    	}
    
    	// check if comparison is defined for operands
    	code = UndefinedOp
    	switch op {
    	case token.EQL, token.NEQ:
    		// spec: "The equality operators == and != apply to operands that are comparable."
    		switch {
    		case x.isNil() || y.isNil():
    			// Comparison against nil requires that the other operand type has nil.
    			typ := x.typ
    			if x.isNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/obj.go

    func markRelocs(p *obj.Prog) {
    	switch p.As {
    	case AMOV, AMOVB, AMOVH, AMOVW, AMOVBU, AMOVHU, AMOVWU, AMOVF, AMOVD:
    		switch {
    		case p.From.Type == obj.TYPE_ADDR && p.To.Type == obj.TYPE_REG:
    			switch p.From.Name {
    			case obj.NAME_EXTERN, obj.NAME_STATIC:
    				p.Mark |= NEED_PCREL_ITYPE_RELOC
    			}
    		case p.From.Type == obj.TYPE_MEM && p.To.Type == obj.TYPE_REG:
    			switch p.From.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    		goto Error
    	}
    
    	// check if comparison is defined for operands
    	code = UndefinedOp
    	switch op {
    	case syntax.Eql, syntax.Neq:
    		// spec: "The equality operators == and != apply to operands that are comparable."
    		switch {
    		case x.isNil() || y.isNil():
    			// Comparison against nil requires that the other operand type has nil.
    			typ := x.typ
    			if x.isNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top