Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 125 for someDir (0.4 sec)

  1. src/internal/singleflight/singleflight_test.go

    	}
    	if err != nil {
    		t.Errorf("Do error = %v", err)
    	}
    }
    
    func TestDoErr(t *testing.T) {
    	var g Group
    	someErr := errors.New("some error")
    	v, err, _ := g.Do("key", func() (any, error) {
    		return nil, someErr
    	})
    	if err != someErr {
    		t.Errorf("Do error = %v; want someErr %v", err, someErr)
    	}
    	if v != nil {
    		t.Errorf("unexpected non-nil value %#v", v)
    	}
    }
    
    func TestDoDupSuppress(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:21:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle

    FileTree tar = tarTree('someFile.tar')
    
    //tar tree attempts to guess the compression based on the file extension
    //however if you must specify the compression explicitly you can:
    FileTree someTar = tarTree(resources.gzip('someTar.ext'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

                if (hasCleaned) {
                    return
                }
                logger.lifecycle("Cleaning up caches...")
                val homeDir = parameters.homeDir.get()
    
                homeDir.asFile.listFiles()?.filter { it.name.startsWith("distributions-") }?.forEach {
                    val workerDir = homeDir.dir(it.name)
                    cleanupDistributionCaches(workerDir, GradleVersion.version(parameters.gradleVersion.get()))
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyIdentityIntegrationTest.groovy

            where:
            settings                     | buildName | dependencyName | display
            ""                           | "buildB"  | "buildB"       | "default root project name"
            "rootProject.name='someLib'" | "buildB"  | "someLib"      | "configured root project name"
        }
    
        @ToBeFixedForConfigurationCache
        def "includes build identifier in task failure error message with #display"() {
            repo.file("settings.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerSmokeTest.groovy

                : checkoutDir.file("tracker/build/intermediates/javac/debug/classes/${pathToClass}.class")
    
            when:
            SantaTrackerConfigurationCacheWorkaround.beforeBuild(checkoutDir, homeDir)
            def result = buildLocation(checkoutDir, agpVersion)
            def md5Before = compiledClassFile.md5Hash
    
            then:
            result.task(":tracker:compileDebugJavaWithJavac").outcome == SUCCESS
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/vcweb.go

    		if err != nil {
    			return nil, err
    		}
    	}
    
    	homeDir := filepath.Join(workDir, "home")
    	if err := os.MkdirAll(homeDir, 0755); err != nil {
    		return nil, err
    	}
    
    	env := scriptEnviron(homeDir)
    
    	s := &Server{
    		env:       env,
    		logger:    logger,
    		scriptDir: scriptDir,
    		workDir:   workDir,
    		homeDir:   homeDir,
    		engine:    newScriptEngine(),
    		vcsHandlers: map[string]vcsHandler{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractAndroidSantaTrackerSmokeTest.groovy

        TestFile homeDir
    
        String kotlinVersion = KOTLIN_VERSIONS.latestStable
    
        def setup() {
            homeDir = temporaryFolder.createDir("test-kit-home")
        }
    
        def cleanup() {
            // The daemons started by test kit need to be killed, so no locked files are left behind.
            DaemonLogsAnalyzer.newAnalyzer(homeDir.file(ToolingApiGradleExecutor.TEST_KIT_DAEMON_DIR_NAME)).killAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildBuildSrcIdentityIntegrationTest.groovy

            where:
            settings                     | rootProjectName | display
            ""                           | "buildSrc"      | "default root project name"
            "rootProject.name='someLib'" | "someLib"       | "configured root project name"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/files/fileTrees/kotlin/build.gradle.kts

    val tar: FileTree = tarTree("someFile.tar")
    
    // tar tree attempts to guess the compression based on the file extension
    // however if you must specify the compression explicitly you can:
    val someTar: FileTree = tarTree(resources.gzip("someTar.ext"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarTest.groovy

        def "configures destinationDirectory for ear tasks"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.version = '1.0'
    
            then:
            def someEar = project.tasks.create('someEar', Ear)
            someEar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    
        private static DeploymentDescriptor makeDeploymentDescriptor(Ear e) {
            e.deploymentDescriptor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 19:58:25 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top