Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for Readlink (0.24 sec)

  1. buildscripts/checkdeps.sh

    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    ## Once OSX has the option, below function is good enough.
    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/fixlinks_aarch64.sh

    #
    # Re-direct all links in $1 that are relative to be canonical
    
    BASE="$1"
    find "${BASE}" -type l | \
      while read l ; do
        if [[ "$(readlink "$l")" == \.\./* ]]; then
          CANONICAL="$(readlink "$l")";
          rm "$l";
          ln -s "${CANONICAL}" "$l"
        fi
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 969 bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/os/63703.md

    On Windows, [Readlink] no longer tries to normalize volumes
    to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 280 bytes
    - Viewed (0)
  4. .teamcity/mvnw

        # readlink(1) is not available as standard on Solaris 10.
        readLink=`which readlink`
        if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
          if $darwin ; then
            javaHome="`dirname \"$javaExecutable\"`"
            javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
          else
            javaExecutable="`readlink -f \"$javaExecutable\"`"
          fi
    Shell Script
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    if [[ ${TARGET_OS} ]]; then
        # Target explicitly set
        :
    elif [[ $LOCAL_OS == Linux ]]; then
        TARGET_OS=linux
        readlink_flags="-f"
    elif [[ $LOCAL_OS == Darwin ]]; then
        TARGET_OS=darwin
        readlink_flags=""
    else
        echo "This system's OS, $LOCAL_OS, isn't supported"
        exit 1
    fi
    
    # Build image to use
    TOOLS_REGISTRY_PROVIDER=${TOOLS_REGISTRY_PROVIDER:-gcr.io}
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. misc/wasm/go_js_wasm_exec

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    SOURCE="${BASH_SOURCE[0]}"
    while [ -h "$SOURCE" ]; do
    	DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    	SOURCE="$(readlink "$SOURCE")"
    	[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
    done
    DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    
    # Increase the V8 stack size from the default of 984K
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Feb 02 15:35:28 GMT 2023
    - 603 bytes
    - Viewed (0)
  7. doc/godebug.md

    and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits
    (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set.
    
    Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks)
    to avoid trying to normalize volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. internal/disk/stat_linux.go

    					// Check if there is a parent device:
    					//   e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the
    					//        real device name (nvme0n1) to get its sysfs information
    					parentDevPath, e := os.Readlink("/sys/class/block/" + devName)
    					if e == nil {
    						parentDev := filepath.Base(filepath.Dir(parentDevPath))
    						qst, err = bfs.SysBlockDeviceQueueStats(parentDev)
    					}
    				}
    				if err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. misc/wasm/wasm_exec.js

    			open(path, flags, mode, callback) { callback(enosys()); },
    			read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
    			readdir(path, callback) { callback(enosys()); },
    			readlink(path, callback) { callback(enosys()); },
    			rename(from, to, callback) { callback(enosys()); },
    			rmdir(path, callback) { callback(enosys()); },
    			stat(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  10. configure.py

      """Set GCC_HOST_COMPILER_PATH."""
      default_gcc_host_compiler_path = which('gcc') or ''
      cuda_bin_symlink = '%s/bin/gcc' % environ_cp.get('CUDA_TOOLKIT_PATH')
    
      if os.path.islink(cuda_bin_symlink):
        # os.readlink is only available in linux
        default_gcc_host_compiler_path = os.path.realpath(cuda_bin_symlink)
    
      gcc_host_compiler_path = prompt_loop_or_load_from_env(
          environ_cp,
          var_name='GCC_HOST_COMPILER_PATH',
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top