Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of about 10,000 for FUNC (0.15 sec)

  1. src/cmd/compile/internal/test/shift_test.go

    		{64, true, 8, false, func(n int64, s uint8) int64 { return n >> s }},
    		{64, false, 8, false, func(n uint64, s uint8) uint64 { return n >> s }},
    
    		{32, true, 64, true, func(n int32, s uint64) int32 { return n << s }},
    		{32, true, 64, false, func(n int32, s uint64) int32 { return n >> s }},
    		{32, false, 64, false, func(n uint32, s uint64) uint32 { return n >> s }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  2. src/runtime/mfinal_test.go

    		{func(x *int) any { return Tintptr(x) }, func(v Tintptr) { finalize(v) }},
    		{func(x *int) any { return Tintptr(x) }, func(v *int) { finalize(v) }},
    		{func(x *int) any { return (*Tint)(x) }, func(v *Tint) { finalize((*int)(v)) }},
    		{func(x *int) any { return (*Tint)(x) }, func(v Tinter) { finalize((*int)(v.(*Tint))) }},
    		// Test case for argument spill slot.
    		// If the spill slot was not counted for the frame size, it will (incorrectly) choose
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/defer_test.go

    	}
    }
    
    func TestIssue43920(t *testing.T) {
    	var steps int
    
    	defer func() {
    		expect(t, 1, recover())
    	}()
    	defer func() {
    		defer func() {
    			defer func() {
    				expect(t, 5, recover())
    			}()
    			defer panic(5)
    			func() {
    				panic(4)
    			}()
    		}()
    		defer func() {
    			expect(t, 3, recover())
    		}()
    		defer panic(3)
    	}()
    	func() {
    		defer step(t, &steps, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/runtime/signal_freebsd_arm64.go

    func (c *sigctxt) r5() uint64  { return c.regs().mc_gpregs.gp_x[5] }
    func (c *sigctxt) r6() uint64  { return c.regs().mc_gpregs.gp_x[6] }
    func (c *sigctxt) r7() uint64  { return c.regs().mc_gpregs.gp_x[7] }
    func (c *sigctxt) r8() uint64  { return c.regs().mc_gpregs.gp_x[8] }
    func (c *sigctxt) r9() uint64  { return c.regs().mc_gpregs.gp_x[9] }
    func (c *sigctxt) r10() uint64 { return c.regs().mc_gpregs.gp_x[10] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_identity_propagation.mlir

    // CHECK-LABEL: func @identity
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    func.func @identity(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT: "tf.Identity"
      %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
      // CHECK: return %[[ARG0]]
      func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @identity_terminator
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Mar 23 23:34:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_darwin_arm64.go

    func socket(domain int, typ int, proto int) (fd int, err error) {
    	r0, _, e1 := rawSyscall(abi.FuncPCABI0(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
    	fd = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_socket_trampoline()
    
    //go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  7. src/runtime/signal_openbsd_riscv64.go

    func (c *sigctxt) t1() uint64  { return uint64(c.regs().sc_t[1]) }
    func (c *sigctxt) t2() uint64  { return uint64(c.regs().sc_t[2]) }
    func (c *sigctxt) s0() uint64  { return uint64(c.regs().sc_s[0]) }
    func (c *sigctxt) s1() uint64  { return uint64(c.regs().sc_s[1]) }
    func (c *sigctxt) a0() uint64  { return uint64(c.regs().sc_a[0]) }
    func (c *sigctxt) a1() uint64  { return uint64(c.regs().sc_a[1]) }
    func (c *sigctxt) a2() uint64  { return uint64(c.regs().sc_a[2]) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_s390x.go

    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Or32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func And64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/gotos.go

    func _() {
    L:
    	if false {
    	} else {
    		goto L
    	}
    }
    
    func _() {
    	goto L /* ERROR "goto L jumps into block" */
    	if true {
    	L:
    	}
    }
    
    func _() {
    	goto L /* ERROR "goto L jumps into block" */
    	if true {
    	L:
    	} else {
    	}
    }
    
    func _() {
    	goto L /* ERROR "goto L jumps into block" */
    	if true {
    	} else {
    	L:
    	}
    }
    
    func _() {
    	if false {
    	L:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    func.func @invalid_island(%arg0: tensor<*xf32>, %ctl: !tf_executor.control) {
      tf_executor.graph {
        "tf_executor.island"() ({
    // expected-error@+1 {{'func.return' op invalid tf_executor.island terminator, yield expected}}
          func.return
        }) : () -> (!tf_executor.control)
      }
      func.return
    }
    
    // -----
    
    // Check that a tf_executor.yield parent is a tf_executor.island.
    func.func @parent_is_island() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
Back to top