Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 10485760 (2 sec)

  1. misc/wasm/go_wasip1_wasm_exec

    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    		echo "Unknown Go WASI runtime specified: $GOWASIRUNTIME"
    		exit 1
    		;;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    			s.Sources[src].Places = append(s.Sources[src].Places, StackSlot{i, j})
    		}
    	}
    }
    
    func (s *StackSet) assignColors() {
    	// Assign different color indices to different packages.
    	const numColors = 1048576
    	for i, src := range s.Sources {
    		pkg := packageName(src.FullName)
    		h := sha256.Sum256([]byte(pkg))
    		index := binary.LittleEndian.Uint32(h[:])
    		s.Sources[i].Color = int(index % numColors)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top