Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 689 for afunc (0.09 sec)

  1. src/cmd/compile/internal/ir/func.go

    	fn.SetTypecheck(1)
    
    	name.Func = fn
    
    	return fn
    }
    
    func (f *Func) isStmt() {}
    
    func (n *Func) copy() Node                                  { panic(n.no("copy")) }
    func (n *Func) doChildren(do func(Node) bool) bool          { return doNodes(n.Body, do) }
    func (n *Func) editChildren(edit func(Node) Node)           { editNodes(n.Body, edit) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    }
    
    func (f *Func) raw() *_func {
    	return (*_func)(unsafe.Pointer(f))
    }
    
    func (f *Func) funcInfo() funcInfo {
    	return f.raw().funcInfo()
    }
    
    func (f *_func) funcInfo() funcInfo {
    	// Find the module containing fn. fn is located in the pclntable.
    	// The unsafe.Pointer to uintptr conversions and arithmetic
    	// are safe because we are working with module addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    	server, sc := etcd3testing.NewUnsecuredEtcd3TestClientServer(t)
    	t.Cleanup(func() { server.Terminate(t) })
    
    	newFunc := func() runtime.Object { return &corev1.Endpoints{} }
    	newListFunc := func() runtime.Object { return &corev1.EndpointsList{} }
    	sc.Codec = apitesting.TestStorageCodec(codecs, corev1.SchemeGroupVersion)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

            return "{}";
          }
          LOG(WARNING) << "Unimplemented: default value of list-typed attribute.";
          return "/* UNIMPLEMENTED */";
        case AttrValue::kShape:
        case AttrValue::kTensor:
        case AttrValue::kFunc:
        case AttrValue::kPlaceholder:
          LOG(ERROR) << "Unexpected non-primitive attribute value.";
          return "/* ERROR */";
      }
    }
    
    string AttrView::VariableStrLen() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        func.return
      }
      func.func @empty_func() {
        func.return
      }
    }
    
    // -----
    
    // Tests `tf_device.cluster_func` with bad `num_cores_per_replicas` attribute.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_num_cores_per_replica() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

              TF::kClusterOutlinedFunctionNameAttr)) {
        op->removeAttr(TF::kClusterOutlinedFunctionNameAttr);
        func_name = outlined_func_name.str();
      } else {
        func_name = "_func";
      }
    
      func::FuncOp outlined_func =
          func::FuncOp::create(op.getLoc(), func_name, func_type);
    
      // This function is not externally visible and marking it private would allow
      // symbol-dce pass to remove it when it is not referenced anymore.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/nowb.go

    	// the caller to a list of callees.
    	extraCalls map[*ir.Func][]nowritebarrierrecCall
    
    	// curfn is the current function during AST walks.
    	curfn *ir.Func
    }
    
    type nowritebarrierrecCall struct {
    	target *ir.Func // caller or callee
    	lineno src.XPos // line of call
    }
    
    // newNowritebarrierrecChecker creates a nowritebarrierrecChecker. It
    // must be called before walk.
    func newNowritebarrierrecChecker() *nowritebarrierrecChecker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    	}
    }
    
    // usage: defer p.trace(msg)()
    func (p *parser) trace(msg string) func() {
    	p.print(msg + " (")
    	const tab = ". "
    	p.indent = append(p.indent, tab...)
    	return func() {
    		p.indent = p.indent[:len(p.indent)-len(tab)]
    		if x := recover(); x != nil {
    			panic(x) // skip print_trace
    		}
    		p.print(")")
    	}
    }
    
    func (p *parser) print(msg string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	//
    	// funcdata [nfuncdata]uint32
    }
    
    // Pseudo-Func that is returned for PCs that occur in inlined code.
    // A *Func can be either a *_func or a *funcinl, and they are distinguished
    // by the first uintptr.
    //
    // TODO(austin): Can we merge this with inlinedCall?
    type funcinl struct {
    	ones      uint32  // set to ^0 to distinguish from _func
    	entry     uintptr // entry of the real (the "outermost") frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top