Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 94 for relPath (0.26 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

        boolean overlaps ( SmbResourceLocator other ) throws CIFSException;
    
    
        /**
         * Internal: for testing only
         * 
         * @param dr
         * @param reqPath
         * @return resolved unc path
         */
        String handleDFSReferral ( DfsReferralData dr, String reqPath );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/internal/base/path.go

    func ShortPath(path string) string {
    	if rel, err := filepath.Rel(Cwd(), path); err == nil && len(rel) < len(path) {
    		return rel
    	}
    	return path
    }
    
    // RelPaths returns a copy of paths with absolute paths
    // made relative to the current directory if they would be shorter.
    func RelPaths(paths []string) []string {
    	var out []string
    	for _, p := range paths {
    		rel, err := filepath.Rel(Cwd(), p)
    		if err == nil && len(rel) < len(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 19:17:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cmd/import-boss/main.go

    					errs = append(errs, fmt.Errorf("%q %s %q is forbidden by %s", pkg.PkgPath, relate(imp), imp, file.path))
    					decided = true
    					break // no further rules, next file
    				}
    			}
    			if decided {
    				break // no further files, next import
    			}
    		}
    		if matched && !decided {
    			klog.V(5).Infof("%q %s %q did not match any rule", pkg, relate(imp), imp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

                        File realPath = new File(include);
                        try {
                            realPath = realPath.toPath().toRealPath().toFile();
                        } catch (NoSuchFileException ignore) {
                            // resolve the potential symlink, if not found, fallback to do nothing.
                        }
                        builder.add(FileUtils.normalize(realPath));
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modcmd/vendor.go

    		fmt.Fprintf(os.Stderr, "warning: %s imported as both %s and %s; making two copies.\n", realPath, realPath, pkg)
    	}
    
    	copiedFiles := make(map[string]bool)
    	dst := filepath.Join(vdir, pkg)
    	copyDir(dst, src, matchPotentialSourceFile, copiedFiles)
    	if m := modload.PackageModule(realPath); m.Path != "" {
    		copyMetadata(m.Path, realPath, dst, src, copiedFiles)
    	}
    
    	ctx := build.Default
    	ctx.UseAllFiles = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. 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)
Back to top