Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for argvBuf (0.07 sec)

  1. src/runtime/os_wasip1.go

    		argv := make([]uintptr32, argc)
    		argvBuf := make([]byte, argvBufLen)
    		if args_get(unsafe.Pointer(&argv[0]), unsafe.Pointer(&argvBuf[0])) != 0 {
    			throw("args_get failed")
    		}
    
    		for i := range argslice {
    			start := argv[i] - uintptr32(uintptr(unsafe.Pointer(&argvBuf[0])))
    			end := start
    			for argvBuf[end] != 0 {
    				end++
    			}
    			argslice[i] = string(argvBuf[start:end])
    		}
    	}
    
    	// environment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. src/math/big/arith_test.go

    		// vector of '0', to force carry flag set in each 'sub'
    		x = makeWordVec(0, n)
    		arg = argVW{z, x, 1, 0}
    		testFunVWext(t, "subVW, vector of zero", subVW, subVW_g, arg)
    	}
    }
    
    type argVU struct {
    	d  []Word // d is a Word slice, the input parameters x and z come from this array.
    	l  uint   // l is the length of the input parameters x and z.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 19.9K bytes
    - Viewed (0)
Back to top