Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for argLen (0.18 sec)

  1. src/cmd/compile/internal/ssa/opGen.go

    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:   "FlagGT_UGT",
    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:   "FlagGT_ULT",
    		argLen: 0,
    		reg:    regInfo{},
    	},
    	{
    		name:    "MOVSSconst1",
    		auxType: auxFloat32,
    		argLen:  0,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/zcse.go

    // remove duplicate expressions.
    func zcse(f *Func) {
    	vals := make(map[vkey]*Value)
    
    	for _, b := range f.Blocks {
    		for i := 0; i < len(b.Values); i++ {
    			v := b.Values[i]
    			if opcodeTable[v.Op].argLen == 0 {
    				key := vkey{v.Op, keyFor(v), v.Aux, v.Type}
    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows_test.go

    		t.Skipf("skipping test: GOARCH=%s", runtime.GOARCH)
    	}
    
    	for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
    		arglen := arglen
    		t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
    			t.Parallel()
    			args := make([]string, arglen)
    			rets := make([]string, arglen+1)
    			params := make([]uintptr, arglen)
    			for i := range args {
    				args[i] = fmt.Sprintf("int a%d", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  4. src/cmd/internal/sys/args.go

    //
    // Windows has a limit of 32 KB. To be conservative and not worry about whether
    // that includes spaces or not, just use 30 KB. Darwin's limit is less clear.
    // The OS claims 256KB, but we've seen failures with arglen as small as 50KB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 550 bytes
    - Viewed (0)
  5. src/reflect/makefunc.go

    	// makeFuncImpl contains a stack map for use by the runtime
    	_, _, abid := funcLayout(ftyp, nil)
    
    	impl := &makeFuncImpl{
    		makeFuncCtxt: makeFuncCtxt{
    			fn:      code,
    			stack:   abid.stackPtrs,
    			argLen:  abid.stackCallArgsSize,
    			regPtrs: abid.inRegPtrs,
    		},
    		ftyp: ftyp,
    		fn:   fn,
    	}
    
    	return Value{t, unsafe.Pointer(impl), flag(Func)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/runtime/heapdump.go

    		// conservative - everything might be a pointer
    		for off := child.argoff; off < child.argoff+child.arglen; off += goarch.PtrSize {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(off))
    		}
    	}
    
    	// Dump fields in the local vars section
    	if stkmap == nil {
    		// No locals information, dump everything.
    		for off := child.arglen; off < s.varp-s.sp; off += goarch.PtrSize {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(off))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/syscall/js/js_test.go

    // JavaScript functions.
    // Note: All JavaScript functions return a JavaScript array, which will cause
    // one allocation to be created to track the Value.gcPtr for the Value finalizer.
    var allocTests = []struct {
    	argLen  int // The number of arguments to use for the syscall
    	expected int // The expected number of allocations
    }{
    	// For less than or equal to 16 arguments, we expect 1 alloction:
    	// - makeValue new(ref)
    	{0,  1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. src/runtime/stkframe.go

    }
    
    // reflectMethodValue is a partial duplicate of reflect.makeFuncImpl
    // and reflect.methodValue.
    type reflectMethodValue struct {
    	fn     uintptr
    	stack  *bitvector // ptrmap for both args and results
    	argLen uintptr    // just args
    }
    
    // argBytes returns the argument frame size for a call to frame.fn.
    func (frame *stkframe) argBytes() uintptr {
    	if frame.fn.args != abi.ArgsSizeUnknown {
    		return uintptr(frame.fn.args)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/rulegen.go

    			f := f.(*Func)
    			fmt.Fprintf(w, "func rewrite%s%s%s%s(", f.Kind, n.Arch.name, n.Suffix, f.Suffix)
    			fmt.Fprintf(w, "%c *%s) bool {\n", strings.ToLower(f.Kind)[0], f.Kind)
    			if f.Kind == "Value" && f.ArgLen > 0 {
    				for i := f.ArgLen - 1; i >= 0; i-- {
    					fmt.Fprintf(w, "v_%d := v.Args[%d]\n", i, i)
    				}
    			}
    			for _, n := range f.List {
    				fprint(w, n)
    
    				if rr, ok := n.(*RuleRewrite); ok {
    					k := [3]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/check.go

    		}
    
    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top