Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for printpath (0.29 sec)

  1. src/cmd/go/testdata/script/build_overlay.txt

    go build -overlay overlay.json -o print_abspath$GOEXE ./printpath
    exec ./print_abspath$GOEXE
    stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go
    
    go build -overlay overlay.json -o print_trimpath$GOEXE -trimpath ./printpath
    exec ./print_trimpath$GOEXE
    stdout ^m[/\\]printpath[/\\]main.go
    
    go build -overlay overlay.json -o print_trimpath_two_files$GOEXE printpath/main.go printpath/other.go
    exec ./print_trimpath_two_files$GOEXE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K 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. src/os/exec/lp_windows_test.go

    	},
    }
    
    func TestLookPathWindows(t *testing.T) {
    	// Not parallel: uses Chdir and Setenv.
    
    	// We are using the "printpath" command mode to test exec.Command here,
    	// so we won't be calling helperCommand to resolve it.
    	// That may cause it to appear to be unused.
    	maySkipHelperCommand("printpath")
    
    	// Before we begin, find the absolute path to cmd.exe.
    	// In non-short mode, we will use it to check the ground truth
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/options.go

    		return
    	}
    	if len(o.ParentPath) > 0 {
    		o.ParentPath = append(o.ParentPath, ".")
    	}
    	o.ParentPath = append(o.ParentPath, key)
    }
    
    // AppendIndex adds an index to the most recent field of
    // the current parent path, if TrackUnknownFieldPaths is true.
    func (o *UnknownFieldPathOptions) AppendIndex(index int) {
    	if !o.TrackUnknownFieldPaths {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm.go

    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			} else if s.AdditionalProperties != nil {
    				opts.AppendKey(k)
    				prune(v, s.AdditionalProperties.Structural, opts)
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			}
    		}
    	case []interface{}:
    		for i, v := range x {
    			opts.AppendIndex(i)
    			skipPrune(v, s.Items, opts)
    			opts.ParentPath = opts.ParentPath[:origPathLen]
    		}
    	default:
    		// scalars, do nothing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetailsFactory.java

         * @param path Path of the file
         * @param parentPath RelativePath of the parent
         * @param attrs attributes of the path, null if not available
         * @param stopFlag transient flag to stop visiting
         * @param fileSystem for Chmod and Stat
         * @return FileVisitDetails
         */
        public static FileVisitDetails getFileVisitDetails(
            Path path,
            RelativePath parentPath,
            @Nullable BasicFileAttributes attrs,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/print.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    class PrintPass : public impl::PrintPassBase<PrintPass> {
     public:
      explicit PrintPass(raw_ostream* os = nullptr);
      PrintPass(const PrintPass& other);
      void runOnOperation() override;
    
     private:
      llvm::sys::SmartMutex<true> mutex_;
      raw_ostream* os_;
    };
    
    PrintPass::PrintPass(raw_ostream* os) {
      if (os) {
        os_ = os;
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm.go

    					return err
    				}
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			} else if s.AdditionalProperties != nil {
    				opts.AppendKey(k)
    				if err := c.coerce(pth.Key(k), v, s.AdditionalProperties.Structural, opts); err != nil {
    					return err
    				}
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			}
    		}
    	case []interface{}:
    		for i, v := range x {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  9. pkg/filewatcher/filewatcher.go

    	cleanedPath := filepath.Clean(path)
    	parentPath, _ := filepath.Split(cleanedPath)
    
    	ws, workerExists := fw.workers[parentPath]
    	if !workerExists {
    		wk, err := newWorker(parentPath, fw.funcs)
    		if err != nil {
    			return nil, "", "", err
    		}
    
    		ws = &workerState{
    			worker: wk,
    		}
    
    		fw.workers[parentPath] = ws
    	}
    
    	return ws, cleanedPath, parentPath, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceUploader.java

        }
    
        private void ensureParentDirectoryExists(ChannelSftp channel, URI uri) {
            String parentPath = FilenameUtils.getFullPathNoEndSeparator(uri.getPath());
            if (parentPath.equals("/")) {
                return;
            }
            URI parent = uri.resolve(parentPath);
    
            try {
                channel.lstat(parentPath);
                return;
            } catch (com.jcraft.jsch.SftpException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top