Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 76 for callsite (0.46 sec)

  1. src/reflect/value.go

    	}
    
    	isSlice := op == "CallSlice"
    	n := t.NumIn()
    	isVariadic := t.IsVariadic()
    	if isSlice {
    		if !isVariadic {
    			panic("reflect: CallSlice of non-variadic function")
    		}
    		if len(in) < n {
    			panic("reflect: CallSlice with too few input arguments")
    		}
    		if len(in) > n {
    			panic("reflect: CallSlice with too many input arguments")
    		}
    	} else {
    		if isVariadic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (v <type 1>) Bytes () <type 44 [] <type -20>>;
     func (v <type 1>) CanAddr () <type -15>;
     func (v <type 1>) CanSet () <type -15>;
     func (v <type 1>) Call (in <type 45 [] <type 1>>) <type 46 [] <type 1>>;
     func (v <type 1>) CallSlice (in <type 47 [] <type 1>>) <type 48 [] <type 1>>;
     func (v <type 1>) .reflect.call (method <type -16>, in <type 49 [] <type 1>>) <type 50 [] <type 1>>;
     func (v <type 1>) Cap () <type -11>;
     func (v <type 1>) Close ();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/pgen.go

    			continue
    		}
    		if mls != nil && mls.Subsumed(n) {
    			continue
    		}
    		if !n.Used() {
    			fn.DebugInfo.(*ssa.FuncDebug).OptDcl = fn.Dcl[i:]
    			fn.Dcl = fn.Dcl[:i]
    			break
    		}
    		types.CalcSize(n.Type())
    		w := n.Type().Size()
    		if w >= types.MaxWidth || w < 0 {
    			base.Fatalf("bad width")
    		}
    		if w == 0 && lastHasPtr {
    			// Pad between a pointer-containing object and a zero-sized object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

      TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs));
    
      EXPECT_EQ(incompatible_pairs.size(), 0);
    }
    
    TEST(ResourceOperationSafetyAnalysisTest, CallWrite) {
      Scope root = Scope::NewRootScope().ExitOnError();
    
      FunctionDefLibrary flib_def =
          CreateFunctionDefLibWithConstFunction("Const_func");
      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(flib_def));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

            "get-intrinsic": "^1.0.2"
          },
          "funding": {
            "url": "https://github.com/sponsors/ljharb"
          }
        },
        "node_modules/callsites": {
          "version": "3.1.0",
          "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
          "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
          "dev": true,
          "engines": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/typecheck.go

    // exactly. If dostrcmp is 2, it matches names with case folding.
    func Lookdot(n *ir.SelectorExpr, t *types.Type, dostrcmp int) *types.Field {
    	s := n.Sel
    
    	types.CalcSize(t)
    	var f1 *types.Field
    	if t.IsStruct() {
    		f1 = Lookdot1(n, s, t, t.Fields(), dostrcmp)
    	} else if t.IsInterface() {
    		f1 = Lookdot1(n, s, t, t.AllMethods(), dostrcmp)
    	}
    
    	var f2 *types.Field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/value.go

    	nameOff := v.Aux.(*AuxNameOffset)
    	return nameOff.Name, nameOff.Offset
    }
    
    // CanSSA reports whether values of type t can be represented as a Value.
    func CanSSA(t *types.Type) bool {
    	types.CalcSize(t)
    	if t.Size() > int64(4*types.PtrSize) {
    		// 4*Widthptr is an arbitrary constant. We want it
    		// to be at least 3*Widthptr so slices can be registerized.
    		// Too big and we'll introduce too much register pressure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/convert.go

    		t := types.NewArray(types.Types[types.TUINT8], int64(len(sc)))
    		var a ir.Node
    		if n.Esc() == ir.EscNone && len(sc) <= int(ir.MaxImplicitStackVarSize) {
    			a = stackBufAddr(t.NumElem(), t.Elem())
    		} else {
    			types.CalcSize(t)
    			a = ir.NewUnaryExpr(base.Pos, ir.ONEW, nil)
    			a.SetType(types.NewPtr(t))
    			a.SetTypecheck(1)
    			a.MarkNonNil()
    		}
    		p := typecheck.TempAt(base.Pos, ir.CurFunc, t.PtrTo()) // *[n]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/framework_test.go

    // TODO(refactor): This helper function (and other helpers related to claim
    // arrays) could use some cleaning up (most assume an array size of one)-
    // replace with annotateClaim at all callsites. The tests require claimArrays
    // but mostly operate on single claims
    func claimWithAnnotation(name, value string, claims []*v1.PersistentVolumeClaim) []*v1.PersistentVolumeClaim {
    	if claims[0].Annotations == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    	if i != want {
    		t.Errorf("Variadic Method returned %d; want %d", i, want)
    	}
    	i = ValueOf(v.Interface()).CallSlice([]Value{ValueOf(points)})[0].Int()
    	if i != want {
    		t.Errorf("Variadic Method CallSlice returned %d; want %d", i, want)
    	}
    
    	f := v.Interface().(func(...Point) int)
    	i = int64(f(points[0], points[1], points[2]))
    	if i != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top