Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for realpath (0.37 sec)

  1. docs/debugging/reorder-disks/main.go

    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    			realPath, err := filepath.EvalSymlinks(path)
    			if err != nil {
    				return err
    			}
    			result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/")
    			return nil
    		})
    	if err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    type localDisk struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. ci/official/utilities/setup.sh

    # above the location of this file (setup.sh). We could also use "git rev-parse
    # --show-toplevel", but that wouldn't work for non-git repos (like if someone
    # downloaded TF as a zip archive).
    export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../)
    cd "$TFCI_GIT_DIR"
    
    # "TFCI" may optionally be set to the name of an env-type file with TFCI
    # variables in it, OR may be left empty if the user has already exported the
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  3. ci/official/utilities/setup_macos.sh

    #
    
    # Mac version of Core utilities differ in usage. Since our scripts are written
    # with the GNU style, we need to set GNU utilities to be default on Mac.
    if [[ -n "$(which grealpath)" ]] &&  [[ -n "$(which gstat)" ]]; then
      alias realpath=grealpath
      alias stat=gstat
      # By default, aliases are only expanded in interactive shells, which means
      # that they are not substituted for their corresponding commands in shell
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            buf.append(".jsp");
            return buf.toString();
        }
    
        private boolean existsPage(final String path) {
            final String realPath = LaServletContextUtil.getServletContext().getRealPath(path);
            final File file = new File(realPath);
            return file.isFile();
        }
    
        public String createCacheContent(final Map<String, Object> doc, final String[] queries) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  5. kotlin-js-store/yarn.lock

      dependencies:
        graceful-fs "^4.2.0"
        jsonfile "^4.0.0"
        universalify "^0.1.0"
    
    fs.realpath@^1.0.0:
      version "1.0.0"
      resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
      integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
    
    fsevents@~2.3.2:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      public void testExtensiveWithAbsolutePrefix() throws IOException {
        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      public void testExtensiveWithAbsolutePrefix() throws IOException {
        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  8. Makefile.core.mk

    endif
    
    #-----------------------------------------------------------------------------
    # Global Variables
    #-----------------------------------------------------------------------------
    ISTIO_GO := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
    export ISTIO_GO
    SHELL := /bin/bash -o pipefail
    
    # Version can be defined:
    # (1) in a $VERSION shell variable, which takes precedence; or
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  9. configure.py

                             'Assuming to be a scripting mistake.' %
                             (var_name, n_ask_attempts))
    
      if resolve_symlinks:
        val = os.path.realpath(val)
      environ_cp[var_name] = val
      return val
    
    
    def set_clang_cuda_compiler_path(environ_cp):
      """Set CLANG_CUDA_COMPILER_PATH."""
      default_clang_path = '/usr/lib/llvm-17/bin/clang'
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. cmd/http-tracer.go

    		}
    		if host, port, err := net.SplitHostPort(nodeName); err == nil {
    			if port == "443" || port == "80" {
    				nodeName = host
    			}
    		}
    
    		// Calculate reqPath
    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    			reqPath = r.URL.Path
    		}
    
    		// Calculate function name
    		funcName := tc.FuncName
    		if funcName == "" {
    			funcName = "<unknown>"
    		}
    
    		t := madmin.TraceInfo{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top