Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cfunc (0.08 sec)

  1. src/cmd/internal/obj/objfile.go

    	}
    	if s.CFunc() {
    		fmt.Fprintf(ctxt.Bso, "cfunc ")
    	}
    	if s.NoSplit() {
    		fmt.Fprintf(ctxt.Bso, "nosplit ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagTopFrame != 0 {
    		fmt.Fprintf(ctxt.Bso, "topframe ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagAsm != 0 {
    		fmt.Fprintf(ctxt.Bso, "asm ")
    	}
    	fmt.Fprintf(ctxt.Bso, "size=%d", s.Size)
    	if s.Type == objabi.STEXT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    func (a *Attribute) DuplicateOK() bool        { return a.load()&AttrDuplicateOK != 0 }
    func (a *Attribute) MakeTypelink() bool       { return a.load()&AttrMakeTypelink != 0 }
    func (a *Attribute) CFunc() bool              { return a.load()&AttrCFunc != 0 }
    func (a *Attribute) NoSplit() bool            { return a.load()&AttrNoSplit != 0 }
    func (a *Attribute) Leaf() bool               { return a.load()&AttrLeaf != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/obj9.go

    	} else {
    		return
    	}
    	obj.Nopout(p)
    }
    
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	// TODO(minux): add morestack short-cuts with small fixed frame-size.
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt9{ctxt: ctxt, cursym: cursym, newprog: newprog}
    
    	p := c.cursym.Func().Text
    	textstksiz := p.To.Offset
    	if textstksiz == -8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

      switch (value.value_case()) {
        case AttrValue::kFunc: {
          // TODO(b/156546237): Unify kFunc/NameAttrList attribute representation.
          // Currently kFunc/NameAttrList attributes in a kList/repeated AttrValue
          // will not use this representation.
          mlir::NamedAttrList attrs;
          for (const auto& func_attr : value.func().attr()) {
            TF_ASSIGN_OR_RETURN(auto attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top