Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,221 for FUNC (0.06 sec)

  1. src/runtime/testdata/testprog/crash.go

    func DoublePanic() {
    	defer func() {
    		panic(P("YYY"))
    	}()
    	panic(P("XXX"))
    }
    
    // Test that panic while panicking discards error message
    // See issue 52257
    type exampleError struct{}
    
    func (e exampleError) Error() string {
    	panic("important multi-line\nerror message")
    }
    
    func ErrorPanic() {
    	panic(exampleError{})
    }
    
    type examplePanicError struct{}
    
    func (e examplePanicError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/decls2/decls2a.go

    type _ struct { m int }
    type _ struct { m int }
    
    func (_ /* ERROR "cannot use _" */) m() {}
    func m(_ /* ERROR "cannot use _" */) {}
    
    // Methods with receiver base type declared in another file.
    func (T3) m1() {}
    func (*T3) m2() {}
    func (x T3) m3() {}
    func (x *T3) f /* ERROR "field and method" */ () {}
    
    // Methods of non-struct type.
    type T4 func()
    
    func (self T4) m() func() { return self }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

      func.return %0 : tensor<2xi32>
    }
    
    // -----
    
    // CHECK-LABEL: listFromTensor
    func.func @listFromTensor(%tensor: tensor<3xi32>, %shape : tensor<?xi32>) -> tensor<!tf_type.variant<tensor<i32>>> {
      %0 = "tf.TensorListFromTensor"(%tensor, %shape) : (tensor<3xi32>, tensor<?xi32>) -> tensor<!tf_type.variant<tensor<i32>>>
      func.return %0 : tensor<!tf_type.variant<tensor<i32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<4xcomplex<f64>>
    }
    
    func.func @f16() -> tensor<4xf16> {
      // CHECK-LABEL: @f16
      // CHECK: value = dense<[1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00]> : tensor<4xf16>
      %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf16> } : () -> tensor<4xf16>
      func.return %0 : tensor<4xf16>
    }
    
    func.func @f32() -> tensor<4xf32> {
      // CHECK-LABEL: @f32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_mips64x.go

    //go:noescape
    func Load(ptr *uint32) uint32
    
    //go:noescape
    func Load8(ptr *uint8) uint8
    
    //go:noescape
    func Load64(ptr *uint64) uint64
    
    // NO go:noescape annotation; *ptr escapes if result escapes (#31525)
    func Loadp(ptr unsafe.Pointer) unsafe.Pointer
    
    //go:noescape
    func LoadAcq(ptr *uint32) uint32
    
    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/reflect/badlinkname.go

    func badlinkname_rtype_AssignableTo(*rtype, Type) bool
    
    //go:linkname badlinkname_rtype_Bits reflect.(*rtype).Bits
    func badlinkname_rtype_Bits(*rtype) int
    
    //go:linkname badlinkname_rtype_ChanDir reflect.(*rtype).ChanDir
    func badlinkname_rtype_ChanDir(*rtype) ChanDir
    
    //go:linkname badlinkname_rtype_Comparable reflect.(*rtype).Comparable
    func badlinkname_rtype_Comparable(*rtype) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_amd64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_arm64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_ppc64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testexithooks/testexithooks.go

    	exithook.Add(exithook.Hook{F: f1})
    	exithook.Add(exithook.Hook{F: f2})
    	// no explicit call to os.Exit
    }
    
    func testGoodExit() {
    	f1 := func() { println("apple") }
    	f2 := func() { println("orange") }
    	exithook.Add(exithook.Hook{F: f1})
    	exithook.Add(exithook.Hook{F: f2})
    	// explicit call to os.Exit
    	os.Exit(0)
    }
    
    func testBadExit() {
    	f1 := func() { println("blog") }
    	f2 := func() { println("blix") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top