Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for searchPath (0.16 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/SearchPath.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Target({ElementType.METHOD, ElementType.FIELD})
    @Retention(RetentionPolicy.RUNTIME)
    @interface SearchPath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 943 bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        def setupSpec() {
            groovyClassLoader = new GroovyClassLoader(getClass().classLoader)
        }
    
        static class TaskWithCustomAnnotation extends DefaultTask {
            @SearchPath
            FileCollection searchPath
        }
    
        @CustomCacheable
        static class TypeWithCustomAnnotation {
        }
    
        def "can use custom annotation handler"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    // the paths in searchPath and their parents. In case the profile contains
    // absolute paths, additional paths may be configured to trim from the source
    // paths in the profile. This effectively turns the path into a relative path
    // searching it using searchPath as usual).
    func openSourceFile(path, searchPath, trim string) (*os.File, error) {
    	path = trimPath(path, trim, searchPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc_util.go

    	// then find destination device path from the link
    	searchPath := byID
    	if strings.Contains(volumeInfo, "-lun-") {
    		searchPath = byPath
    	}
    	fis, err := ioutil.ReadDir(searchPath)
    	if err != nil {
    		return err
    	}
    	for _, fi := range fis {
    		if strings.Contains(fi.Name(), volumeInfo) {
    			devicePath = filepath.Join(searchPath, fi.Name())
    			klog.V(5).Infof("fc: updated devicePath: %s", devicePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProvider.java

    import java.io.File;
    import java.util.List;
    
    public interface CompilerMetaDataProvider<T extends CompilerMetadata> {
    
        SearchResult<T> getCompilerMetaData(List<File> searchPath, Action<? super CompilerExecSpec> configureAction);
    
        CompilerType getCompilerType();
    
        interface CompilerExecSpec {
            CompilerExecSpec environment(String key, String value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    func locateBinaries(p *profile.Profile, s *source, obj plugin.ObjTool, ui plugin.UI) {
    	// Construct search path to examine
    	searchPath := os.Getenv("PPROF_BINARY_PATH")
    	if searchPath == "" {
    		// Use $HOME/pprof/binaries as default directory for local symbolization binaries
    		searchPath = filepath.Join(os.Getenv(homeEnv()), "pprof", "binaries")
    	}
    mapping:
    	for _, m := range p.Mapping {
    		var noVolumeFile string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java

                this.delegate = delegate;
            }
    
            @Override
            public SearchResult<GccMetadata> getCompilerMetaData(List<File> searchPath, Action<? super CompilerExecSpec> configureAction) {
                return delegate.getCompilerMetaData(searchPath, execSpec -> {
                    execSpec.args(compilerProbeArgs);
                    configureAction.execute(execSpec);
                });
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20K bytes
    - Viewed (0)
  8. pkg/credentialprovider/config.go

    }
    
    // ReadDockercfgFile attempts to read a legacy dockercfg file from the given paths.
    // if searchPaths is empty, the default paths are used.
    func ReadDockercfgFile(searchPaths []string) (cfg DockerConfig, err error) {
    	if len(searchPaths) == 0 {
    		searchPaths = DefaultDockercfgPaths()
    	}
    
    	for _, configPath := range searchPaths {
    		absDockerConfigFileLocation, err := filepath.Abs(filepath.Join(configPath, configFileName))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/gccgoinstallation.go

    	if err != nil {
    		return
    	}
    	inst.GccVersion = strings.TrimSpace(string(stdout))
    
    	return
    }
    
    // Return the list of export search paths for this GccgoInstallation.
    func (inst *GccgoInstallation) SearchPaths() (paths []string) {
    	for _, lpath := range inst.LibPaths {
    		spath := filepath.Join(lpath, "go", inst.GccVersion)
    		fi, err := os.Stat(spath)
    		if err != nil || !fi.IsDir() {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. src/go/internal/gccgoimporter/importer.go

    	Inits []PackageInit
    }
    
    // Locate the file from which to read export data.
    // This is intended to replicate the logic in gofrontend.
    func findExportFile(searchpaths []string, pkgpath string) (string, error) {
    	for _, spath := range searchpaths {
    		pkgfullpath := filepath.Join(spath, pkgpath)
    		pkgdir, name := filepath.Split(pkgfullpath)
    
    		for _, filepath := range [...]string{
    			pkgfullpath,
    			pkgfullpath + ".gox",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
Back to top