Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dumpparams (0.15 sec)

  1. src/runtime/heapdump.go

    		for j := uintptr(0); j < n; j, p = j+1, p+size {
    			if freemark[j] {
    				freemark[j] = false
    				continue
    			}
    			dumpobj(unsafe.Pointer(p), size, makeheapobjbv(p, size))
    		}
    	}
    }
    
    func dumpparams() {
    	dumpint(tagParams)
    	x := uintptr(1)
    	if *(*byte)(unsafe.Pointer(&x)) == 1 {
    		dumpbool(false) // little-endian ptrs
    	} else {
    		dumpbool(true) // big-endian ptrs
    	}
    	dumpint(goarch.PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

    };
    
    void MoveResourceArgsToEnd(func::FuncOp callee) {
      llvm::DenseMap<BlockArgument, BlockArgument> mapping;
      unsigned num_params = callee.getNumArguments();
      llvm::BitVector removed_params(num_params);
      // Copy the resource-type parameters to the end.
      for (unsigned i = 0; i < num_params; ++i) {
        BlockArgument param = callee.getArgument(i);
        if (mlir::isa<TF::ResourceType>(getElementTypeOrSelf(param.getType()))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                int numParams = originalParameterTypes.length;
                Type[] closurisedParameterTypes = new Type[numParams];
                System.arraycopy(originalParameterTypes, 0, closurisedParameterTypes, 0, numParams);
                closurisedParameterTypes[numParams - 1] = CLOSURE_TYPE;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    func (t *Type) NumRecvs() int   { return len(t.Recvs()) }
    func (t *Type) NumParams() int  { return len(t.Params()) }
    func (t *Type) NumResults() int { return len(t.Results()) }
    
    // IsVariadic reports whether function type t is variadic.
    func (t *Type) IsVariadic() bool {
    	n := t.NumParams()
    	return n > 0 && t.Param(n-1).IsDDD()
    }
    
    // Recv returns the receiver of function type t, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/abi.go

    	// to allocate any stack space). Doing this will require some
    	// extra work in typecheck/walk/ssa, might want to add a new node
    	// OTAILCALL or something to this effect.
    	tailcall := fn.Type().NumResults() == 0 && fn.Type().NumParams() == 0 && fn.Type().NumRecvs() == 0
    	if base.Ctxt.Arch.Name == "ppc64le" && base.Ctxt.Flag_dynlink {
    		// cannot tailcall on PPC64 with dynamic linking, as we need
    		// to restore R2 after call.
    		tailcall = false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    		}
    	}
    }
    
    // emit argument info (locations on stack) for traceback.
    func emitArgInfo(e *ssafn, f *ssa.Func, pp *objw.Progs) {
    	ft := e.curfn.Type()
    	if ft.NumRecvs() == 0 && ft.NumParams() == 0 {
    		return
    	}
    
    	x := EmitArgInfo(e.curfn, f.OwnAux.ABIInfo())
    	x.Set(obj.AttrContentAddressable, true)
    	e.curfn.LSym.Func().ArgInfo = x
    
    	// Emit a funcdata pointing at the arg info data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top