Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for RootPath (0.12 sec)

  1. cmd/format-erasure_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.MkdirAll(pathJoin(rootPath, minioMetaBucket), os.FileMode(0o755)); err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/cadvisor_windows.go

    	"k8s.io/kubernetes/pkg/kubelet/winstats"
    )
    
    type cadvisorClient struct {
    	rootPath       string
    	winStatsClient winstats.Client
    }
    
    var _ Interface = new(cadvisorClient)
    
    // New creates a cAdvisor and exports its API on the specified port if port > 0.
    func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/RelativePathParser.java

        private final int rootLength;
        private String currentPath;
        private int sizeOfCommonPrefix;
    
        public RelativePathParser(String rootPath) {
            this.directoryPaths.addLast(rootPath.substring(0, rootPath.length() - 1));
            this.rootLength = rootPath.length();
            this.currentPath = rootPath;
        }
    
        public String getRelativePath() {
            return currentPath.substring(rootLength);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pilot/pkg/config/monitor/file_snapshot_test.go

    }
    
    type testState struct {
    	ConfigFiles map[string][]byte
    	rootPath    string
    }
    
    func (ts *testState) testSetup(t *testing.T) {
    	var err error
    
    	ts.rootPath = t.TempDir()
    
    	for name, content := range ts.ConfigFiles {
    		err = os.WriteFile(filepath.Join(ts.rootPath, name), content, 0o600)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/PathVisitor.java

        private final RelativePath rootPath;
        private final FileSystem fileSystem;
    
        public PathVisitor(Spec<? super FileTreeElement> spec, boolean postfix, FileVisitor visitor, AtomicBoolean stopFlag, RelativePath rootPath, FileSystem fileSystem) {
            this.spec = spec;
            this.postfix = postfix;
            this.visitor = visitor;
            this.stopFlag = stopFlag;
            this.rootPath = rootPath;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cadvisor/cadvisor_linux.go

    	if err != nil {
    		return nil, err
    	}
    
    	if _, err := os.Stat(rootPath); err != nil {
    		if os.IsNotExist(err) {
    			if err := os.MkdirAll(path.Clean(rootPath), 0750); err != nil {
    				return nil, fmt.Errorf("error creating root directory %q: %v", rootPath, err)
    			}
    		} else {
    			return nil, fmt.Errorf("failed to Stat %q: %v", rootPath, err)
    		}
    	}
    
    	return &cadvisorClient{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/DependencyGraphPathResolver.java

            Map<ResolvedGraphComponent, List<ComponentIdentifier>> shortestPaths = new LinkedHashMap<>();
            List<ComponentIdentifier> rootPath = new ArrayList<>();
            rootPath.add(toNode.getOwner().getComponentId());
            shortestPaths.put(toNode.getOwner(), rootPath);
    
            Set<DependencyGraphComponent> directDependees = new LinkedHashSet<>();
            for (DependencyGraphNode node : fromNodes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/DiagnosticClassGenerator.kt

    import org.jetbrains.kotlin.analysis.api.fir.generator.rendererrs.KtDiagnosticClassRenderer
    import java.nio.file.Path
    
    object DiagnosticClassGenerator {
        fun generate(rootPath: Path, diagnosticList: DiagnosticList, packageName: String) {
            val path = getGenerationPath(rootPath.toFile(), packageName)
            KtDiagnosticClassRenderer.render(path.resolve("KtFirDiagnostics.kt"), diagnosticList, packageName, emptySet())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 29 12:00:00 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            }
        }
    
        TestFile pidFile(String rootPath = null) {
            def root = rootPath ? file(rootPath) : testDirectory
            return root.file('build/generated/sources/annotationProcessor/java/main/resources/pid.txt')
        }
    
        static String getDependsOnPidCapturingAnnotationProcessor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/handler.go

    				klog.V(5).Infof("%v: %v %q satisfied by gorestful with webservice %v", d.name, req.Method, path, ws.RootPath())
    				// don't use servemux here because gorestful servemuxes get messed up when removing webservices
    				// TODO fix gorestful, remove TPRs, or stop using gorestful
    				d.goRestfulContainer.Dispatch(w, req)
    				return
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 14 17:10:00 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top