Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for _rmdir (0.18 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    inline int FileNo(FILE* file) { return reinterpret_cast<int>(_fileno(file)); }
    // Stat(), RmDir(), and IsDir() are not needed on Windows CE at this
    // time and thus not defined there.
    # else
    inline int FileNo(FILE* file) { return _fileno(file); }
    inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); }
    inline int RmDir(const char* dir) { return _rmdir(dir); }
    inline bool IsDir(const StatStruct& st) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_volumes.go

    // when this is called, so it effectively does a recursive rmdir instead of
    // RemoveAll to ensure it only removes empty directories and files that were
    // used as mount points, but not content of the mount points.
    func (kl *Kubelet) removeOrphanedPodVolumeDirs(uid types.UID) []error {
    	orphanVolumeErrors := []error{}
    
    	// If there are still volume directories, attempt to rmdir them
    	volumePaths, err := kl.getPodVolumePathListFromDisk(uid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

        doLast {
            File srcDir
    
            // Create a file collection using a closure
            collection = projectDirectory.files { srcDir.listFiles() }
    
            srcDir = projectDirectory.file('src').asFile
            println "Contents of $srcDir.name"
            collection.collect { projectDirectory.asFile.relativePath(it) }.sort().each { println it }
    
            srcDir = projectDirectory.file('src2').asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

        doLast {
            var srcDir: File? = null
    
            val collection = projectDirectory.files({
                srcDir?.listFiles()
            })
    
            srcDir = projectDirectory.file("src").asFile
            println("Contents of ${srcDir.name}")
            collection.map { it.relativeTo(projectDirectory.asFile) }.sorted().forEach { println(it) }
    
            srcDir = projectDirectory.file("src2").asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-monolithic/prebuilt.gradle

                    headers.with {
                        srcDir "prebuilt/lib$it/include"
                        include "**/*.h"
                    }
                    // TODO: Define library locations (and generate something?)
                }
                <% } %>
    
                commonHeaders {
                    headers.with {
                        <% if (overlapWithOutput) { %>
                            srcDir "\$rootDir"
                        <% } else { %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 735 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt

            }
        }
    
        writeAccessorsTo(
            sourceFileFor(className, srcDir),
            sourceCode,
            importsRequiredBy(accessor),
            outputPackage.name
        )
    
        return className
    }
    
    
    private
    fun sourceFileFor(className: InternalName, srcDir: File) =
        srcDir.resolve("${className.value.removeSuffix("Kt")}.kt")
    
    
    private
    fun IO.writeAccessorsBytecodeTo(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter.go

    		// Don't require the source files to be present.
    		if abs, err := filepath.Abs(srcDir); err == nil { // see issue 14282
    			srcDir = abs
    		}
    		var bp *build.Package
    		bp, err = build.Import(path, srcDir, build.FindOnly|build.AllowBinary)
    		if bp.PkgObj == "" {
    			if bp.Goroot && bp.Dir != "" {
    				filename, err = lookupGorootExport(bp.Dir)
    				if err == nil {
    					_, err = os.Stat(filename)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

    sourceSets.each {
        configure(it) {
            resources.srcDir 'src'
            resources.srcDir 'src/resources'
            resources.include "org/gradle/\$name/**"
            java.srcDir 'src'
            java.srcDir 'src/java'
            java.include "org/gradle/\$name/**/*.java"
            groovy.srcDir 'src'
            groovy.srcDir 'src/groovy'
            groovy.include "org/gradle/\$name/**/*.groovy"
            scala.srcDir 'src'
            scala.srcDir 'src/scala'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

    Root project
    ------------------------------------------------------------
    
    Native library 'hello'
    ----------------------
    
    Source sets
        C++ source 'hello:cpp'
            srcDir: src/hello/cpp
    
    Binaries
        Shared library 'hello:sharedLibrary'
            build using task: :helloSharedLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top