Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,191 for switchn (0.19 sec)

  1. src/cmd/cgo/internal/test/sigaltstack.go

    static int zero(void) {
    	return 0;
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    func testSigaltstack(t *testing.T) {
    	switch {
    	case runtime.GOOS == "solaris", runtime.GOOS == "illumos", runtime.GOOS == "ios" && runtime.GOARCH == "arm64":
    		t.Skipf("switching signal stack not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	C.changeSignalStack()
    	defer C.restoreSignalStack()
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/while_loop.cc

      std::vector<Output> switch_trues(num_loop_vars);
      std::vector<Output> switch_falses(num_loop_vars);
      for (size_t i = 0; i < num_loop_vars; ++i) {
        auto switch_i = Switch(scope, merge_outputs[i], cond_out);
        switch_trues[i] = switch_i.output_true;
        switch_falses[i] = switch_i.output_false;
      }
      TF_RETURN_IF_ERROR(scope.status());
    
      std::vector<Output> body_outputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. tools/bug-report/pkg/testdata/input/format_txt.log

    2020-06-29T23:37:27.336128Z	info	ccResolverWrapper: sending update to cc: {[{istiod.istio-system.svc:15012  <nil> 0 <nil>}] <nil> <nil>}
    2020-06-29T23:37:27.336149Z	info	ClientConn switching balancer to "pick_first"
    2020-06-29T23:37:27.336155Z	info	Channel switches to new LB policy "pick_first"
    2020-06-29T23:37:27.336189Z	info	Subchannel Connectivity change to CONNECTING
    2020-06-29T23:37:27.336222Z	info	Starting gateway SDS
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/tokens.go

    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    	_Struct      // struct
    	_Switch      // switch
    	_Type        // type
    	_Var         // var
    
    	// empty line comment to exclude it from .String
    	tokenCount //
    )
    
    const (
    	// for BranchStmt
    	Break       = _Break
    	Continue    = _Continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/msan_amd64.s

    	MOVQ	$__msan_memmove(SB), AX
    	JMP	msancall<>(SB)
    
    // Switches SP to g0 stack and calls (AX). Arguments already set.
    TEXT	msancall<>(SB), NOSPLIT, $0-0
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	CMPQ	R14, $0
    	JE	call	// no g; still on a system stack
    
    	MOVQ	g_m(R14), R13
    	// Switch to g0 stack.
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/stmt.go

    		t = n.Tag.Type()
    	}
    
    	var nilonly string
    	if t != nil {
    		switch {
    		case t.IsMap():
    			nilonly = "map"
    		case t.Kind() == types.TFUNC:
    			nilonly = "func"
    		case t.IsSlice():
    			nilonly = "slice"
    
    		case !types.IsComparable(t):
    			if t.IsStruct() {
    				base.ErrorfAt(n.Pos(), errors.InvalidExprSwitch, "cannot switch on %L (struct containing %v cannot be compared)", n.Tag, types.IncomparableField(t).Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  9. test/newinline.go

    }
    
    func switchBreak(x, y int) int { // ERROR "can inline switchBreak"
    	var n int
    	switch x {
    	case 0:
    		n = 1
    	Done:
    		switch y {
    		case 0:
    			n += 10
    			break Done
    		}
    		n = 2
    	}
    	return n
    }
    
    func switchType(x interface{}) int { // ERROR "can inline switchType" "x does not escape"
    	switch x.(type) {
    	case int:
    		return x.(int)
    	default:
    		return 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/stmt.go

    // The result of walkStmt MUST be assigned back to n, e.g.
    //
    //	n.Left = walkStmt(n.Left)
    func walkStmt(n ir.Node) ir.Node {
    	if n == nil {
    		return n
    	}
    
    	ir.SetPos(n)
    
    	walkStmtList(n.Init())
    
    	switch n.Op() {
    	default:
    		if n.Op() == ir.ONAME {
    			n := n.(*ir.Name)
    			base.Errorf("%v is not a top level statement", n.Sym())
    		} else {
    			base.Errorf("%v is not a top level statement", n.Op())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top