Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,034 for FUNC (0.11 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      void ConvertTFImplements(func::FuncOp func, StringAttr attr);
      void ConvertTFImplementsWithAttributes(func::FuncOp func, FuncAttr attr);
      void ConvertTFAPIImplements(func::FuncOp func, StringAttr attr,
                                  ModuleOp module);
      void runOnOperation() override;
    };
    
    LogicalResult CheckFusableLayerNormalizedLstmCellSimple(
        func::FuncOp lstm_func) {
      for (int i = 0; i < 5; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. 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)
  3. src/go/types/builtins_test.go

    	{"new", `_ = new(int)`, `func(int) *int`},
    	{"new", `type T struct{}; _ = new(T)`, `func(p.T) *p.T`},
    
    	{"panic", `panic(0)`, `func(interface{})`},
    	{"panic", `panic("foo")`, `func(interface{})`},
    
    	{"print", `print()`, `func()`},
    	{"print", `print(0)`, `func(int)`},
    	{"print", `print(1, 2.0, "foo", true)`, `func(int, float64, string, bool)`},
    
    	{"println", `println()`, `func()`},
    	{"println", `println(0)`, `func(int)`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

      %c:2 = func.call @passthru(%vh1) : (!tf_res) -> (!tf_res, !tf_res)
      func.return
    }
    
    // expected-remark@below {{Region #0, Arg #0, ID 1 : 1}}
    func.func @passthru(%arg0: !tf_res) -> (!tf_res, !tf_res) {
      // expected-remark@below {{Result #0, ID 0 : 0}}
      %vx = "tf.VarHandleOp"() {container = "cf", shared_name = "vx"} : () -> !tf_res
      func.return %vx, %arg0 : !tf_res, !tf_res
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  5. src/runtime/os_netbsd.go

    func lwp_kill(tid int32, sig int)
    
    //go:noescape
    func getcontext(ctxt unsafe.Pointer)
    
    //go:noescape
    func lwp_create(ctxt unsafe.Pointer, flags uintptr, lwpid unsafe.Pointer) int32
    
    //go:noescape
    func lwp_park(clockid, flags int32, ts *timespec, unpark int32, hint, unparkhint unsafe.Pointer) int32
    
    //go:noescape
    func lwp_unpark(lwp int32, hint unsafe.Pointer) int32
    
    func lwp_self() int32
    
    func osyield()
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/sync/map_bench_test.go

    	"reflect"
    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    type bench struct {
    	setup func(*testing.B, mapInterface)
    	perG  func(b *testing.B, pb *testing.PB, i int, m mapInterface)
    }
    
    func benchMap(b *testing.B, bench bench) {
    	for _, m := range [...]mapInterface{&DeepCopyMap{}, &RWMutexMap{}, &sync.Map{}} {
    		b.Run(fmt.Sprintf("%T", m), func(b *testing.B) {
    			m = reflect.New(reflect.TypeOf(m).Elem()).Interface().(mapInterface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    func (h *headerV7) name() []byte     { return h[000:][:100] }
    func (h *headerV7) mode() []byte     { return h[100:][:8] }
    func (h *headerV7) uid() []byte      { return h[108:][:8] }
    func (h *headerV7) gid() []byte      { return h[116:][:8] }
    func (h *headerV7) size() []byte     { return h[124:][:12] }
    func (h *headerV7) modTime() []byte  { return h[136:][:12] }
    func (h *headerV7) chksum() []byte   { return h[148:][:8] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/embedding_sequencing.mlir

    module {
      func.func @main() {
        %cst_main = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
        %0 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>)
        return
      }
      func.func private @while_body(%arg0: tensor<i32>) -> (tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 21:27:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. src/text/template/parse/node.go

    // Chained for convenience.
    // TODO: fix one day?
    func (i *IdentifierNode) SetTree(t *Tree) *IdentifierNode {
    	i.tr = t
    	return i
    }
    
    func (i *IdentifierNode) String() string {
    	return i.Ident
    }
    
    func (i *IdentifierNode) writeTo(sb *strings.Builder) {
    	sb.WriteString(i.String())
    }
    
    func (i *IdentifierNode) tree() *Tree {
    	return i.tr
    }
    
    func (i *IdentifierNode) Copy() Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object.go

    		func() { o.object.SetGenerateName(name) },
    	)
    }
    func (o *cachingObject) GetUID() types.UID {
    	o.lock.RLock()
    	defer o.lock.RUnlock()
    	return o.object.GetUID()
    }
    func (o *cachingObject) SetUID(uid types.UID) {
    	o.conditionalSet(
    		func() bool { return o.object.GetUID() == uid },
    		func() { o.object.SetUID(uid) },
    	)
    }
    func (o *cachingObject) GetResourceVersion() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top