Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for pc0 (0.13 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/issue53989/p/p.go

    	case 7:
    		y = 49
    	case 8:
    		y = 64
    	default:
    		panic("too large")
    	}
    
    	// check PC is in the same function
    	runtime.Callers(1, pc1[:])
    	if pc1[0] < pc0[0] || pc1[0] > pc0[0]+1000000 {
    		fmt.Printf("jump across DSO boundary. pc0=%x, pc1=%x\n", pc0[0], pc1[0])
    		panic("FAIL")
    	}
    
    	if y != x*x {
    		fmt.Printf("x=%d y=%d!=%d\n", x, y, x*x)
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 826 bytes
    - Viewed (0)
  2. test/assign1.go

    	pb1 = pb0 // ERROR "cannot use|incompatible"
    	pb1 = pb  // ERROR "cannot use|incompatible"
    
    	pc0 = pc  // ERROR "cannot use|incompatible"
    	pc0 = pc1 // ERROR "cannot use|incompatible"
    	pc = pc0  // ERROR "cannot use|incompatible"
    	pc = pc1  // ERROR "cannot use|incompatible"
    	pc1 = pc0 // ERROR "cannot use|incompatible"
    	pc1 = pc  // ERROR "cannot use|incompatible"
    
    	pf0 = pf  // ERROR "cannot use|incompatible"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    	var pc0, pcs ir.Node
    	if base.Flag.Race {
    		pcs = typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINTPTR], int64(ncas)))
    		pc0 = typecheck.Expr(typecheck.NodAddr(ir.NewIndexExpr(base.Pos, pcs, ir.NewInt(base.Pos, 0))))
    	} else {
    		pc0 = typecheck.NodNil()
    	}
    
    	// register cases
    	for _, cas := range cases {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/runtime/select.go

    		copy(orig[nsends:], orig[len(cases)-nrecvs:])
    	}
    
    	order := make([]uint16, 2*(nsends+nrecvs))
    	var pc0 *uintptr
    	if raceenabled {
    		pcs := make([]uintptr, nsends+nrecvs)
    		for i := range pcs {
    			selectsetpc(&pcs[i])
    		}
    		pc0 = &pcs[0]
    	}
    
    	chosen, recvOK := selectgo(&sel[0], &order[0], pc0, nsends, nrecvs, dflt == -1)
    
    	// Translate chosen back to caller's ordering.
    	if chosen < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    		// instead on the g0 stack.
    		throw("cannot trace user goroutine on its own stack")
    	}
    
    	if pc0 == ^uintptr(0) && sp0 == ^uintptr(0) { // Signal to fetch saved values from gp.
    		if gp.syscallsp != 0 {
    			pc0 = gp.syscallpc
    			sp0 = gp.syscallsp
    			if usesLR {
    				lr0 = 0
    			}
    		} else {
    			pc0 = gp.sched.pc
    			sp0 = gp.sched.sp
    			if usesLR {
    				lr0 = gp.sched.lr
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func selectnbsend(hchan chan<- any, elem *any) bool
    func selectnbrecv(elem *any, hchan <-chan any) (bool, bool)
    
    func selectsetpc(pc *uintptr)
    func selectgo(cas0 *byte, order0 *byte, pc0 *uintptr, nsends int, nrecvs int, block bool) (int, bool)
    func block()
    
    func makeslice(typ *byte, len int, cap int) unsafe.Pointer
    func makeslice64(typ *byte, len int64, cap int64) unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

      // CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VH]])
      // CHECK: %[[CLUSTER:.*]] = "tf_device.cluster"()
      %2 = "tf_device.cluster"() ({
        // CHECK: %[[PC0:.*]] = "tf.PartitionedCall"(%[[CONST]], %[[READ]], %[[CONST]])
        // CHECK-SAME: f = @callee_resource_lifted
        %3 = "tf.PartitionedCall"(%1, %0, %1) {f = @callee, config = "", config_proto = "", executor_type = ""}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
Back to top