Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for rootTask (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

            when:
            buildScript """
                apply from: "fooTask.gradle"
                task check {
                    doLast {
                        assert getTasksByName("foo", false).toList().first().name == "foo"
                    }
                }
            """
    
            file("fooTask.gradle") << """
                model {
                    tasks { create("foo") }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiBuildableEclipseModelFixesCrossVersionSpec.groovy

    '''
            createDirs("api", "impl")
            file('settings.gradle').text = "include 'api', 'impl'"
    
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    
            then:
            def rootTasks = eclipseProject.gradleProject.tasks.collect { it.name }
    
            EclipseProject api = eclipseProject.children.find { it.name == "api" }
            def apiTasks = api.gradleProject.tasks.collect { it.name }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. internal/disk/root_disk.go

    import "runtime"
    
    // IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/"
    func IsRootDisk(diskPath string, rootDisk string) (bool, error) {
    	if runtime.GOOS == "windows" {
    		// On windows this function is not implemented.
    		return false, nil
    	}
    	return SameDisk(diskPath, rootDisk)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    		FSType:    "xfs",
    		RootDisk:  true,
    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

        def "allows @InputFiles of task with no actions to be null"() {
            buildFile << """
                class FooTask extends DefaultTask {
                   @InputFiles
                   FileCollection bar
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run "foo"
    
            then:
            executed ":foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-profile/src/integTest/groovy/org/gradle/profile/ProfilingIntegrationTest.groovy

            file('settings.gradle') << 'include "a", "b", "c"'
            buildFile << '''
    allprojects {
        apply plugin: 'java'
        task fooTask
        task barTask
    }
    '''
            when:
            executer.withArgument("--profile")
            succeeds("build", "fooTask", "-x", "barTask")
    
            then:
            def reportFile = findReport()
            Document document = Jsoup.parse(reportFile, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			shouldError:            true, // fails because the client doesn't trust the proxy
    		},
    		"proxied https (valid hostname + RootCAs) -> https (valid hostname + RootCAs)": {
    			serverFunc:             httpsServerValidHostname(t),
    			proxyServerFunc:        httpsServerValidHostname(t),
    			clientTLS:              &tls.Config{RootCAs: localhostPool},
    			serverConnectionHeader: "Upgrade",
    			serverUpgradeHeader:    "SPDY/3.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  8. internal/http/transports.go

    	dialContext := s.DialContext
    	if dialContext == nil {
    		dialContext = DialContextWithLookupHost(s.LookupHost, NewInternodeDialContext(s.DialTimeout, s.TCPOptions))
    	}
    
    	tlsClientConfig := tls.Config{
    		RootCAs:            s.RootCAs,
    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. pilot/pkg/status/distribution/reporter_test.go

    		// Add each resource to our ledger for tracking history
    		// mark each of our resources as in flight so they are included in the report.
    		r.AddInProgressResource(*res)
    	}
    	firstNoncePrefix := r.ledger.RootHash()
    	connections := []string{
    		"conA", "conB", "conC",
    	}
    	// mark each fake connection as having acked version 1 of all resources
    	for _, con := range connections {
    		r.processEvent(con, "", firstNoncePrefix)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializer.java

            for (int i = 0; i < numberOfRoots; i++) {
                String absolutePath = stringInterner.intern(decoder.readString());
                HashCode rootHash = hashCodeSerializer.read(decoder);
                builder.put(absolutePath, rootHash);
            }
            return builder.build();
        }
    
        @Override
        public void write(Encoder encoder, FileCollectionFingerprint value) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top