Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,175 for createfing (0.35 sec)

  1. src/runtime/mfinal.go

    		}
    	}
    }
    
    func wakefing() *g {
    	if ok := fingStatus.CompareAndSwap(fingCreated|fingWait|fingWake, fingCreated); ok {
    		return fing
    	}
    	return nil
    }
    
    func createfing() {
    	// start the finalizer goroutine exactly once
    	if fingStatus.Load() == fingUninitialized && fingStatus.CompareAndSwap(fingUninitialized, fingCreated) {
    		go runfinq()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            def rootTextFile = rootDir.file("a.txt").createFile()
            def nestedTextFile = rootDir.file("a/b/c.txt").createFile()
            def nestedSiblingTextFile = rootDir.file("a/c/c.txt").createFile()
            def notTextFile = rootDir.file("a/b/c.html").createFile()
            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = tmpDir.createDir("root2").file("a.txt").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	t.testUpdatePropagatesUpdatedObjectError(valid.DeepCopyObject(), createFn, getFn, opts)
    	t.testUpdateIgnoreGenerationUpdates(valid.DeepCopyObject(), createFn, getFn)
    }
    
    // Test deleting an object.
    func (t *Tester) TestDelete(valid runtime.Object, createFn CreateFunc, getFn GetFunc, isNotFoundFn IsErrorFunc) {
    	dryRunOpts := metav1.DeleteOptions{DryRun: []string{metav1.DryRunAll}}
    	opts := metav1.DeleteOptions{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy

            ex.message.contains "Cannot convert a null value to a File or URI."
        }
    
        def createLink(File link, File target) {
            createLink(link, target.absolutePath)
        }
    
        def createLink(File link, String target) {
            new TestFile(link).createLink(target)
        }
    
        def createFile(File file) {
            file.parentFile.mkdirs()
            file.text = 'content'
            file
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            skipped ':producesLink'
    
            when:
            target.createFile()
            run 'producesLink'
            then:
            executedAndNotSkipped ':producesLink'
        }
    
        @Issue('https://github.com/gradle/gradle/issues/1365')
        def "broken symlink not produced by task is ignored"() {
            given:
            def input = file("input.txt").createFile()
            def outputDirectory = file("output")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            f2 << 'content'
        }
    }
    """
        }
    
        def "uses the target of symlink for input file content"() {
            file("in-dir").createDir()
            def inFile = file("other").createFile()
            def link = file("in.txt")
            link.createLink("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            inFile.text = 'new content'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            def rootTextFile = rootDir.file("a.txt").createFile()
            def nestedTextFile = rootDir.file("a/b/c.txt").createFile()
            def notTextFile = rootDir.file("a/b/c.html").createFile()
            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = tmpDir.createDir("root2").file("a.txt").createFile()
            def doesNotExist = rootDir.file("b.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy

        def "gracefully handle when declaring the same path as an input via symlinks"() {
            def actualDir = file("actualDir").createDir()
            file("symlink1").createLink(actualDir)
            file("symlink2").createLink(actualDir)
    
            buildFile << """
                task myTask {
                    def outputFile = file("build/output.txt")
                    inputs.dir("symlink1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

        def "stats a symlink cycle"() {
            def first = tmpDir.file("first")
            def second = tmpDir.file("second")
            def third = tmpDir.file("third")
            first.createLink(second)
            second.createLink(third)
            third.createLink(first)
    
            expect:
            def stat = accessor.stat(first)
            stat.type == FileType.Missing
            stat.lastModified == 0
            stat.length == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/HandleStaleOutputsStepTest.groovy

            "broken symlink owned by but not generated by build" | true      | true         | false             | { it.createLink(it.parentFile.file("missing.txt")) }
            "file not owned by but generated by build"           | false     | false        | true              | { it.createFile() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top