Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for relPath (0.18 sec)

  1. src/cmd/go/internal/modindex/scan.go

    // encoded representation. It returns ErrNotIndexed if the package can't
    // be indexed.
    func indexPackage(modroot, pkgdir string) []byte {
    	fsys.Trace("indexPackage", pkgdir)
    	p := importRaw(modroot, relPath(pkgdir, modroot))
    	return encodePackageBytes(p)
    }
    
    // rawPackage holds the information from each package that's needed to
    // fill a build.Package once the context is available.
    type rawPackage struct {
    	error string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/dryrun/dryrun.go

    type FileToPrint struct {
    	RealPath  string
    	PrintPath string
    }
    
    // NewFileToPrint makes a new instance of FileToPrint with the specified arguments
    func NewFileToPrint(realPath, printPath string) FileToPrint {
    	return FileToPrint{
    		RealPath:  realPath,
    		PrintPath: printPath,
    	}
    }
    
    // PrintDryRunFile is a helper method around PrintDryRunFiles
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. 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{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. hack/lib/init.sh

          fi
        fi
      )
    }
    
    # This emulates "realpath" which is not available on MacOS X
    # Test:
    # T=/tmp/$$.$RANDOM
    # mkdir $T
    # touch $T/file
    # mkdir $T/dir
    # ln -s $T/file $T/linkfile
    # ln -s $T/dir $T/linkdir
    # function testone() {
    #   X=$(realpath $1 2>&1)
    #   Y=$(kube::realpath $1 2>&1)
    #   if [ "$X" != "$Y" ]; then
    #     echo realpath $1: expected "$X", got "$Y"
    #   fi
    # }
    # testone /
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/validation/validation.go

    			if quantity.Cmp(limitQuantity) != 0 && !v1helper.IsOvercommitAllowed(resourceName) {
    				allErrs = append(allErrs, field.Invalid(reqPath, quantity.String(), fmt.Sprintf("must be equal to %s limit of %s", resourceName, limitQuantity.String())))
    			} else if quantity.Cmp(limitQuantity) > 0 {
    				allErrs = append(allErrs, field.Invalid(reqPath, quantity.String(), fmt.Sprintf("must be less than or equal to %s limit of %s", resourceName, limitQuantity.String())))
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic pthread_sigmask pthread_sigmask ""
    //go:cgo_import_dynamic pthread_threadid_np pthread_threadid_np ""
    //go:cgo_import_dynamic read read ""
    //go:cgo_import_dynamic readlink readlink ""
    //go:cgo_import_dynamic realpath$DARWIN_EXTSN realpath$DARWIN_EXTSN ""
    //go:cgo_import_dynamic rename rename ""
    //go:cgo_import_dynamic sched_yield sched_yield ""
    //go:cgo_import_dynamic setrlimit setrlimit ""
    //go:cgo_import_dynamic sigaction sigaction ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic pthread_sigmask pthread_sigmask ""
    //go:cgo_import_dynamic pthread_threadid_np pthread_threadid_np ""
    //go:cgo_import_dynamic read read ""
    //go:cgo_import_dynamic readlink readlink ""
    //go:cgo_import_dynamic realpath$DARWIN_EXTSN realpath$DARWIN_EXTSN ""
    //go:cgo_import_dynamic rename rename ""
    //go:cgo_import_dynamic sched_yield sched_yield ""
    //go:cgo_import_dynamic setrlimit setrlimit ""
    //go:cgo_import_dynamic sigaction sigaction ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 26 00:33:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. hack/verify-openapi-docs-urls.sh

    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    SPECROOT="${KUBE_ROOT}/api/openapi-spec"
    SPECV3PATH="${SPECROOT}/v3"
    
    _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")"
    mkdir -p "${_tmpdir}"
    trap 'rm -rf ${_tmpdir}' EXIT SIGINT
    trap "echo Aborted; exit;" SIGINT SIGTERM
    
    TMP_URLS="${_tmpdir}/docs_urls.txt"
    touch "${TMP_URLS}"
    
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top